Re: [PATCH v3 3/7] x86/snp: create snp_x86_shutdown()
From: Borislav Petkov
Date: Mon Mar 23 2026 - 12:02:25 EST
On Mon, Mar 23, 2026 at 09:31:25AM -0600, Tycho Andersen wrote:
> :) I can add a macro for this. Let me know if you want a full args
> struct instead.
"ew" meant: this is not nice but I don't have a better idea...
A full args struct doesn't really change anything AFAICT. Maybe play with it
a bit and see what the resulting asm is but I'm sceptical it would be any
different...
> My intent here was to indicate that it's doing the x86 (i.e.
> non-firmware) parts of the SNP shutdown process. I will change it to
> just snp_shutdown(), but that will still have a prefix. Just
> shutdown() seemed to generic...
Yeah, snp_shutdown() - just one prefix :) - is enough.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette