v3:
-- Fix thread_struct layout for hardware breakpoints.
-- Fix context switches and thread migrations issues.
This series addresses severe functional degradations in standard
perf_event usage, including initialization failures and one-shot
triggering limitations.
From a software perspective, all possible functional issues have
been fully resolved. Special thanks to Wang Rui for his help to
fix context switches and thread migrations issues.
Tiezhu Yang (7):
LoongArch: Fix bitmask corruption in update_bp_registers()
LoongArch: Remove redundant call in update_bp_registers()
LoongArch: Fix architectural naming typo for CSR_FWPS_SKIP
LoongArch: Only send SIGTRAP signal if necessary in do_watch()
LoongArch: Fix perf hardware breakpoint failure via installation
LoongArch: Fix thread_struct layout for hbp_break and hbp_watch
LoongArch: Fix one-shot limitation for perf hardware breakpoints
arch/loongarch/include/asm/hw_breakpoint.h | 12 ++--
arch/loongarch/include/asm/loongarch.h | 7 ++-
arch/loongarch/include/asm/processor.h | 16 +++--
arch/loongarch/include/asm/switch_to.h | 2 +-
arch/loongarch/kernel/hw_breakpoint.c | 69 ++++++++++++++++------
arch/loongarch/kernel/process.c | 4 +-
arch/loongarch/kernel/traps.c | 12 ++--
7 files changed, 81 insertions(+), 41 deletions(-)
--
2.42.0