Closed sza-1 closed 1 year ago
That is to be expected. The firmware does not know about what the software has done and is expecting certain conditions amongst all the CPUs, but software hasn't done that. If you want to truly disable SMT, then you need to use the BIOS option to do that so that firmware is aware. Similarly, if you tried to use less CPUs than the system has, you are likely to fail init, too.
@tlendacky Ah, got it, thanks!
(I decided to disable SMT, because the AMD SEV-SNP white paper states that SEV-SNP does not protect against side channel attacks on SMT-enabled systems, and for guest owners this looks like a strong recommendation to disable SMT.)
It seems that CCP unable to init PSP with firmware 1.51.3 when SMT disabled (nosmt=force).
Kernel: https://github.com/AMDESE/linux/commit/93fa8c5918a4ccc81c75b0bc044df70f3837ac98
Without
nosmt=force
SEV-SNP works perfectly.