Re: [PATCH v2 1/1] arm64: rsi: Add automatic arm-cca-guest module loading

From: Gavin Shan
Date: Mon Dec 02 2024 - 20:22:45 EST


On 12/3/24 10:01 AM, Jeremy Linton wrote:
The TSM module provides both guest identification as well as
attestation when a guest is run in CCA mode. Lets assure by creating a
dummy platform device that the module is automatically loaded during
boot. The TSM module will be loaded by udev daemon after it receives
the device addition event. Once it is in place it can be used earlier
in the boot process to say decrypt a LUKS rootfs.

Signed-off-by: Jeremy Linton <jeremy.linton@xxxxxxx>
---
arch/arm64/include/asm/rsi.h | 2 ++
arch/arm64/kernel/rsi.c | 15 +++++++++++++++
drivers/virt/coco/arm-cca-guest/arm-cca-guest.c | 8 ++++++++
3 files changed, 25 insertions(+)


Reviewed-by: Gavin Shan <gshan@xxxxxxxxxx>