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

Joey Gouly
2021-05-25T11:27:59Z

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@arm.com>