Re: [PATCH] x86/sev: Move SEV compilation units
From: Tom Lendacky
Date: Fri Jun 21 2024 - 09:51:05 EST
On 6/19/24 04:30, Borislav Petkov wrote:
> From: "Borislav Petkov (AMD)" <bp@xxxxxxxxx>
>
> A long time ago we said that we're going to move the coco stuff where it
> belongs
>
> https://lore.kernel.org/all/Yg5nh1RknPRwIrb8@xxxxxxx
>
> and not keep it in arch/x86/kernel. TDX did that and SEV can't find time
> to do so. So lemme do it. If people have trouble converting their
> ongoing featuritis patches, ask me for a sed script.
>
> No functional changes.
>
> Cc: Ashish Kalra <Ashish.Kalra@xxxxxxx>
> Cc: Joerg Roedel <joro@xxxxxxxxxx>
> Cc: Michael Roth <michael.roth@xxxxxxx>
> Cc: Nikunj A Dadhania <nikunj@xxxxxxx>
> Cc: Tom Lendacky <thomas.lendacky@xxxxxxx>
> Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Reviewed-by: Tom Lendacky <thomas.lendacky@xxxxxxx>
> ---
> arch/x86/boot/compressed/sev.c | 2 +-
> arch/x86/coco/Makefile | 1 +
> arch/x86/coco/sev/Makefile | 3 +++
> arch/x86/{kernel/sev.c => coco/sev/core.c} | 2 +-
> arch/x86/{kernel/sev-shared.c => coco/sev/shared.c} | 0
> arch/x86/kernel/Makefile | 2 --
> 6 files changed, 6 insertions(+), 4 deletions(-)
> create mode 100644 arch/x86/coco/sev/Makefile
> rename arch/x86/{kernel/sev.c => coco/sev/core.c} (99%)
> rename arch/x86/{kernel/sev-shared.c => coco/sev/shared.c} (100%)
>