svm.c (9ddb236f13594b34a12dacf69a5adca7a1aef35e) svm.c (00089c048eb4a8250325efb32a2724fd0da68cce)
1#define pr_fmt(fmt) "SVM: " fmt
2
3#include <linux/kvm_host.h>
4
5#include "irq.h"
6#include "mmu.h"
7#include "kvm_cache_regs.h"
8#include "x86.h"

--- 5 unchanged lines hidden (view full) ---

14#include <linux/kernel.h>
15#include <linux/vmalloc.h>
16#include <linux/highmem.h>
17#include <linux/amd-iommu.h>
18#include <linux/sched.h>
19#include <linux/trace_events.h>
20#include <linux/slab.h>
21#include <linux/hashtable.h>
1#define pr_fmt(fmt) "SVM: " fmt
2
3#include <linux/kvm_host.h>
4
5#include "irq.h"
6#include "mmu.h"
7#include "kvm_cache_regs.h"
8#include "x86.h"

--- 5 unchanged lines hidden (view full) ---

14#include <linux/kernel.h>
15#include <linux/vmalloc.h>
16#include <linux/highmem.h>
17#include <linux/amd-iommu.h>
18#include <linux/sched.h>
19#include <linux/trace_events.h>
20#include <linux/slab.h>
21#include <linux/hashtable.h>
22#include <linux/frame.h>
22#include <linux/objtool.h>
23#include <linux/psp-sev.h>
24#include <linux/file.h>
25#include <linux/pagemap.h>
26#include <linux/swap.h>
27#include <linux/rwsem.h>
28
29#include <asm/apic.h>
30#include <asm/perf_event.h>

--- 2632 unchanged lines hidden (view full) ---

2663 return 1;
2664
2665 svm->msr_decfg = data;
2666 break;
2667 }
2668 case MSR_IA32_APICBASE:
2669 if (kvm_vcpu_apicv_active(vcpu))
2670 avic_update_vapic_bar(to_svm(vcpu), data);
23#include <linux/psp-sev.h>
24#include <linux/file.h>
25#include <linux/pagemap.h>
26#include <linux/swap.h>
27#include <linux/rwsem.h>
28
29#include <asm/apic.h>
30#include <asm/perf_event.h>

--- 2632 unchanged lines hidden (view full) ---

2663 return 1;
2664
2665 svm->msr_decfg = data;
2666 break;
2667 }
2668 case MSR_IA32_APICBASE:
2669 if (kvm_vcpu_apicv_active(vcpu))
2670 avic_update_vapic_bar(to_svm(vcpu), data);
2671 /* Fall through */
2671 fallthrough;
2672 default:
2673 return kvm_set_msr_common(vcpu, msr);
2674 }
2675 return 0;
2676}
2677
2678static int wrmsr_interception(struct vcpu_svm *svm)
2679{

--- 1498 unchanged lines hidden ---
2672 default:
2673 return kvm_set_msr_common(vcpu, msr);
2674 }
2675 return 0;
2676}
2677
2678static int wrmsr_interception(struct vcpu_svm *svm)
2679{

--- 1498 unchanged lines hidden ---