Re: [PATCH v3 08/11] x86/mm: Disable PCID on 32-bit kernels

From: Borislav Petkov
Date: Fri Jun 23 2017 - 05:24:28 EST


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 <luto@xxxxxxxxxx>
> ---
> 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 <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.