Received: by 10.223.176.5 with SMTP id f5csp1152616wra; Fri, 9 Feb 2018 13:29:36 -0800 (PST) X-Google-Smtp-Source: AH8x2240t85kMXiZxEBkN/fXcdUVdg30ll75ekrGXeRT+sNVzSfAv8g2/opklswct5R7pGxdkG7J X-Received: by 10.99.37.193 with SMTP id l184mr3519856pgl.30.1518211776585; Fri, 09 Feb 2018 13:29:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518211776; cv=none; d=google.com; s=arc-20160816; b=Z/Zelm1oY+2l5veyABDamGLnZ4D5y5JnZKtUGQWPtajFyctjROxtNsX1wS1Dq6bZqo RudHesnRVvpUP23nBMl0OTuutA5m0ARcJw/9HrUMivt5PoAfqwLX5PbuWMzHVtOVipbf 8Rmi3lxZQ0xjcA0fDVInt2kQNVUee0Ovbmlhk7X22KhMBKJJKRZFElk/d9ndJQwAjGSH ySGGmkJ2lrNgx+635eG1FzVobPTeu7mVtIVi+LviXCpcXb8+iov+bLBE21ZOSHxBVvKg 9qK8sBj1aJ5v4CLJ+JVwiv1l2bA/iH1eu0w6IJpCF6CAjZhoz8vwdQC0HHf4wcjWrHC4 pAKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=ajg1E7vi4ULo4GX98hQJSJgodv/4iaVvuJgVjc5m9DY=; b=Xhcl2YNhE56OZVAZ3oViAHgTsh9gXIuQ/d9CAgduLLrUTNGdt/hEQ4tmt9GPhOlFs2 CXxtPU1IzkYeaMWAXPxfqsN/JsvtiJO9Zr3X3iyKBp0ngre6E2K3SVYtn4W8IM+GD94D I2o9F0oC3jDNqPtxCCDxguRnBclHFBavA2D5Vdb60zhWAHo797OhVbiodRmbPJ5IEwy5 P6mo0iNWkpTFSEC+NHkKYtwVsWN/geoO27TUdtEVwZlOckLi03Sy6aejkyA4g+oIibes +E1IG3ojY5bYUQyx1syeDbFCQd/DSdOM0QkzELD7s3oXtNjPkIJlRDCnqF8NC1uYtgOq e9MA== 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 b15-v6si1085006plm.172.2018.02.09.13.29.22; Fri, 09 Feb 2018 13:29:36 -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 S1752892AbeBIV2m (ORCPT + 99 others); Fri, 9 Feb 2018 16:28:42 -0500 Received: from ppsw-30.csi.cam.ac.uk ([131.111.8.130]:48886 "EHLO ppsw-30.csi.cam.ac.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750993AbeBIV2k (ORCPT ); Fri, 9 Feb 2018 16:28:40 -0500 X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus Received: from 88-111-108-209.dynamic.dsl.as9105.com ([88.111.108.209]:49385 helo=[192.168.1.6]) by ppsw-30.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (PLAIN:amc96) (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1ekGDI-000LWq-d0 (Exim 4.89_1) (return-path ); Fri, 09 Feb 2018 21:28:08 +0000 Subject: Re: [PATCH 00/31 v2] PTI support for x86_32 To: Pavel Machek , Andy Lutomirski Cc: Joerg Roedel , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , X86 ML , LKML , Linux-MM , Linus Torvalds , Dave Hansen , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Andrea Arcangeli , Waiman Long , Joerg Roedel References: <1518168340-9392-1-git-send-email-joro@8bytes.org> <20180209210918.GA7333@amd> From: Andrew Cooper Message-ID: Date: Fri, 9 Feb 2018 21:28:08 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180209210918.GA7333@amd> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/02/2018 21:09, Pavel Machek wrote: > On Fri 2018-02-09 17:47:43, Andy Lutomirski wrote: >> PCID bit set in CPUID should print a big fat warning like "WARNING: >> you are using 32-bit PTI on a 64-bit PCID-capable CPU. Your >> performance will increase dramatically if you switch to a 64-bit >> kernel." > Hardware supports PCID even on 32-bit kernels, no? Attempting to set CR4.PCIDE is disallowed outside of long mode.? It is strictly a 64bit-only feature. ~Andrew