]> www.infradead.org Git - users/hch/misc.git/commit
coco/guest: Move shared guest CC infrastructure to drivers/virt/coco/guest/
authorDan Williams <dan.j.williams@intel.com>
Tue, 4 Mar 2025 07:14:26 +0000 (23:14 -0800)
committerDan Williams <dan.j.williams@intel.com>
Fri, 2 May 2025 19:52:16 +0000 (12:52 -0700)
commit7515f45c165269b72ee739e6fc26cc2ef928fc1b
tree5d638e3af4fed6b0cff8790e695991f5a810ab82
parent71ded61bee2af97a218f9dfa0f4019cc4cd3b029
coco/guest: Move shared guest CC infrastructure to drivers/virt/coco/guest/

In preparation for creating a new drivers/virt/coco/host/ directory to
house shared host driver infrastructure for confidential computing, move
configfs-tsm to a guest/ sub-directory. The tsm.ko module is renamed to
tsm_reports.ko. The old tsm.ko module was only ever demand loaded by
kernel internal dependencies, so it should not affect existing userspace
module install scripts.

The new drivers/virt/coco/guest/ is also a preparatory landing spot for
new / optional TSM Report mechanics like a TCB stability enumeration /
watchdog mechanism. To be added later.

Cc: Wu Hao <hao.wu@intel.com>
Cc: Yilun Xu <yilun.xu@intel.com>
Cc: Samuel Ortiz <sameo@rivosinc.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Alexey Kardashevskiy <aik@amd.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://patch.msgid.link/174107246641.1288555.208426916259466774.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
MAINTAINERS
drivers/virt/coco/Kconfig
drivers/virt/coco/Makefile
drivers/virt/coco/guest/Kconfig [new file with mode: 0644]
drivers/virt/coco/guest/Makefile [new file with mode: 0644]
drivers/virt/coco/guest/report.c [moved from drivers/virt/coco/tsm.c with 100% similarity]