Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 475E7ECAAD5 for ; Fri, 2 Sep 2022 10:29:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc: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=UA4YQ8TWCNe2vi5azwC39Hzztw7h57yB03GAzimW7w4=; b=viCE0jucQdcfuGV9W2iUrw1+/X DeigEp0ZFbpfk5gwZJXvPRSWgtzG1JxNgFMiPAq0xBd2RO+PD5MKSkRxcfQireNfAnHuc1c3fSaKc ozVx9X4brFLFUS+N7V9yc5eSPWkIS9x3AWo8HN2tndrxR7w994VrcZnRBsveXVFrA+axt36ODTx89 6+3zphiOuAes+0zJ2+78ReiWAMMjK5ne7XNQh+3CadQ2iEi9MpVDsp7A6BE64eH7J2Qzoobm83P0t mobxmU3WdYhW2nQi17cXSTMD/Nn8N4ey2Ew8KDkhMn4uhRWBUpLaa5XmJiEqMs1uIH+lJsxo6WRoQ Zurodq1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oU3uh-003Nis-1i; Fri, 02 Sep 2022 10:28:39 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oU3uX-003Nd0-EV for linux-arm-kernel@lists.infradead.org; Fri, 02 Sep 2022 10:28:31 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0C50EB82A4F; Fri, 2 Sep 2022 10:28:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85409C433D6; Fri, 2 Sep 2022 10:28:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662114506; bh=rv70fA+eM+PmEEEwI3yYEMu6mdPQwV65Ig2ZcdlGXUE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=td/slnGXqm1bpmafbnIbRwEj+MsaEljZAF9p9f8a1VP/jyepQ7AbMPNoBVDpPaj24 ViCur5vLm4UZMaODjwRnBWNV9hhMGzh6GCfdicaUeKadP/W+pXxh6/pS8TYqCtzh// Rxj4LYs8qfxSsWhRRXliPCHt6tFbjt6K6dpMSTji7TiRHWC+wYDNYF94Ma5LQ8hYEx KWyzP1RPm9ySdrc+R7xFjcWY9z78cQgJieORMfOYWhLt8E+V3HZb82orS3vgjnVqnw V9bEE0CvNlMFCiz5AwcVcRpGfn0zgP9mPRkudcvELsyOmFoCqMLHTu548UKaLIfBLO uXNM5gcSvLEdw== Date: Fri, 2 Sep 2022 11:28:22 +0100 From: Mark Brown To: D Scott Phillips Cc: linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon , patches@amperecomputing.com Subject: Re: [PATCH v3 1/2] arm64: Handle kernel BTI exceptions Message-ID: References: <20220902001551.2349544-1-scott@os.amperecomputing.com> <20220902001551.2349544-2-scott@os.amperecomputing.com> MIME-Version: 1.0 In-Reply-To: <20220902001551.2349544-2-scott@os.amperecomputing.com> X-Cookie: I doubt, therefore I might be. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220902_032829_671616_93C1A30B X-CRM114-Status: GOOD ( 13.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8636095204425404505==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============8636095204425404505== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xrQ97QT8W/zIV8b4" Content-Disposition: inline --xrQ97QT8W/zIV8b4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 01, 2022 at 05:15:50PM -0700, D Scott Phillips wrote: > Send BTI exceptions to the do_bti handler, killing the current task with > SIGSEGV instead of panicking. This is to allow a later patch to apply a > compiler bug workaround. There's arguments either way here - this is less destructive, but you could say that since these exceptions are supposed to indicate a security issue stopping the whole kernel has some safety advantages, though it does also open up DoS opportunities. I don't have a strong opinion here, I mildly prefer this approach. Reviewed-by: Mark Brown --xrQ97QT8W/zIV8b4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmMR2sUACgkQJNaLcl1U h9CBSgf/YHnR04eLPQ3PZs7cnFlv4WuTIA+TgPIuaYd/7cH1Y1Y5/KjU/EBhOP5p OflmSDv6xzdwQ7Jb5RDayXKFOqyNrprSAbPB2Czpxdx2fQVonHuC5NgI1gv7pLcS zkM+pS3AzZfwCiajQoxGOkYSaMcD6aeCab02lSxXA/cUndqVxYykTS0zq5PTvhx0 QvnuvT1heH9qaOq4iWsy+o+FpuB9oW5jYNzioBXVK19fP4PotLS2L0JCyE8UX+AP BHQ9CH9g0orcB2bzXiC3Bn+mfmjKUVzu4VbygjmomnR5C8rqKZguTFx8SX03kIfw 3iXmcP2uZy4gV7JQ23AOl6CVlfDLYg== =X+7J -----END PGP SIGNATURE----- --xrQ97QT8W/zIV8b4-- --===============8636095204425404505== 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 --===============8636095204425404505==--