]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: entry: Refactor the entry and exit for exceptions from EL1
authorJinjie Ruan <ruanjinjie@huawei.com>
Fri, 15 Aug 2025 03:06:27 +0000 (11:06 +0800)
committerWill Deacon <will@kernel.org>
Thu, 11 Sep 2025 14:55:34 +0000 (15:55 +0100)
commitee776d68ba47cc8e2022f8c2218f1891a1244197
tree6b17e90177f50e7a0c04495bca40f95375caa03d
parent788b8f6af60b22f78739fc758456b51b2b916dbd
arm64: entry: Refactor the entry and exit for exceptions from EL1

The generic entry code uses irqentry_state_t to track lockdep and RCU
state across exception entry and return. For historical reasons, arm64
embeds similar fields within its pt_regs structure.

In preparation for moving arm64 over to the generic entry code, pull
these fields out of arm64's pt_regs, and use a separate structure,
matching the style of the generic entry code.

No functional changes.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Ada Couprie Diaz <ada.coupriediaz@arm.com>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/ptrace.h
arch/arm64/kernel/entry-common.c