riscv-non-isa / riscv-external-debug-security

The RISC-V External Debug Security Specification
https://jira.riscv.org/browse/RVG-136
Creative Commons Attribution 4.0 International
18 stars 2 forks source link

Mandate the behavior of asynchronous trigger #14

Closed joxie closed 7 months ago

joxie commented 7 months ago

https://github.com/joxie/riscv-debug-security/issues/16

AoteJin commented 7 months ago

The description in external debug security spec addressed the issue:

"The extension requires that all pending triggers intending to enter Debug Mode must match or fire before any hart mode switch to prevent privilege escalation."