Re: [PATCH 2/3] KVM: SVM: Add host support for Enhanced SMT Protection
From: Pratik R. Sampat
Date: Thu Sep 17 2026 - 12:08:06 EST
On 9/16/26 3:56 PM, Borislav Petkov wrote:
> On Mon, Sep 14, 2026 at 04:55:55PM +0000, Pratik R. Sampat wrote:
>> diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h
>> index f70ee74b5f92..4cf477e95c58 100644
>> --- a/arch/x86/include/asm/cpufeatures.h
>> +++ b/arch/x86/include/asm/cpufeatures.h
>> @@ -529,6 +529,7 @@
>> * and purposes if CLEAR_CPU_BUF_VM is set).
>> */
>> #define X86_FEATURE_X2AVIC_EXT (21*32+20) /* AMD SVM x2AVIC support for 4k vCPUs */
>> +#define X86_FEATURE_AMD_ESMTP (21*32+21) /* AMD Enhanced SMT Protection */
>
> For the non-virt bits like this one and in scattered.c:
>
> Acked-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
>
Thanks, Boris!
> And Sashiko has comments:
>
> https://sashiko.dev/#/patchset/cover.1789399214.git.prsampat%40amd.com
>
> Please address them: if valid, fix them, if not, explain why they don't need
> to be fixed.
Ack, will do.
Thanks!
--Pratik