-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add vCLIC support #55
base: pulp-v2
Are you sure you want to change the base?
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. |
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
RVVCLIC
parameter, which depends onRVH
andRVSCLIC
parameters and can be used to enable / disable the virtualization extension support.The main changes are:
HGEIE
write logic and functionality. Added vCLIC-specificVSTVT
andVSINTTHRESH
registers.