Re: [PATCH kernel v2 3/3] x86/sev: Do not handle #VC for DR7 read/write

From: Borislav Petkov
Date: Tue Jan 10 2023 - 15:04:44 EST


On Fri, Dec 09, 2022 at 03:38:04PM +1100, Alexey Kardashevskiy wrote:
> With MSR_AMD64_SEV_DEBUG_SWAP enabled, the VM should not get #VC
> events for DR7 read/write which it rather avoided.
>
> Signed-off-by: Alexey Kardashevskiy <aik@xxxxxxx>
> ---
> Changes:
> v2:
> * use new bit definition
> ---
> arch/x86/include/asm/msr-index.h | 1 +
> tools/arch/x86/include/asm/msr-index.h | 1 +
> arch/x86/kernel/sev.c | 6 ++++++
> 3 files changed, 8 insertions(+)

Reviewed-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette