sst-linux/arch/mips/kernel
Jiaxun Yang 7b425f542f ptrace: Introduce exception_ip arch hook
commit 11ba1728be3edb6928791f4c622f154ebe228ae6 upstream.

On architectures with delay slot, architecture level instruction
pointer (or program counter) in pt_regs may differ from where
exception was triggered.

Introduce exception_ip hook to invoke architecture code and determine
actual instruction pointer to the exception.

Link: https://lore.kernel.org/lkml/00d1b813-c55f-4365-8d81-d70258e10b16@app.fastmail.com/
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Salvatore Bonaccorso <carnil@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-03-07 16:56:51 +01:00
..
syscalls mips: fix compat_sys_lseek syscall 2024-07-25 09:49:13 +02:00
.gitignore
access-helper.h
asm-offsets.c MIPS: scall: Save thread_info.syscall unconditionally on entry 2024-05-17 11:56:07 +02:00
bmips_5xxx_init.S
bmips_vec.S
branch.c
cacheinfo.c
cevt-bcm1480.c
cevt-ds1287.c
cevt-gt641xx.c
cevt-r4k.c MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed 2024-09-12 11:10:25 +02:00
cevt-sb1250.c
cevt-txx9.c
cmpxchg.c
cps-vec-ns16550.S
cps-vec.S
cpu-probe.c MIPS: Loongson64: Set timer mode in cpu-probe 2024-08-29 17:30:49 +02:00
cpu-r3k-probe.c
crash_dump.c
crash.c
csrc-bcm1480.c
csrc-ioasic.c
csrc-r4k.c
csrc-sb1250.c
early_printk_8250.c
early_printk.c
elf.c mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan 2024-01-31 16:17:12 -08:00
entry.S
fpu-probe.c
fpu-probe.h
ftrace.c MIPS: ftrace: Declare ftrace_get_parent_ra_addr() as static 2025-02-21 13:49:54 +01:00
genex.S
gpio_txx9.c
head.S
i8253.c
idle.c
irq_txx9.c
irq-gt641xx.c
irq-msc01.c
irq.c
jump_label.c
kgdb.c
kprobes.c
linux32.c
machine_kexec.c
Makefile
mcount.S
mips-cm.c
mips-cpc.c
mips-mt-fpaff.c
mips-mt.c
mips-r2-to-r6-emul.c
module.c
octeon_switch.S
perf_event_mipsxx.c
perf_event.c
perf_regs.c
pm-cps.c
pm.c
probes-common.h
proc.c
process.c MIPS: kernel: Clear FPU states when setting up kernel threads 2023-12-13 18:39:28 +01:00
prom.c
ptrace32.c
ptrace.c ptrace: Introduce exception_ip arch hook 2025-03-07 16:56:51 +01:00
r4k_fpu.S
r4k_switch.S
r4k-bugs64.c
r2300_fpu.S
r2300_switch.S
relocate_kernel.S
relocate.c
reset.c
rtlx-cmp.c
rtlx-mt.c
rtlx.c
scall32-o32.S MIPS: scall: Save thread_info.syscall unconditionally on entry 2024-05-17 11:56:07 +02:00
scall64-n32.S MIPS: scall: Save thread_info.syscall unconditionally on entry 2024-05-17 11:56:07 +02:00
scall64-n64.S MIPS: scall: Save thread_info.syscall unconditionally on entry 2024-05-17 11:56:07 +02:00
scall64-o32.S MIPS: scall: Save thread_info.syscall unconditionally on entry 2024-05-17 11:56:07 +02:00
segment.c
setup.c mips: Fix incorrect max_low_pfn adjustment 2024-01-25 15:27:45 -08:00
signal32.c
signal_n32.c
signal_o32.c
signal-common.h
signal.c
smp-bmips.c
smp-cmp.c
smp-cps.c MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later 2024-08-03 08:49:49 +02:00
smp-mt.c
smp-up.c
smp.c mips/smp: Call rcutree_report_cpu_starting() earlier 2024-01-25 15:27:39 -08:00
spinlock_test.c
spram.c
stacktrace.c
sync-r4k.c
syscall.c
sysrq.c
time.c
topology.c
traps.c MIPS: reserve exception vector space ONLY ONCE 2024-03-01 13:26:26 +01:00
unaligned.c
uprobes.c
vdso.c
vmlinux.lds.S
vpe-cmp.c
vpe-mt.c
vpe.c
watch.c