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

Add new TDCALL functions to support TD partitioning #707

Closed
vijaydhanraj opened this issue Jun 5, 2024 · 3 comments · Fixed by #714
Closed

Add new TDCALL functions to support TD partitioning #707

vijaydhanraj opened this issue Jun 5, 2024 · 3 comments · Fixed by #714
Assignees

Comments

@vijaydhanraj
Copy link
Contributor

vijaydhanraj commented Jun 5, 2024

Once #706 is done the next step would be to add new TDCALL functions to support TD partitioning. The following new TDCALLs may be required.

  • New APIs:
    • Wrapper to tdcall_accept_page accept a memory range ( td_accept_memory that takes start address and len of address range to be accepted).
    • Add tdcall_vm_read/write to access TD-scope meta field of a TD.
    • Add tdcall_vp_read/write is to access vCPU-scope meta field of a TD.
    • Add tdcall_vp_invept/invvpid to provide SEPT flushing support.
    • Add tdcall_vp_enter support.
    • Add tdcall to support memory attribute write.
@jyao1
Copy link
Member

jyao1 commented Jun 6, 2024

@vijaydhanraj, Could you please split the requirement to 3 different categories: 1. Change existing, 2. Clean up, 3. Add new ones?

Usually, we do not put so many request into one issue. The different task be assigned to different owner, with different time.

@vijaydhanraj
Copy link
Contributor Author

Sure, will do accordingly. This issue, I will keep for adding new TDCALLs as the title says and will create two other issues for existing changes and cleanup.

@vijaydhanraj
Copy link
Contributor Author

Created #708 for changing existing APIs and created #709 for general clean-ups.

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 a pull request may close this issue.

3 participants