• M
    arm64: allow kprobes on EL0 handlers · b3a0c010
    Mark Rutland 提交于
    Currently do_sysinstr() and do_cp15instr() are marked with
    NOKPROBE_SYMBOL(). However, these are only called for exceptions taken
    from EL0, and there is no risk of recursion in kprobes, so this is not
    necessary.
    
    Remove the NOKPROBE_SYMBOL() annotation, and rename the two functions to
    more clearly indicate that these are solely for exceptions taken from
    EL0, better matching the names used by the lower level entry points in
    entry-common.c.
    Signed-off-by: NMark Rutland <mark.rutland@arm.com>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: James Morse <james.morse@arm.com>
    Cc: Joey Gouly <joey.gouly@arm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Will Deacon <will@kernel.org>
    Link: https://lore.kernel.org/r/20221019144123.612388-2-mark.rutland@arm.comSigned-off-by: NWill Deacon <will@kernel.org>
    b3a0c010
exception.h 3.1 KB