Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754544AbdFWJYZ (ORCPT ); Fri, 23 Jun 2017 05:24:25 -0400 Received: from mail.skyhub.de ([5.9.137.197]:39224 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754055AbdFWJYY (ORCPT ); Fri, 23 Jun 2017 05:24:24 -0400 Date: Fri, 23 Jun 2017 11:24:03 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , Andrew Morton , Mel Gorman , "linux-mm@kvack.org" , Nadav Amit , Rik van Riel , Dave Hansen , Arjan van de Ven , Peter Zijlstra Subject: Re: [PATCH v3 08/11] x86/mm: Disable PCID on 32-bit kernels Message-ID: <20170623092403.qytmaokmhve5b6k4@pd.tnic> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 625 Lines: 18 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 > --- > 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 -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.