[IA64] enable trap code on slot 1
Because slot 1 of one instr bundle crosses border of two consecutive 8-bytes, kprobe on slot 1 is disabled. This patch enables kprobe on slot1, it only replaces higher 8-bytes of the instruction bundle and changes the exception code to ignore the low 12 bits of the break number (which is across the border in the lower 8-bytes of the bundle). For those instructions which must execute regardless qp bits, kprobe on slot 1 is still disabled. Signed-off-by:bibo,mao <bibo.mao@intel.com> Signed-off-by:
Tony Luck <tony.luck@intel.com>
Showing
- arch/ia64/kernel/jprobes.S 2 additions, 1 deletionarch/ia64/kernel/jprobes.S
- arch/ia64/kernel/kprobes.c 37 additions, 14 deletionsarch/ia64/kernel/kprobes.c
- include/asm-ia64/break.h 2 additions, 2 deletionsinclude/asm-ia64/break.h
- include/asm-ia64/kprobes.h 1 addition, 0 deletionsinclude/asm-ia64/kprobes.h
Loading
Please register or sign in to comment