Received: by 10.223.185.116 with SMTP id b49csp2398783wrg; Mon, 12 Feb 2018 08:57:19 -0800 (PST) X-Google-Smtp-Source: AH8x226oAxjrNtKeJ1jGz2KZDz9DNFtJeTKIYtZ4yFSgBZR6XGIXwp1lelFxuKr5dNNFQmoZmeLz X-Received: by 10.99.64.134 with SMTP id n128mr9843793pga.203.1518454639749; Mon, 12 Feb 2018 08:57:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518454639; cv=none; d=google.com; s=arc-20160816; b=Dr92rNDdwpPWij7JaLfBh3odWHpkDG0Vln1wJVuyGIP4AoZiRvB9TkG4Jov5V4iVBt Ct/co9st1tBJSG7O0rcdSKPWPcAittkBWTeQb/TexOSbbtrtqdpJsz6AZDCwa7MLwvHv qGkI2yLKgOQHkhZlDaqVQn7lOcJLAvqDuCj8TOJ1YUkbxbhRz5xZpOncdpDc4yESzwSE QKOqowQa7TpamrXXxhaswP3xQmhmw2GUhcuwzRFwfhew8YY6XPPIbKKthU03QR4/I8l2 uBpOahhFp3S94UKmq6Fg+P4myOMkC758UXug+7m3J8zT9kXK570Xl4QsMSQMbAasZoch BQ/Q== 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=sQdBVY7HVv+7uev5B8mduUJK3EKi5VyPGGuWbRrjmno=; b=TLZg36UD/VFh4T6q6D/4hkR+roTT4UsBTYzE1jy96UIJFSVR0kbf1xZVuSOvK8iRS+ iNVRn38yjQ4SSR3bcER5gbo4fbiwwcvVOcx9vtf51RouFF1TqzpJhosGUkpp43rfWb/s 3bj+FywAmIkFl1i49A6U8K+1ulPJYcLuD7Z1RIRW9DlF9ZTO8GEX56nEjOiV1djzTzrW VIHdQsfqDj/uHkkCsoXWs56YN45eKIeRtPJPxWcAhdRaaxOhQtT5iD5bFZype++0YFjM SWVtDhhllUEFGbCtzkeD3JMFh0S8vY2u7ZKfjbo1sKBAE27cNZUEz0/KTcgatku3rY5g 3dzA== 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 d72si94673pfe.328.2018.02.12.08.57.05; Mon, 12 Feb 2018 08:57:19 -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 S1753311AbeBLP0d (ORCPT + 99 others); Mon, 12 Feb 2018 10:26:33 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:43104 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752604AbeBLP0b (ORCPT ); Mon, 12 Feb 2018 10:26:31 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 6CFD880165; Mon, 12 Feb 2018 16:26:30 +0100 (CET) Date: Mon, 12 Feb 2018 16:26:30 +0100 From: Pavel Machek To: Tom Lendacky Cc: x86@kernel.org, Dave Hansen , linux-kernel@vger.kernel.org, Ingo Molnar , Andy Lutomirski , "H. Peter Anvin" , Thomas Gleixner , Borislav Petkov Subject: Re: [PATCH] x86/cpu, x86/pti: Do not enable PTI on AMD processors Message-ID: <20180212152630.GD13962@amd> References: <20171227054354.20369.94587.stgit@tlendack-t1.amdoffice.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cHMo6Wbp1wrKhbfi" Content-Disposition: inline In-Reply-To: <20171227054354.20369.94587.stgit@tlendack-t1.amdoffice.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --cHMo6Wbp1wrKhbfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2017-12-26 23:43:54, Tom Lendacky wrote: > AMD processors are not subject to the types of attacks that the kernel > page table isolation feature protects against. The AMD microarchitecture > does not allow memory references, including speculative references, that > access higher privileged data when running in a lesser privileged mode > when that access would result in a page fault. >=20 > Disable page table isolation by default on AMD processors by not setting > the X86_BUG_CPU_INSECURE feature, which controls whether X86_FEATURE_PTI > is set. PTI was originally meant to protect KASLR from memory leaks, before Spectre was public. I guess that's still valid use on AMD cpus? Pavel =09 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --cHMo6Wbp1wrKhbfi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlqBsiYACgkQMOfwapXb+vI0CgCfVrZd5vC5OX/hitH4ItrbOUMC ZusAn0aXDXi+ymU4jXez0o+WoLC+1sJ4 =mMm8 -----END PGP SIGNATURE----- --cHMo6Wbp1wrKhbfi--