[PATCH 09/17] arm64: entry: organise handler stubs consistently

Anshuman Khandual anshuman.khandual at arm.com
Thu Jan 9 02:01:53 PST 2020

On 01/09/2020 12:26 AM, Mark Rutland wrote:
> The exception handler stubs are laid out in a random order, violating
> the EL1/EL0 split described by the comments. In an attempt to get more
> optimal cache usage for commonly-invoked handlers, some handlers are
> given special alignment while others are not.
> To make things less surprising, This patch reorganises the hander stubs
> so they're in a consistent order, with the EL1 sync/irq/error stubs
> first, followed by the EL0 sync/irq/error stubs, then the EL0 compat
> sync/irq/error stubs. All the stubs are given the same alignment.
> There should be no functional change as a result of this patch.
> Signed-off-by: Mark Rutland <mark.rutland at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: James Morse <james.morse at arm.com>
> Cc: Will Deacon <will at kernel.org>

Reviewed-by: Anshuman Khandual <anshuman.khandual at arm.com>

More information about the linux-arm-kernel mailing list