[PATCH v2 3/5] arm64: consistently pass ESR_ELx to die()

Mark Brown broonie at kernel.org
Tue Sep 13 04:48:27 PDT 2022


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.
> 
> 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 <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220913/33d0796c/attachment.sig>


More information about the linux-arm-kernel mailing list