-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
riscv: virt: Update the configurations #6432
Conversation
Hello @maroueneboubakri |
If all these changes are independent (which I believe they are), it would be better to make one commit for each. |
OK I will. |
76bc49e
to
49886df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "if' in the first commit description is somewhat incorrect, I suggest "we enable CFG_RISCV_SBI so that OP-TEE utilizes SBI to communicate with other OS". In any case, LGTM. For all commits:
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
49886df
to
b2295d3
Compare
Apply the commit message and tag. Thanks for suggestion! |
Hi @gagachang, Thanks for these patches, is there any reason why Best |
OK I can remove that commit. We can enable it by command line. |
b2295d3
to
79353ab
Compare
Ping @maroueneboubakri would you like to provide any review tag here? Thanks. |
@jforissier forgot this one, @gagachang sorry for delay, please apply
|
79353ab
to
433f21d
Compare
In RISC-V QEMU virtual platform, we run OP-TEE as S-mode. This commit forcely enables CFG_RISCV_S_MODE and disables CFG_RISCV_M_MODE. Also, we enable CFG_RISCV_SBI so that OP-TEE utilizes SBI to communicate with other OS. Signed-off-by: Alvin Chang <alvinga@andestech.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Do not force the CFG_TEE_CORE_NB_CORE and CFG_NUM_THREADS to be 1, since we may run SMP system which has multiple harts and threads. Signed-off-by: Alvin Chang <alvinga@andestech.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Enable CFG_DT to parse the external DTB passed by previous boot stage. Signed-off-by: Alvin Chang <alvinga@andestech.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
433f21d
to
b43ae3e
Compare
Rebase and apply the tags. |
Hi @jforissier |
We have just updated Hafnium to v2.10 (OP-TEE/manifest#257) so the error is likely related. @jenswi-linaro is investigating this timeout in another PR (#6534 (comment)). |
This commit updates the configurations for QEMU RISC-V virtual platform: