Received: by 10.223.176.5 with SMTP id f5csp1032790wra; Fri, 9 Feb 2018 11:13:41 -0800 (PST) X-Google-Smtp-Source: AH8x224gQOIQzWwX7plnJ6dwAvsTW25WkvLHX+fN0hkG+uI5gRwT8RwFT2z1j4sWjKp54wBomdFO X-Received: by 10.99.39.1 with SMTP id n1mr3107744pgn.155.1518203621505; Fri, 09 Feb 2018 11:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518203621; cv=none; d=google.com; s=arc-20160816; b=XdBoKwR+wzT+5xL+oKF7msH/pA1CT77LG2ceJ1/v6Ad36evGe+wCWI15gFwpB2YsY0 7aREdlzRDNCo7wfb3dVU7+ByOQgjds4jRGdOIqH6xAoerSGpVRKWmRK9FQh+ZgMkcRnY DbWX6ofeBnjaE4U/D97wEvZuv/Ymto8yxjuLrd/iy0c01n4Gst6DHTq2ixL9V0GzGSG/ flkFvorDxHttPl/MxXhOr7EOiHNepv+3uBvCdUd3PIgojVMpR4fpNPWrc1yTYbZ8WtAX NH0dHylHMW9UB/IQdP2dZiQ6UBLdEb99uUYBHdzsw+lFpiqdx88bwgvxMS6e2ajxgNxS BSXg== 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=azXwY9RyUaYbmWKfznHnQqfQN1l/6t1fxID1wxI4DpM=; b=EgK0Xv5LKKLOCQPphSLStitRvTCzTniryNtsE7cPm7Mu5qSDpD+JCibfLbiNiyzv6y KhqmxE2TkU8U0PHnSMJoN2aQzDcP7gGwwSK7FNzBjxrS3Vo1BOi7R1v3vuG13mzZM0HX AaD3IkaT+yadxmBeMr4VHKF40e9QGmdSXjFNAPKmaGHqUjWaBdEDXoNe/qcuLhJnQq1t Ez927wAaD/Fflf63bidB2miVo1Ma/YhyK2UB9bDCbPrjXdnQJ0VR6/Z10TsqC7NNAe4c MhY4i7FGj8nKp7/UIBll6Gl65ACJTJ7PTZaEghfYA13u7RXWnWWN7FcgPOkwBpuwv0Vb INxw== 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 w62si1650908pgd.573.2018.02.09.11.13.27; Fri, 09 Feb 2018 11:13:41 -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 S1752521AbeBITLP (ORCPT + 99 others); Fri, 9 Feb 2018 14:11:15 -0500 Received: from mx2.suse.de ([195.135.220.15]:54197 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752485AbeBITLO (ORCPT ); Fri, 9 Feb 2018 14:11:14 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 15764AD27; Fri, 9 Feb 2018 19:11:13 +0000 (UTC) Date: Fri, 9 Feb 2018 20:11:12 +0100 From: Joerg Roedel To: 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 , Pavel Machek Subject: Re: [PATCH 00/31 v2] PTI support for x86_32 Message-ID: <20180209191112.55zyjf4njum75brd@suse.de> References: <1518168340-9392-1-git-send-email-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, On Fri, Feb 09, 2018 at 05:47:43PM +0000, Andy Lutomirski wrote: > One thing worth noting is that performance of this whole series is > going to be abysmal due to the complete lack of 32-bit PCID. Maybe > any kernel built with this option set that runs on a CPU that has the > 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." Thanks for your review. I can add this warning, but I just hope that not a lot of people will actually see it :) Joerg