Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3545494pxk; Mon, 21 Sep 2020 17:22:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkxUxk2W6yOGqQpnNzvsw+esHM2yunPvbrExPXBo0cZJWnSvzop48zN0s6XsjaK/Lrxg7+ X-Received: by 2002:a50:93e2:: with SMTP id o89mr1440622eda.378.1600734162688; Mon, 21 Sep 2020 17:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600734162; cv=none; d=google.com; s=arc-20160816; b=t84ogNZwFagxZRQu7G0XkUcRw2jwteMz2zOl0wJ3X1vX05Swz4NS17kle7FIwzTFbS YpQqR9QxLQxpslBQijLpZVOV+fjQ9U7FKKzALg0Aw+R82ZvlNBnFXiQvijNyIYACfIEk ATfRyC2YvtpPo41TaeLtPe5k6AembU2bwncX1U0f18xX6G74x4NE51cr0e+6wK0GtorM etTPDrTQhsSyfQP5h8/1P2ChNhTCYw13hHSPq8VjgBnhtTgDKrhTdrBa/a369iFc6gKY DpReqVY9r+6U2wKgNdU1PfNFWLvBAidt9S/zr3lxycY3hHGdGrq7Gpn7Jt0QBqzTRCns 4RNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=mIz3oBKcPRjlD3CWsQ2nYSuGCZPE6i8s3UU9+SFXU00=; b=xvQYD1kZ4q/59Rr5n6+7etsRprkFsOp4wimSSeK3rD0O+8/2qlHe+PN/8WlgnHT/k1 ZzdFu71CZnAKBdig9qIW7PKiAEMUuw7y/3eoGPhhC2N36YP0udbfUqd5Hp3HeFJX7+5W IT9QavscOy1e9XQKPSqj+siCLmhBXPe6yqpLmYjQpfZDjarYwxTwX7jGzLADh4hT9p7C 5xmPADFu+uZWSPkrK/Q3RMEVqRI4PmfHxYFgA+Lb24mm7zujVCBNzyJf4jODzf+v1CXW VWMW8PygeEGQAOUphKSnvrBj7jhXmXejfOfRAi5ucBGsZ5k8HVhSuvD6ctgJmFh6wl+K kOeg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d26si8932635ejy.107.2020.09.21.17.22.19; Mon, 21 Sep 2020 17:22:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728674AbgIUWwz (ORCPT + 99 others); Mon, 21 Sep 2020 18:52:55 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:56940 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726913AbgIUWwy (ORCPT ); Mon, 21 Sep 2020 18:52:54 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id D6A341C0B8C; Tue, 22 Sep 2020 00:52:51 +0200 (CEST) Date: Tue, 22 Sep 2020 00:52:51 +0200 From: Pavel Machek To: Dave Hansen Cc: "Yu, Yu-cheng" , Randy Dunlap , x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Peter Zijlstra , "Ravi V. Shankar" , Vedvyas Shanbhogue , Dave Martin , Weijiang Yang Subject: Re: [PATCH v12 1/8] x86/cet/ibt: Add Kconfig option for user-mode Indirect Branch Tracking Message-ID: <20200921225251.GB13299@amd> References: <20200918192312.25978-1-yu-cheng.yu@intel.com> <20200918192312.25978-2-yu-cheng.yu@intel.com> <20200918205933.GB4304@duo.ucw.cz> <019b5e45-b116-7f3d-f1f2-3680afbd676c@intel.com> <20200918214020.GF4304@duo.ucw.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vGgW1X5XWziG23Ko" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vGgW1X5XWziG23Ko Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > +config X86_INTEL_BRANCH_TRACKING_USER > > + prompt "Intel Indirect Branch Tracking for user-mode"=20 >=20 > Take the "Intel " and "INTEL_" out, please. It will only cause us all > pain later if some of our x86 compatriots decide to implement this. Are other x86 manufacturers legally allowed to implement that? > > If the kernel is to be used only on older systems that do not support > > IBT, and the size of the binary is important, you can save 900 KB by > > disabling this feature. > >=20 > > Otherwise, if unsure, say Y. >=20 > 900k seems like a *lot*. Where the heck does that come from? >=20 > Also, comments like that don't age very well. Consider: >=20 > Support for this feature is only known to be present on Intel > processors released in 2020 or later. This feature is also > known to increase kernel text size substantially. >=20 > If unsure, say N. That is much better, thanks. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --vGgW1X5XWziG23Ko Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl9pLsMACgkQMOfwapXb+vJrcACfdEe0RXB3Ob0O3qo7vS+3J9EX tmQAoMBivI2SYhK1uaQoHu+xCvzD3BHu =QpK9 -----END PGP SIGNATURE----- --vGgW1X5XWziG23Ko--