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

[TODO TDX] Remove the TODO TDX for hardcode VP.ENTER #580

Open
ramesh-thomas opened this issue Dec 20, 2024 · 3 comments
Open

[TODO TDX] Remove the TODO TDX for hardcode VP.ENTER #580

ramesh-thomas opened this issue Dec 20, 2024 · 3 comments
Labels
ohcl-linux-kernel Changes that apply to the Linux kernel at OHCL-Linux-Kernel repo tdx TDX specific bugs or features

Comments

@ramesh-thomas
Copy link

In drivers/hv/mshv_vtl_main.c: mshv_vtl_return_tdx(), there is a TODO list for hardcode value.

17628 + /* TODO TDX: For now, hardcode VP.ENTER rax value and RCX.
17629 + RCX encodes vtl0 and invd translations */

(Migrated internal issue #1259)

@ramesh-thomas
Copy link
Author

yjiang5 on Oct 30:

We may need add the definition and push to upstream.

@ramesh-thomas
Copy link
Author

Define a constant TDG_VP_ENTER for value 25

@ramesh-thomas
Copy link
Author

@chris-oo created PR microsoft/OHCL-Linux-Kernel#32

@chris-oo chris-oo added tdx TDX specific bugs or features ohcl-linux-kernel Changes that apply to the Linux kernel at OHCL-Linux-Kernel repo labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ohcl-linux-kernel Changes that apply to the Linux kernel at OHCL-Linux-Kernel repo tdx TDX specific bugs or features
Projects
None yet
Development

No branches or pull requests

2 participants