1. Aug 23, 2023
    • Tim Newsome's avatar
      AR: Can't require exception for CSR access. · 4970b557
      Tim Newsome authored
      Feedback:
      > Attempts to access a non-existent Core Debug Register now raise an
      > illegal instruction exception.  This is inconsistent with general RISC-V
      > practice of not mandating, for example, trapping of reserved and
      > unimplemented opcodes and CSRs.  This practice is partially to allow
      > implementation flexibility to not bear the cost of decoding, but most
      > notably to allow for backward compatibility.  Otherwise a future design
      > implementing a future debug extension that changes a reserved register
      > into a defined/implemented register would not be backward compatible
      > with this spec - which mandates that the register must trap.
      > But instead a non-normative recommendation to trap would be appropriate.
      
      The privspec says "Attempts to access a non-existent CSR raise an
      illegal instruction exception" but "The ARC has recognized this error
      earlier this year and intends to correct (i.e. loosen) it in Priv 1.13."
      
      This change was originally introduced to deal with tinfo and enumerating
      trigger registers, and also to be consistent with the privspec. See
      https://lists.riscv.org/g/tech-debug/topic/95589931
      4970b557
    • Jan Matyas's avatar
      Program Buffer: Clarify requirements for case progbufsize==1 (#868) · 925e7ce4
      Jan Matyas authored
      * Program Buffer: Clarify requirements for case progbufsize==1
      
      - Clarified that both the listed requirements apply only to
      the case of progbufsize==1, as discussed in
      https://github.com/riscv/riscv-debug-spec/issues/863
      
      
      
      - Minor reword and simplification of the sentences
      
      - Changed the order of paragraphs so that:
        - Generic requirements are stated first (Debug Mode, cmderr, ...)
        - Special requirements for progbufsize==1 are mentioned later
      
      * Reflected review findings
      
      ---------
      
      Co-authored-by: default avatarJan Matyas <jan.matyas@codasip.com>
      925e7ce4
  2. Aug 16, 2023
  3. Aug 12, 2023
  4. Aug 01, 2023
  5. Jul 27, 2023
  6. Jul 11, 2023
  7. Jun 24, 2023
  8. Jun 17, 2023
    • ved-rivos's avatar
      Debug interaction with wrs.sto/wrs.nto (#838) · 9001957c
      ved-rivos authored
      * wrs.sto/nto act as nop in debug mode; follow wfi
      
      * wrs.sto/nto behavior when halt requested; follow wfi
      
      * behavior of stepping over wrs.sto/nto; follow wfi
      
      * formulate wfi/wrs restrictions as a rule
      
      * formulate single step over wrs/wfi as a rule
      9001957c
  9. Jun 15, 2023
  10. Jun 13, 2023
  11. Jun 09, 2023
  12. May 19, 2023
  13. May 18, 2023
  14. May 16, 2023
  15. May 11, 2023
  16. May 10, 2023
  17. May 06, 2023
    • Tim Newsome's avatar
      Clarify that icount decrements on interrupt traps. · f67fbb05
      Tim Newsome authored
      The rationale is that if icount is enabled in the current mode and the
      mode of the trap handler, when you single step you don't want to step
      past the first instruction of the trap handler, which you didn't know
      was going to be executed. Having to step multiple times to get past an
      interrupt to actually execute the instruction you tended to step is
      addressed the same way as already documented in the appendix.
      
      Addresses a question from #842.
      f67fbb05
  18. May 04, 2023
  19. Apr 20, 2023
  20. Apr 19, 2023
  21. Apr 15, 2023
    • Tim Newsome's avatar
      Rebuild PDF for substantive freeze. · 6c642e9c
      Tim Newsome authored
      6c642e9c
    • Tim Newsome's avatar
      Describe how CMO instructions match triggers. (#821) · f4381fed
      Tim Newsome authored
      * Add inst, reg, and field macros.
      
      To help consistently format instructions, register names, and field
      names.
      
      * Describe how CMO instructions match triggers.
      
      See e-mail subject:"Sdtrig and CMO".
      
      * Rephrasing again.
      
      * Refine language.
      
      * Triggers only match CMOs when size=0 and select=0.
      
      Address must be base address or the passed address, but should be the
      address of every address in the affected cache lines.
      
      * Rephrase CMO address comparison.
      
      Refer to "virtual address covered by any of the affected cache lines."
      
      * Rephrase CMO trigger compare values again.
      
      * Rephrase which addresses are compare values for CMOs.
      
      * Don't try to account for virtual address aliasing.
      f4381fed
    • Tim Newsome's avatar
      Rebuild PDF. · 92bf5c62
      Tim Newsome authored
      Last build was slightly out of date somehow.
      92bf5c62
    • Tim Newsome's avatar
      Rebuild PDF. · fb702526
      Tim Newsome authored
      fb702526
  22. Apr 14, 2023
  23. Apr 11, 2023
  24. Apr 08, 2023