Haoran Jiang
73555fdab5
LoongArch: Fix oops during single-step debugging
...
When entering KDB via a breakpoint and then performing single-step
debugging, an oops is triggered. Now during single-step debugging,
kdb_local() expects the reason to be KDB_REASON_SSTEP, but it is
actually KDB_REASON_OOPS. In kdb_stub(), when determining the reason,
the ex_vector for single-step should be 0, as already implemented on
other architectures such as arm64 and riscv.
Before the patch:
[112]kdb> ss
Entering kdb (current=0x900020009f520000, pid 10661) on
processor 112 Oops: (null)
due to oops @ 0x90000000005b57a4
Cc: stable@vger.kernel.org
Signed-off-by: Haoran Jiang <jianghaoran@kylinos.cn >
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn >
2026-07-23 22:27:30 +08:00
..
2022-06-03 20:09:27 +08:00
2022-06-03 20:09:28 +08:00
2026-07-23 22:27:29 +08:00
2025-06-26 20:07:18 +08:00
2026-06-25 13:03:47 +08:00
2025-01-25 18:51:33 +08:00
2026-04-22 15:45:13 +08:00
2022-10-12 16:36:19 +08:00
2024-04-26 12:07:24 +02:00
2025-12-08 18:09:17 +08:00
2025-12-16 14:40:51 +01:00
2025-06-26 20:07:18 +08:00
2026-06-25 13:03:47 +08:00
2026-03-26 14:29:08 +08:00
2026-04-22 15:45:11 +08:00
2025-03-10 11:54:45 +01:00
2022-12-14 08:41:53 +08:00
2025-05-14 22:17:52 +08:00
2026-06-25 13:03:47 +08:00
2025-01-26 21:49:59 +08:00
2025-02-13 12:02:35 +08:00
2025-12-16 14:12:44 +01:00
2026-04-22 15:45:13 +08:00
2026-03-26 16:15:03 +01:00
2026-04-22 15:45:13 +08:00
2025-01-26 21:49:59 +08:00
2025-11-10 08:37:07 +08:00
2025-11-10 08:37:07 +08:00
2025-06-26 20:07:18 +08:00
2026-07-23 22:27:30 +08:00
2026-05-22 15:05:07 +08:00
2025-04-26 09:58:12 +08:00
2026-02-21 17:09:51 -08:00
2026-07-23 22:27:30 +08:00
2025-10-02 22:39:08 +08:00
2026-02-10 19:31:12 +08:00
2025-12-31 15:19:20 +08:00
2024-12-26 10:50:02 -05:00
2025-11-10 08:37:06 +08:00
2025-12-08 18:09:17 +08:00
2025-12-08 18:09:17 +08:00
2025-11-20 14:42:05 +08:00
2026-04-09 18:56:36 +08:00
2026-01-17 10:56:43 +08:00
2022-10-12 16:36:14 +08:00
2026-04-22 15:45:13 +08:00
2026-06-25 13:03:47 +08:00
2025-12-08 18:09:17 +08:00
2025-08-03 22:49:47 +08:00
2026-06-25 13:03:47 +08:00
2025-02-13 12:02:35 +08:00
2026-07-23 22:27:16 +08:00
2023-06-29 20:58:44 +08:00
2023-06-29 20:58:44 +08:00
2026-07-23 22:27:29 +08:00
2026-03-26 14:29:09 +08:00
2026-07-23 22:27:29 +08:00
2025-09-18 19:44:08 +08:00
2026-06-25 13:03:47 +08:00
2026-04-24 09:54:45 -07:00
2023-07-25 19:21:03 +02:00
2025-12-08 18:09:17 +08:00
2023-12-06 12:41:50 +09:00
2026-06-25 13:03:47 +08:00
2025-12-08 18:09:17 +08:00
2025-06-26 20:07:18 +08:00
2026-02-10 19:31:14 +08:00
2026-02-10 19:31:14 +08:00
2023-12-09 15:49:15 +08:00
2025-05-14 22:18:10 +08:00
2026-03-11 15:12:41 +01:00
2026-04-22 15:44:26 +08:00