linux/drivers/virt/coco
Aneesh Kumar K.V (Arm) 0d5be76b60 firmware: smccc: arm-cca-guest: Bind the TSM provider to an SMCCC device
The Arm CCA guest TSM provider currently binds through the arm-cca-dev
platform device. Like arm-smccc-trng, this device is not an independent
platform resource; it is a software representation of the RSI firmware
service discovered through SMCCC.

Move RSI discovery into the SMCCC firmware driver. When the SMCCC
conduit is SMC and if RSI ABI version call is supported, create an
arm-rsi SMCCC device. Convert the Arm CCA guest TSM provider to an SMCCC
driver so it binds to that discovered RSI service and keeps module
autoloading through the SMCCC device id table.

Keep the old arm-cca-dev platform-device registration for now. Userspace
has used that device as a Realm-guest indicator, so removing it is left to
a follow-up patch that adds a replacement sysfs ABI.

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Sudeep Holla <sudeep.holla@kernel.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2026-09-24 16:49:31 +01:00
..
arm-cca-guest firmware: smccc: arm-cca-guest: Bind the TSM provider to an SMCCC device 2026-09-24 16:49:31 +01:00
efi_secret arm64: Enable EFI secret area Securityfs support 2025-09-19 10:12:01 +01:00
guest coco/guest: Remove unneeded selection of CRYPTO 2026-03-19 10:57:22 -07:00
pkvm-guest arm64 updates for 7.3 2026-08-18 11:57:17 -07:00
sev-guest x86/sev: Use new AES-GCM library 2026-07-23 09:30:29 -07:00
tdx-guest Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
tdx-host Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
Kconfig coco/tdx-host: Introduce a "tdx_host" device 2026-06-03 08:14:51 -07:00
Makefile coco/tdx-host: Introduce a "tdx_host" device 2026-06-03 08:14:51 -07:00
tsm-core.c virt: coco: change tsm_class to a const struct 2026-04-02 15:45:18 -07:00