joxie / riscv-debug-security

repo for riscv debug security extension spec dev
0 stars 1 forks source link

Domain switching between multiple security domains #9

Closed gokhankaplayan closed 8 months ago

gokhankaplayan commented 1 year ago

Machine Debug Security Control Register (mdbgsec) is reprogrammed by M-mode software when domain switching between security domains. This approach has the following concerns:

External pin control approach to hardwire mdbgsec for security domains should be added as an optional feature.

AoteJin commented 1 year ago
gokhankaplayan commented 1 year ago

Just to clarify the life cycle management, debug policy binary file (encrypted) will be same during the lifecycle and the interpretation of the binary file is different for each phase of the lifecycle by secure monitor.This idea make sense to me. I am aware that the details are implementation specific, but it is good to understand whether we miss something.

AoteJin commented 8 months ago

Close. The issue is addressed in smmtt TG