Re: [PATCH v2 15/19] arm64: entry: split bad stack entry
From: Joey Gouly <joey.gouly@arm.com>
Date: 2021-05-25 11:27:59
From: Joey Gouly <joey.gouly@arm.com>
Date: 2021-05-25 11:27:59
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> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel