Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1501466pxk; Fri, 18 Sep 2020 14:25:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNPSXtqyMrlFkD0ozaaYp9FTPP00czo/04iUyFkmEw+1R8oi+fPC4ekPeUdJKZX9VEDMrv X-Received: by 2002:a05:6402:1386:: with SMTP id b6mr40658514edv.296.1600464342949; Fri, 18 Sep 2020 14:25:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600464342; cv=none; d=google.com; s=arc-20160816; b=PUCuu6LZ2u1Ia4kPlDx7FTE6R1t7D1kB5wZdQOMU2BzRwotmMsIY6PmF/RQrLsI1GH Qq7HGPrND5JV75nyLT7Uk0V1D36vZjSTVR37lgOF0a6BT8oAGNAKeIEd8jXYaZHyiWMh UbW24n377ITLz+1Tkn6iko8Cq9oe+o3FirMz1q8ZzBwLQ3Zf2oa1B/gq9vfxatQty9YD 55WFoya0mWTthamtgt5KN0Fsj8kvFbyFIjAwJzSvl8+6GLX5C5h/YwAT59TKaFPiMyQ5 Bt1bwegnLymB4gFchL1CcLiusjkaDMlWaO3shDPsI3+jIBggrTzNEgPierBs5EsJrIqR rYDQ== 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=08+XC+VYEqLBjyxeiQFKSwpZIwhQ1LzuHfrKIn843x8=; b=m69YMJxLeq2eLOqIQ47DAgmE1lx1TR8Pe3e5h1p7PCuJWlDHugbPK3ixgvF7tY9J96 SKrcG0/BCqD7uhr9nhEbMX3UuJGQm1WI1l19C5ds/VZnuPHNeL++XEysXX7QUuulSolB 41TSYrDg1AJP6rL+dY5oni1YUN1w8GJbsFUiNUHYskGTaf3zBqL19E4nnyLSDgrwzDTD bi8iYhqlukpmSEl5kQwBMkT3ChZFFfb3auxFZ6leHNPjoucumE+RtO1qoWaj68qdIIP0 O9p+1NnKvbgyQHzD+2hRJa8ORqcE/dbW/hnEEGPRv5LevCC8bpCt275Bs2mkQ6hwfqrv SZPQ== 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 b15si3067375edy.258.2020.09.18.14.25.19; Fri, 18 Sep 2020 14:25: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 S1726366AbgIRVYH (ORCPT + 99 others); Fri, 18 Sep 2020 17:24:07 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:35150 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgIRVYG (ORCPT ); Fri, 18 Sep 2020 17:24:06 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id CE3731C0B78; Fri, 18 Sep 2020 23:24:03 +0200 (CEST) Date: Fri, 18 Sep 2020 23:24:03 +0200 From: Pavel Machek To: "H.J. Lu" Cc: Randy Dunlap , Yu-cheng Yu , the arch/x86 maintainers , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , LKML , "open list:DOCUMENTATION" , Linux-MM , linux-arch , Linux API , Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , 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: <20200918212403.GE4304@duo.ucw.cz> References: <20200918192312.25978-1-yu-cheng.yu@intel.com> <20200918192312.25978-2-yu-cheng.yu@intel.com> <20200918205933.GB4304@duo.ucw.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cPi+lWm09sJ+d57q" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --cPi+lWm09sJ+d57q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > > + help > > > > + Indirect Branch Tracking (IBT) provides protection against > > > > + CALL-/JMP-oriented programming attacks. It is active when > > > > + the kernel has this feature enabled, and the processor and > > > > + the application support it. When this feature is enabled, > > > > + legacy non-IBT applications continue to work, but without > > > > + IBT protection. > > > > + > > > > + If unsure, say y > > > > > > If unsure, say y. > > > > Actually, it would be "If unsure, say Y.", to be consistent with the > > rest of the Kconfig. > > > > But I wonder if Yes by default is good idea. Only very new CPUs will > > support this, right? Are they even available at the market? Should the > > help text say "if your CPU is Whatever Lake or newer, ...." :-) ? > > >=20 > CET enabled kernel runs on all x86-64 processors. All my machines > are running the same CET enabled kernel binary. I believe that. But enabling CET in kernel is useless on Core 2 Duo machine, right? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --cPi+lWm09sJ+d57q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX2UlcwAKCRAw5/Bqldv6 8r0mAJ9JcTHq3hoeh6afJxFoVECsAnMbOACfVq6tEmAU2T5ovnJ0hthFdEAfoN4= =kXk6 -----END PGP SIGNATURE----- --cPi+lWm09sJ+d57q--