[PATCH v2 0/2] LoongArch: Change the maximum number of watchpoints

From: Tiezhu Yang
Date: Tue Jan 21 2025 - 22:23:43 EST


After some thinking, I think it is better to send this new version.

v2: Update the commit message of patch #2 to explain the compatibility
problem.

Tiezhu Yang (2):
LoongArch: Change 8 to 14 for LOONGARCH_MAX_{BRP,WRP}
LoongArch: Extend the maximum number of watchpoints

arch/loongarch/include/asm/hw_breakpoint.h | 4 +-
arch/loongarch/include/asm/loongarch.h | 60 ++++++++++++++++++++++
arch/loongarch/include/uapi/asm/ptrace.h | 10 ++++
arch/loongarch/kernel/hw_breakpoint.c | 16 +++++-
arch/loongarch/kernel/ptrace.c | 6 +--
5 files changed, 89 insertions(+), 7 deletions(-)

--
2.42.0