Re: [PART1 RFC 6/9] svm: Add interrupt injection via AVIC

From: Suravee Suthikulpanit
Date: Fri Feb 12 2016 - 10:55:18 EST


Hi,

On 02/12/2016 09:16 PM, Borislav Petkov wrote:
diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h
>index b05402e..605b869 100644
>--- a/arch/x86/include/asm/msr-index.h
>+++ b/arch/x86/include/asm/msr-index.h
>@@ -284,6 +284,7 @@
> #define MSR_AMD64_TSC_RATIO 0xc0000104
> #define MSR_AMD64_NB_CFG 0xc001001f
> #define MSR_AMD64_PATCH_LOADER 0xc0010020
>+#define MSR_AMD64_AVIC_DOORBELL 0xc001011b
AFAICT, that MSR is being used only in arch/x86/kvm/lapic.c

Please add it there.

Do you mean in the arch/x86/kvm/svm.c? If so, sure, I'll only put it there.

Suravee