[PATCH v2 15/19] arm64: entry: split bad stack entry

Joey Gouly joey.gouly at arm.com
Tue May 25 04:25:21 PDT 2021


On Wed, May 19, 2021 at 01:38:58PM +0100, Mark Rutland wrote:
> We'd like to keep all the entry sequencing in entry-common.c, as this
> will allow us to ensure this is all consistent, and free from any
> unsound instrumentation.
> 
> Currently handle_bad_stack() performs the NMI entry sequence in traps.c.
> Let's split the low-level entry sequence from the reporting, moving the
> former to entry-common.c and keeping the latter in traps.c. To make it
> clear that reporting function never returns, it is renamed to
> panic_bad_stack().
> 

Reviewed-by: Joey Gouly <joey.gouly at arm.com>



More information about the linux-arm-kernel mailing list