Re: [PATCH 1/3] x86/cpufeatures: Add support for cpuid leaf 80000021/EAX (FeatureExt2Eax)

From: Borislav Petkov
Date: Fri Nov 04 2022 - 17:49:09 EST


On Fri, Nov 04, 2022 at 04:36:49PM -0500, Kim Phillips wrote:
> AMD Zen4 processors advertise features in this leaf.
> Add the leaf and its Automatic IBRS feature bit.
>
> Note: New whole leaf (vs a bit) due to propagation via KVM
> later in this series.

No, not a separate leaf - use scattered.c

For an example what to do for KVM, see

https://lore.kernel.org/r/20221103025030.78371-1-jiaxi.chen@xxxxxxxxxxxxxxx

Thx.

--
Regards/Gruss,
Boris.

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