On Wed, Mar 24, 2021 at 11:44:16AM -0500, Brijesh Singh wrote:
> The sev_es_terminate() and sev_es_{wr,rd}_ghcb_msr() helper functions
> in a common file so that it can be used by both the SEV-ES and SEV-SNP.
>
> Cc: Thomas Gleixner <[email protected]>
> Cc: Ingo Molnar <[email protected]>
> Cc: Borislav Petkov <[email protected]>
> Cc: Joerg Roedel <[email protected]>
> Cc: "H. Peter Anvin" <[email protected]>
> Cc: Tony Luck <[email protected]>
> Cc: Dave Hansen <[email protected]>
> Cc: "Peter Zijlstra (Intel)" <[email protected]>
> Cc: Paolo Bonzini <[email protected]>
> Cc: Tom Lendacky <[email protected]>
> Cc: David Rientjes <[email protected]>
> Cc: Sean Christopherson <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Signed-off-by: Brijesh Singh <[email protected]>
> ---
> arch/x86/boot/compressed/sev-common.c | 32 +++++++++++++++++++++++++++
> arch/x86/boot/compressed/sev-es.c | 22 ++----------------
> arch/x86/kernel/sev-common-shared.c | 31 ++++++++++++++++++++++++++
> arch/x86/kernel/sev-es-shared.c | 21 +++---------------
> 4 files changed, 68 insertions(+), 38 deletions(-)
> create mode 100644 arch/x86/boot/compressed/sev-common.c
> create mode 100644 arch/x86/kernel/sev-common-shared.c
Yeah, once you merge it all into sev.c and sev-shared.c, that patch is
not needed anymore.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette