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

Trouble starting SEV, SEV-ES, SEV-SNP on EPYC 8024P #246

Open
SudNeela opened this issue Nov 6, 2024 · 1 comment
Open

Trouble starting SEV, SEV-ES, SEV-SNP on EPYC 8024P #246

SudNeela opened this issue Nov 6, 2024 · 1 comment

Comments

@SudNeela
Copy link

SudNeela commented Nov 6, 2024

I have an AMD EPYC 8024P and I'm having issues starting SEV, SEV-ES, and SEV-SNP. I've enabled SEV-SNP in BIOS, set the ASIDs appropriately (256 out of 1006), and enabled SMEE.

However, I still don't have the /dev/sev interface. This is the output after modprobe ccp:

ccp 0000:02:00.5: sev enabled
ccp 0000:02:00.5: psp enabled
ccp 0000:02:00.5: SEV: failed to get status. Error: 0x8003

After modprobe kvm_amd:

kvm_amd: TSC scaling supported
kvm_amd: Nested Virtualization enabled
kvm_amd: Nested Paging enabled
kvm_amd: LBR virtualization supported
kvm_amd: SEV enabled (ASIDs 256 - 1006)
kvm_amd: SEV-ES enabled (ASIDs 1 - 255)
kvm_amd: SEV-SNP enabled (ASIDs 1 - 255)
kvm_amd: Virtual VMLOAD VMSAVE supported
kvm_amd: Virtual GIF supported
kvm_amd: Virtual NMI enabled

Which firmware should I be using from https://www.amd.com/en/developer/sev.html? Is there something else I could be possibly missing? Please let me know if you would like more information.

TIA.

@tlendacky
Copy link
Collaborator

What's the output of cpuid -1 -l 0x8000001f ?

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

2 participants