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 B5C8FC54EE9 for ; Tue, 13 Sep 2022 11:49:38 +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=zldDWdBkkuP3l9iknWZdZrzEYTRM4ViRGKM1T5zY30k=; b=JZN0N8Aj0FpB98mBFHcIW4ygoX Q5Jf8h/KYjY0YJQ8XE6KXIk8n/p6T2vxPdX1AAi+/6gpntjAE7TPHv2CODpIajHgZL0d7hkF4Mkk8 JolAJzx2058T+hw45elSjvwuXOS6IDS4ZEoPJHDZqSbjZzBu9KPMgdN0edeFcfYsJ8pboJS0gYaJB Rznqw+T6kyZMFdNIl3JRh3cjr3EH66ojxYNjfvYB4rE02PI++t87W0yUzS2I43xURkwPWTkAlbxc/ SswEFa/IDsodxFdEdfGCUSyYvF/zIMZUBXMvT8QIGsNyGutL/dgr4A8V3mfoUiW3E2lcpMGTN6vYw 1gUKnKdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY4P6-009IEf-G0; Tue, 13 Sep 2022 11:48:36 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY4P3-009HiB-GA for linux-arm-kernel@lists.infradead.org; Tue, 13 Sep 2022 11:48:34 +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 dfw.source.kernel.org (Postfix) with ESMTPS id 1531961446; Tue, 13 Sep 2022 11:48:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6AFDC433D7; Tue, 13 Sep 2022 11:48:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663069710; bh=EA1c8fHfmMn/BXTBbzqslzMzN/zNEU8UlmO0bCkM5go=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Sem05858V5aovA43Au1al3s55ld6DeLyfIqpO9utOYjvs0P0ZXkG+pOO0hiQ24a4T ed7aAkh5jRG2CImLQX4MUKkIcpw9dNygUFWenFsCIECaCOKPiuT0pHb9j5bfG5UDjS zCXx+hTm/4lqCcnkwJ3w6aFSdKuAcf3LdqY2hxGjq4xYTH87NwBTcZ73ErxDNeUp7s R9+btVgs3S9LI/b7vGilDdpY4iuORSTzepX5GVXQyyUE9mVsT+NX21gQJ6LzEdmtJq Foz186SVJARZG/jYAd9uoULge5tcJqlmnHqSeeHJ1bXPRpJfoGIAYRM6Ii1ERKvN5D GejKnosNJ6EIQ== Date: Tue, 13 Sep 2022 12:48:27 +0100 From: Mark Brown To: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, alexandru.elisei@arm.com, amit.kachhap@arm.com, anshuman.khandual@arm.com, catalin.marinas@arm.com, james.morse@arm.com, will@kernel.org Subject: Re: [PATCH v2 3/5] arm64: consistently pass ESR_ELx to die() Message-ID: References: <20220913101732.3925290-1-mark.rutland@arm.com> <20220913101732.3925290-4-mark.rutland@arm.com> MIME-Version: 1.0 In-Reply-To: <20220913101732.3925290-4-mark.rutland@arm.com> X-Cookie: One FISHWICH coming up!! X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220913_044833_599481_018C3A61 X-CRM114-Status: GOOD ( 13.71 ) 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="===============8970641890845909995==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============8970641890845909995== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OGLLgY1Efk0+96wH" Content-Disposition: inline --OGLLgY1Efk0+96wH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 13, 2022 at 11:17:30AM +0100, Mark Rutland wrote: > Currently, bug_handler() and kasan_handler() call die() with '0' as the > 'err' value, whereas die_kernel_fault() passes the ESR_ELx value. >=20 > For consistency, this patch ensures we always pass the ESR_ELx value to > die(). As this is only called for exceptions taken from kernel mode, > there should be no user-visible change as a result of this patch. Reviewed-by: Mark Brown --OGLLgY1Efk0+96wH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmMgbgoACgkQJNaLcl1U h9AILQf/WIpqDq73KMC6+mdzDVDTezIvI/895XmstAPYbqB3ktCWgEs8yVdcZ1DJ +n0SeijauSsCCVRMj+led4K9cGyUsdBa68Txgtk54C9MYi1FMxfWF+BGe0bHYsFy WeONmMBEdZVqX/P716k9rHT7mCjTZjlfVDhUFxCnvRyH9BmNxtI2LrLMjDK9bD2n BYoeb5PENHw1B5Tky36stKvyck0lV7bQkhAoWXZhsdK9yX7U4ic1/33sZ3/wzkYF WInKXtwQoGNpE/DyehEq8rJX8en7p6LwcBoyLFFc2TySCbUyYbQqpqTza1OkDQ8i 0f+oxO+wDKdJ5eyiyApmO0slna1OHg== =CR/6 -----END PGP SIGNATURE----- --OGLLgY1Efk0+96wH-- --===============8970641890845909995== 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 --===============8970641890845909995==--