Skip to content

Conversation

@rsahita
Copy link

@rsahita rsahita commented Nov 13, 2025

Add Supervisor Domains extension and CSRs

@codecov
Copy link

codecov bot commented Nov 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.08%. Comparing base (383cbca) to head (18ea30c).
⚠️ Report is 44 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #389      +/-   ##
==========================================
+ Coverage   96.53%   97.08%   +0.55%     
==========================================
  Files          10       14       +4     
  Lines         750      926     +176     
==========================================
+ Hits          724      899     +175     
- Misses         26       27       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

encoding.h Outdated
Comment on lines 165 to 177
#define MIE_SSIE (1 << IRQ_S_SOFT)
#define MIE_VSSIE (1 << IRQ_VS_SOFT)
#define MIE_MSIE (1 << IRQ_M_SOFT)
#define MIE_STIE (1 << IRQ_S_TIMER)
#define MIE_VSTIE (1 << IRQ_VS_TIMER)
#define MIE_MTIE (1 << IRQ_M_TIMER)
#define MIE_SEIE (1 << IRQ_S_EXT)
#define MIE_VSEIE (1 << IRQ_VS_EXT)
#define MIE_MEIE (1 << IRQ_M_EXT)
#define MIE_SGEIE (1 << IRQ_S_GEXT)
#define MIE_LCOFIE (1 << IRQ_LCOF)
#define MIE_MSDEIE (1 << IRQ_MSDEI)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get rid of this. It is a property of the ISA that MIP and MIE bits line up with each other, so having a redundant set of macros is just more code to maintain.

encoding.h Outdated
#define SIP_STIP MIP_STIP
#define SIP_MSDEIP MIP_MSDEIP

#define SIE_MSDEIE MIE_MSDEIE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same.

Copy link
Member

@aswaterman aswaterman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ved-rivos can you also take a quick look? Do you agree this is stable enough that it's safe to merge?

@aswaterman
Copy link
Member

Thanks @rsahita!

@rsahita rsahita requested a review from aswaterman November 22, 2025 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants