]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/sev: Move SEV compilation units
authorBorislav Petkov (AMD) <bp@alien8.de>
Wed, 19 Jun 2024 09:03:16 +0000 (11:03 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 11 Jul 2024 09:55:58 +0000 (11:55 +0200)
commit38918e0bb2c51c21ea464b071a254b27ff9aa71d
tree74f5cca51642b314265e7252bef2229d7a630c72
parent3991b04d4870fd334b77b859a8642ca7fb592603
x86/sev: Move SEV compilation units

A long time ago it was agreed upon that the coco stuff needs to go where
it belongs:

  https://lore.kernel.org/all/Yg5nh1RknPRwIrb8@zn.tnic

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.

Move the instrumentation exclusion bits too, as helpfully caught and
reported by the 0day folks.

Closes: https://lore.kernel.org/oe-kbuild-all/202406220748.hG3qlmDx-lkp@intel.com
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202407091342.46d7dbb-oliver.sang@intel.com
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Nikunj A Dadhania <nikunj@amd.com>
Reviewed-by: Ashish Kalra <ashish.kalra@amd.com>
Tested-by: kernel test robot <oliver.sang@intel.com>
Link: https://lore.kernel.org/r/20240619093014.17962-1-bp@kernel.org
arch/x86/boot/compressed/sev.c
arch/x86/coco/Makefile
arch/x86/coco/sev/Makefile [new file with mode: 0644]
arch/x86/coco/sev/core.c [moved from arch/x86/kernel/sev.c with 99% similarity]
arch/x86/coco/sev/shared.c [moved from arch/x86/kernel/sev-shared.c with 100% similarity]
arch/x86/kernel/Makefile