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

virt_mshv_vtl: Share common processing between poll_apic implementations #630

Merged
merged 5 commits into from
Jan 29, 2025

Conversation

smalis-msft
Copy link
Contributor

@smalis-msft smalis-msft commented Jan 8, 2025

This PR pulls out the common ordering and processing needed for poll_apic across TDX and SNP. While there are similarities between this code and the poll_apic implementation in mshv, this PR does not change anything in mshv, as the lapic emulation code there is going to be deleted soon. This also allows this code to live off of HardwareIsolatedBacking, making it much cleaner than the first iteration.

Also cleanup SNP's weird register conversions.

@smalis-msft smalis-msft requested a review from a team as a code owner January 8, 2025 18:17
@smalis-msft smalis-msft changed the title virt_mshv_vtl: Share common processing between poll_apic implementations virt_mshv_vtl: POC/RFC: Share common processing between poll_apic implementations Jan 14, 2025
@smalis-msft smalis-msft changed the title virt_mshv_vtl: POC/RFC: Share common processing between poll_apic implementations virt_mshv_vtl: Share common processing between poll_apic implementations Jan 28, 2025
jstarks
jstarks previously approved these changes Jan 29, 2025
@smalis-msft smalis-msft merged commit dfd7c16 into microsoft:main Jan 29, 2025
25 checks passed
@smalis-msft smalis-msft deleted the share-apic-poll branch January 29, 2025 19:22
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 this pull request may close these issues.

2 participants