Received: by 10.223.185.116 with SMTP id b49csp3799151wrg; Tue, 13 Feb 2018 07:58:03 -0800 (PST) X-Google-Smtp-Source: AH8x225Vj71bwhLWhDhLS9lL/O41pQN5rX1KL65QkzSKnq+Tc7W1N4Sz/I+39Ax6BelAo+yf0K1c X-Received: by 10.98.110.202 with SMTP id j193mr1683716pfc.19.1518537483779; Tue, 13 Feb 2018 07:58:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518537483; cv=none; d=google.com; s=arc-20160816; b=hDU/D7P1OBk5Ep+FL2BqciCwAgFLe5FEANyEjT3t0g7ApO345eVn+geURWXzwY1zyH b4iTeiSn6XmWZP5S8IwujnupYfiaoga6Yd6i6XUnDx9dp3397yR5YvFFIvnMru3rP3V1 X3Z8PF6yd6040yHb9LVWzlPNZbqsGP0OOgBXFJ+416VOLg0gbsiz44iW98yEsHqDOwR2 PTB05bNJgbwsVfDt/9s93I8xsoawXP4gZccngRjeMFOK6hkgxWnD9tt64XRr1274sKol lERCa58cUszyvass5dkp2nbvobcdyzuCPiHquVQ0I3dt4lWdaAczBqFk7QIWMu5JGY4W XYAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=TuwBfnGcQ4RTcAVd5VOLnwiI5QkQj7l/SQ/1tx/onQA=; b=HA6/HxYwlTXocuXy6FUIQg7UCUCF56XJMRxoMa/5is767m3YaS8+n5j2+veNEmPrJ5 Hd1sPZgvKFlHI0HT3YLuJ5OHeURLdSDey2U5bNaDF/M7Swyss6lcCvG5ntpwu13mnwiw 4LMnimLeJ5RQ1kF6brFxtwfad2h876M8U7gKIG5xCc6Vaa1ezL72iS8oOoOQt/XYEaci CEfNQu5LbMTDFn0JmNpSyquagoKGnA6URfNjmHbnyUCZabxy71ckIJpitSQ8oAZ5W+Qm +6SEDGqVNdza9Omc07zdnXRssutjAnpk3Z0U+iA/X1OnHgFyA1EDREUwboKB/P6W5aEi tdeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si6704996pgq.565.2018.02.13.07.57.49; Tue, 13 Feb 2018 07:58:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934462AbeBMP4T (ORCPT + 99 others); Tue, 13 Feb 2018 10:56:19 -0500 Received: from mga18.intel.com ([134.134.136.126]:35211 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933440AbeBMP4R (ORCPT ); Tue, 13 Feb 2018 10:56:17 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Feb 2018 07:56:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,507,1511856000"; d="scan'208";a="200832115" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.35]) by orsmga005.jf.intel.com with ESMTP; 13 Feb 2018 07:56:16 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id 3218D300FA1; Tue, 13 Feb 2018 07:56:03 -0800 (PST) Date: Tue, 13 Feb 2018 07:56:03 -0800 From: Andi Kleen To: Arjan van de Ven Cc: Greg Kroah-Hartman , Nick Lowe , linux-kernel@vger.kernel.org, stable@vger.kernel.org, David Woodhouse , Thomas Gleixner , Borislav Petkov , Dave Hansen , gnomes@lxorguk.ukuu.org.uk, ashok.raj@intel.com, karahmed@amazon.de, torvalds@linux-foundation.org, peterz@infradead.org, Borislav Petkov , pbonzini@redhat.com, tim.c.chen@linux.intel.com Subject: Re: [PATCH 4.9 43/92] x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown Message-ID: <20180213155603.GK10945@tassilo.jf.intel.com> References: <20180209133931.211869118@linuxfoundation.org> <20180209133934.259299920@linuxfoundation.org> <20180213150007.GJ26982@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 13, 2018 at 07:09:44AM -0800, Arjan van de Ven wrote: > > > > So, any hints on what you think should be the correct fix here? > > the patch sure looks correct to me, it now has a nice table for CPU IDs > including all of AMD (and soon hopefully the existing Intel ones that are not exposed to meltdown) I don't think the table is nice, it's a white list that would need to be maintained forever. -Andi