Conversation
|
@ezelioli can you rebase onto |
5e37e89 to
ff6255a
Compare
|
@niwis currently the cheshire-integration check fails because the configuration of Cheshire pointed by the CI does not enable the CLIC but uses a CVA6 configuration which enables RVSCLIC and RVVCLIC (only RVSCLIC is overwritten by Cheshire leading to an invalid config with RVVCLIC enabled when CLIC is disabled). Possible workarounds that I see are:
Any hints on how to proceed? |
|
I followed approach 1. and the cheshire-integration for this branch (push) is now passing (the CLIC/vCLIC parameters are disabled on the cva6/vclic branch of Cheshire). |
|
Thank you @ezelioli! I agree with approach 1. Let's stick to the same approach as for the CLIC: disable it per default and only enable it for the tests that actually need it (which is currently none?) Don't worry about the failing One more point: my understanding is that upstream Cheshire tries to only reference released versions of dependencies. Should vCLIC be integrated into CLIC before updating Cheshire? (to be confirmed with the Cheshire/CLIC maintainers) I'll do a full review pass asap. |
Thanks for the updates! |
Yes there is no test currently using vCLIC. I can add a vCLIC test and respective config to Cheshire and update this PR to point there. |
I think that would be useful to avoid regressions with vCLIC. |
|
@niwis from my side all changes have been integrated.
Let me know if further updates are required :) |
niwis
left a comment
There was a problem hiding this comment.
Thank you @ezelioli! Only a few points:
- I think according to the RISC-V naming convention, the name for this extension would be
Shclicor, since this is no standard extension,Xhclic. could you rename the config parameter accordingly (e.g.RVVCLIC->RVXHCLIC)? - Some of these changes seem to fix the standard CLIC extension (wfi, trap logic, and the stvt register in
csr_regfile). If this is the case, could you split these changes into a separate PR? This will make future maintenance easier e.g. if single extensions shall be upstreamed. - Same for changes/fixes that are valid for H extension alone (e.g.
hgeieCSR)
Opened PR #64 for CLIC-only related fixes |
|
@ezelioli could you please do a last rebase of this branch on |


This PR adds support for the custom vCLIC extension.
It is a replacement of the previous PR, with only changes strictly relevant to vCLIC. It also makes the extension parametrized on an additional
RVVCLICparameter, which depends onRVHandRVSCLICparameters and can be used to enable / disable the virtualization extension support.The main changes are:
HGEIEwrite logic and functionality. Added vCLIC-specificVSTVTandVSINTTHRESHregisters.