Re: [PATCH v11 3/6] x86/sev: Initialize RMPOPT configuration MSRs

From: Borislav Petkov

Date: Thu Jul 30 2026 - 20:13:44 EST


On Thu, Jul 30, 2026 at 03:00:55PM -0500, Kalra, Ashish wrote:
> No hard dependency — it only needs SNP initialized (post
> SNP_INIT_EX/DF_FLUSH), and the initial pass is async anyway, so it's
> independent of the SEV-TIO block and the panic notifier. So i can move it to
> the end (after the TIO block so it runs last without touching TIO ordering),
> but is there a specific reason you want me to move it to the end, as it can
> just stay here after SNP_INIT.

The usual reason is, you add new code at the end. I.e., you append it. That is
usually easier for backporting too.

When you put it *NOT* at the end, then the first question I have is, why is
this thing there? Is there a particular reason for it to be there? Is ordering
important all of a sudden?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette