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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <ptosi@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx>

Will




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux