Thread (34 messages) 34 messages, 2 authors, 2024-06-06

Re: [PATCH v4 08/13] arm64: Introduce esr_comment() & esr_is_cfi_brk()

From: Will Deacon <will@kernel.org>
Date: 2024-06-03 14:42:47
Also in: kvm, kvmarm

On Wed, May 29, 2024 at 01:12:14PM +0100, Pierre-Clément Tosi wrote:
As it is already used in two places, move esr_comment() to a header for
re-use, with a clearer name.

Introduce esr_is_cfi_brk() to detect kCFI BRK syndromes, currently used
by early_brk64() but soon to be also used by hypervisor code.

Signed-off-by: Pierre-Clément Tosi <redacted>
---
 arch/arm64/include/asm/esr.h       | 11 +++++++++++
 arch/arm64/kernel/debug-monitors.c |  4 +---
 arch/arm64/kernel/traps.c          |  8 +++-----
 arch/arm64/kvm/handle_exit.c       |  2 +-
 4 files changed, 16 insertions(+), 9 deletions(-)
(nit: typo in subject, should be esr_brk_comment()).

With that fixed:

Acked-by: Will Deacon <will@kernel.org>

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help