x86/cc: Move arch/x86/{kernel/cc_platform.c => coco/core.c}
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Tue, 22 Feb 2022 18:57:38 +0000 (21:57 +0300)
committerBorislav Petkov <bp@suse.de>
Wed, 23 Feb 2022 17:25:58 +0000 (18:25 +0100)
commit6198311093dabcafbe345d580c56b5d5a9ab5f3c
treee20f0bb5fc296a33258d4c33ab7c42ad6f6fdf61
parentcfb92440ee71adcc2105b0890bb01ac3cddb8507
x86/cc: Move arch/x86/{kernel/cc_platform.c => coco/core.c}

Move cc_platform.c to arch/x86/coco/. The directory is going to be the
home space for code related to confidential computing.

Intel TDX code will land here. AMD SEV code will also eventually be
moved there.

No functional changes.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20220222185740.26228-3-kirill.shutemov@linux.intel.com
arch/x86/Kbuild
arch/x86/coco/Makefile [new file with mode: 0644]
arch/x86/coco/core.c [new file with mode: 0644]
arch/x86/kernel/Makefile
arch/x86/kernel/cc_platform.c [deleted file]