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

platform: Get correct phys addr sizes when not using vtom #373

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

AdamCDunlap
Copy link
Contributor

The physical address sizes come from cpuid Fn8000_0008_EAX but due to a variable shadowing problem, when vtom was disabled it was instead taking it from cpuid Fn8000_001F_EAX.

Fixes: edf38b0 ("platform: Calculate PTE masks through platform abstraction")

The physical address sizes come from cpuid Fn8000_0008_EAX but due to a
variable shadowing problem, when vtom was disabled it was instead taking
it from cpuid Fn8000_001F_EAX.

Fixes: edf38b0 ("platform: Calculate PTE masks through platform abstraction")

Signed-off-by: Adam Dunlap <[email protected]>
@joergroedel joergroedel merged commit 8f591bf into coconut-svsm:main Jun 5, 2024
3 checks passed
@AdamCDunlap AdamCDunlap deleted the fix_phys_addr_sizes branch June 5, 2024 14:52
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.

3 participants