mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:04:43 +01:00
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>
This commit is contained in:
parent
71ded61bee
commit
7515f45c16
6 changed files with 14 additions and 6 deletions
|
|
@ -24560,7 +24560,7 @@ M: Dan Williams <dan.j.williams@intel.com>
|
|||
L: linux-coco@lists.linux.dev
|
||||
S: Maintained
|
||||
F: Documentation/ABI/testing/configfs-tsm-report
|
||||
F: drivers/virt/coco/tsm.c
|
||||
F: drivers/virt/coco/guest/
|
||||
F: include/linux/tsm.h
|
||||
|
||||
TRUSTED SERVICES TEE DRIVER
|
||||
|
|
|
|||
|
|
@ -3,10 +3,6 @@
|
|||
# Confidential computing related collateral
|
||||
#
|
||||
|
||||
config TSM_REPORTS
|
||||
select CONFIGFS_FS
|
||||
tristate
|
||||
|
||||
source "drivers/virt/coco/efi_secret/Kconfig"
|
||||
|
||||
source "drivers/virt/coco/pkvm-guest/Kconfig"
|
||||
|
|
@ -16,3 +12,5 @@ source "drivers/virt/coco/sev-guest/Kconfig"
|
|||
source "drivers/virt/coco/tdx-guest/Kconfig"
|
||||
|
||||
source "drivers/virt/coco/arm-cca-guest/Kconfig"
|
||||
|
||||
source "drivers/virt/coco/guest/Kconfig"
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
#
|
||||
# Confidential computing related collateral
|
||||
#
|
||||
obj-$(CONFIG_TSM_REPORTS) += tsm.o
|
||||
obj-$(CONFIG_EFI_SECRET) += efi_secret/
|
||||
obj-$(CONFIG_ARM_PKVM_GUEST) += pkvm-guest/
|
||||
obj-$(CONFIG_SEV_GUEST) += sev-guest/
|
||||
obj-$(CONFIG_INTEL_TDX_GUEST) += tdx-guest/
|
||||
obj-$(CONFIG_ARM_CCA_GUEST) += arm-cca-guest/
|
||||
obj-$(CONFIG_TSM_REPORTS) += guest/
|
||||
|
|
|
|||
7
drivers/virt/coco/guest/Kconfig
Normal file
7
drivers/virt/coco/guest/Kconfig
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Confidential computing shared guest collateral
|
||||
#
|
||||
config TSM_REPORTS
|
||||
select CONFIGFS_FS
|
||||
tristate
|
||||
3
drivers/virt/coco/guest/Makefile
Normal file
3
drivers/virt/coco/guest/Makefile
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
obj-$(CONFIG_TSM_REPORTS) += tsm_report.o
|
||||
tsm_report-y := report.o
|
||||
Loading…
Add table
Add a link
Reference in a new issue