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

From: Sean Christopherson
Date: Wed Dec 07 2022 - 14:07:52 EST


On Wed, Dec 07, 2022, Borislav Petkov wrote:
> On Thu, Dec 01, 2022 at 05:38:33PM +0000, Sean Christopherson wrote:
> > Probably high time to add a helper/macro to convert the SEV_STATUS to
> > the SEV_FEATURES field.
>
> Nah, there's a couple of
>
> MSR_AMD64_SEV*
>
> defines in arch/x86/include/asm/msr-index.h.
>
> Bit 5 should simply be added there.

Ah, yeah, that's much better.