Skip to content
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 TEE support #282

Open
liushiwei007 opened this issue Dec 22, 2022 · 17 comments
Open

RISCV TEE support #282

liushiwei007 opened this issue Dec 22, 2022 · 17 comments

Comments

@liushiwei007
Copy link

liushiwei007 commented Dec 22, 2022

Hi,We have developed a security system based on RISCV, in which a part of opensbi code, I wonder whether it can be incorporated.

@atishp04
Copy link
Collaborator

Is it a platform specific solution or generic one ? Can you please provide more details ?

@liushiwei007
Copy link
Author

It's the general part right now,We used hardware technology similar to arm trustzone and a software framework for the optee os system。We are done with the general purpose part, and the platform-related part is still in development,In this case, opensbi needs to start linux after optee os starts successfully. In addition, two contexts need to be maintained when entering opensbi, one for optee os and one for linux。

@liushiwei007
Copy link
Author

@atishp04 Is this what you need?

@liushiwei007
Copy link
Author

@maroueneboubakri Have you submitted the relevant code?

@liushiwei007
Copy link
Author

@maroueneboubakri Have you submitted the relevant code?

I've only recently started contributing open source code,I think I misunderstood the meaning of "mentioned this issue"。I mistakenly thought it was a message from you,,I looked at #5714, which should have been added automatically by you using the here tag.

@liushiwei007
Copy link
Author

@atishp04 Hi, are there any new updates?

@maroueneboubakri
Copy link
Contributor

Hi @liushiwei007,
I suggest to join the OpenSBI mailing list and send your request there. I don't think that the repo is well monitored.
Maro

@avpatel
Copy link
Collaborator

avpatel commented Jan 7, 2023

I suggest sharing a draft proposal for SBI OP-TEE extension on the OpenSBI and PRS TG mailing list will be a good starting point.

Regards,
Anup

@liushiwei007
Copy link
Author

@maroueneboubakri @avpatel Ok, thanks。

@liushiwei007
Copy link
Author

@maroueneboubakri @avpatel Ok, thanks。

hi, I tried to send a message to the mailing list, but the email was returned, is there something wrong with me. The following is the error message:
Original e-mail message :  
Time : 2023-01-09 10:19:30
Subject : RISC-V TEE submitted
To : opensbi@lists.infradead.org

Bounce reason :
Connection to the remote recipient's server was denied for unknown reason.
SMTP through SDN 37, SMTP: (Proxy)Host lists.infradead.org said 550-Mailing lists do not accept HTML mail. See
550 http://david.woodhou.se/email.html

@avpatel
Copy link
Collaborator

avpatel commented Jan 9, 2023

@liushiwei007 please send plain text message on OpenSBI mailing list

@liushiwei007
Copy link
Author

@avpatel Yes, I did send a plain text message

@atishp04
Copy link
Collaborator

@liushiwei007 : Sorry for the delay in reply.

There are two aspects to this. One is the specification and other is the OpenSBI implementation.

  1. I believe you sent the patches for the OpenSBI implementation. As the error message from the mailing list says, the format of the email was HTML. The open source mailing lists only accept plain text formatted message. Please try again with text format.

  2. Regarding specification, I am assuming you need to introduce new SBI calls. In order to get the standardized within RVI so that entire community can benefit from this, please send the the specification details to tech-prs Task group mailing list (tech-prs@lists.riscv.org).

If you need some early feedback from the RVI task group, you can present your work in the tech-prs task group meeting as well. Let me know and I can schedule something in upcoming meetings.

@liushiwei007
Copy link
Author

@atishp04
I think I was misunderstood the “plain text”. I have successfully sent the email. Thank you for your explanation. I will try to do something.

@z3cko
Copy link

z3cko commented Jun 25, 2023

I am just wondering (since i am super interested in this topic myself) - has something ever been sent to the mailing list? what is the status of TEE with openSBI? thanks!

@liushiwei007
Copy link
Author

You can check the record here(riscv-non-isa/riscv-sbi-doc#106). I will keep trying, but the progress may be slow.

@gagachang
Copy link
Contributor

I am just wondering (since i am super interested in this topic myself) - has something ever been sent to the mailing list? what is the status of TEE with openSBI? thanks!

Hi @z3cko

There is another WIP specification called RISC-V CoVE: https://github.com/riscv-non-isa/riscv-ap-tee
Several SBI functions are well-defined there.

However, they are focusing on TEE with hypervisor extension supported.
We are lack of specification which is without hypervisor extension needed.

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

No branches or pull requests

6 participants