On Tue, Jun 20, 2017 at 10:22:14PM -0700, Andy Lutomirski wrote: > 32-bit kernels on new hardware will see PCID in CPUID, but PCID can > only be used in 64-bit mode. Rather than making all PCID code > conditional, just disable the feature on 32-bit builds. > > Signed-off-by: Andy Lutomirski <[email protected]> > --- > arch/x86/include/asm/disabled-features.h | 4 +++- > arch/x86/kernel/cpu/bugs.c | 8 ++++++++ > 2 files changed, 11 insertions(+), 1 deletion(-)
Reviewed-by: Borislav Petkov <[email protected]> -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

