Qing Zhang edffa33c7b LoongArch: Add hardware breakpoints/watchpoints support
Use perf framework to manage hardware instruction and data breakpoints.

LoongArch defines hardware watchpoint functions for instruction fetch
and memory load/store operations. After the software configures hardware
watchpoints, the processor hardware will monitor the access address of
the instruction fetch and load/store operation, and trigger an exception
of the watchpoint when it meets the conditions set by the watchpoint.

The hardware monitoring points for instruction fetching and load/store
operations each have a register for the overall configuration of all
monitoring points, a register for recording the status of all monitoring
points, and four registers required for configuration of each watchpoint
individually.

Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2023-02-25 22:12:17 +08:00
..
2022-10-12 16:36:19 +08:00
2022-12-19 08:23:27 -06:00
2022-06-03 20:09:28 +08:00
2022-12-14 08:41:53 +08:00
2022-06-03 20:09:28 +08:00
2022-06-03 20:09:28 +08:00
2022-10-12 16:36:19 +08:00
2022-12-14 08:41:53 +08:00
2022-10-12 16:36:19 +08:00
2022-12-19 08:23:27 -06:00
2022-10-12 16:36:14 +08:00
2022-10-12 16:36:19 +08:00
2022-12-14 08:41:53 +08:00
2022-06-03 20:09:28 +08:00