From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33A87C433E0 for ; Wed, 17 Jun 2020 09:09:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 062382070A for ; Wed, 17 Jun 2020 09:09:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TDR4d2kX"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="j2cHRRCu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 062382070A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MvjIU1+PW547XYzBFCVqOs9qW4dCM2vubOHk6E4BdQQ=; b=TDR4d2kXNRIm6DTHQl+oY+mYL 3pooUi5FO+37ZqbR5ii2hlTlLHLAGKNIcAXq16a45fJW7vGRLYGMf+HbzVbY3IMiLduoWwXURGnyL zlf9KPGbmIlbdPxJmpu++hwLtFs0shzdobzHATvhulIZNGpHL4MiHH6qONSEeup0qTtxg0xpupyOn JzZCqeapqN8SGWXv12rM79DCCXeRAUOmNNHI7f4lgrlzAHTzPGRnPJ5blFaiATFYN7TQPMbLlHrw/ 4W6EIZZ95dWHCR21iLooKlT8aJtKpwYv6b/6alUBC6sPGFK7H19vczVfUT46TIrBEDn/xcvcinY5I e0UBkcm/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlU4c-0006cJ-Nf; Wed, 17 Jun 2020 09:09:34 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlU4V-0006VZ-84 for linux-arm-kernel@lists.infradead.org; Wed, 17 Jun 2020 09:09:28 +0000 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 72B24207DD; Wed, 17 Jun 2020 09:09:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592384966; bh=ieEhBHn0zjZVdmCJs0hpHz+m0bC8GBa6T/TMMAW6fY0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j2cHRRCuWYs5Awh2tGXZFYvtiwOCqwrzEgAuCfDCL2/TeD1+FU4yiXV/D774EOFwS MWLJOEWozrUHXRnZMUm5yvSyy4FL/TXNT5QdA4X6GmdJf5rBqjjUQ30OtaGVuJRtbA hHlwlV9KmZRXYvEy2+W7SzBYKC/ae0r9Owk+lzQ4= Date: Wed, 17 Jun 2020 10:09:23 +0100 From: Mark Brown To: Will Deacon Subject: Re: [PATCH] arm64: bti: Require clang >= 10.0.1 for in-kernel BTI support Message-ID: <20200617090923.GA4613@sirena.org.uk> References: <20200616183630.2445-1-will@kernel.org> MIME-Version: 1.0 In-Reply-To: <20200616183630.2445-1-will@kernel.org> X-Cookie: This fortune is false. User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200617_020927_341153_F2968A6D X-CRM114-Status: UNSURE ( 7.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tom Stellard , Nick Desaulniers , clang-built-linux@googlegroups.com, Nathan Chancellor , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, Daniel Kiss Content-Type: multipart/mixed; boundary="===============5850433726379895838==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5850433726379895838== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jun 16, 2020 at 07:36:30PM +0100, Will Deacon wrote: > Unfortunately, most versions of clang that support BTI are capable of > miscompiling the kernel when converting a switch statement into a jump > table. As an example, attempting to spawn a KVM guest results in a panic: Reviewed-by: Mark Brown --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl7p3b4ACgkQJNaLcl1U h9BE5wf/as6VaLvXELFzdA6mxgqPgBFParFFa7i/JsgBzdb7hd5Z5q8GeeqMpYJu udyuxtHuSlduMup4htT/qb5XPSOcg3QbNLd2ug/3T/RnYLgCx4kO+yDdy7JVf1Wj ZAiDT+y9texULXRy1ZctkZXD7mpV88tWzhJV/wAPHNK6WxUBQwjhZNWvB3W9dJGe 6gkuFlgPcBTVoMMWUia0hHArQz5KViX43YufS3i3UwCvklxeBZg4v3QAqq/JMntP Orm/xhUxn28HMNVKsdRt5lIDTP07d3PsHzI1YLHfH6LrCbEoUvrl6IDMZJkPKy+I czd7jKX598iWtg+GhKJlpiEWeAV9Iw== =WE9k -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- --===============5850433726379895838== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5850433726379895838==--