Skip to contentSkip to conversation

MAINTAINERS: rectify file entries in TRUSTED SECURITY MODULE (TSM) INFRASTRUCTURE

PATCH In review Lukas Bulwahn 2 participants 2 messages May 9, 2025 – May 13, 2025 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MAINTAINERS: rectify file entries in TRUSTED SECURITY MODULE (TSM) INFRASTRUCTURE

From: Lukas Bulwahn <[email protected]>

Commit 7515f45c1652 ("coco/guest: Move shared guest CC infrastructure to drivers/virt/coco/guest/") moves drivers/virt/coco/tsm.c to drivers/virt/coco/guest/report.c, and adjusts the file entry in TRUSTED SECURITY MODULE (TSM) INFRASTRUCTURE.

However, commit b9e22b35d459 ("tsm-mr: Add TVM Measurement Register support") also touches that section, leading to some unintended state with the two concurrent changes of these two commits, i.e., entry drivers/virt/coco/tsm*.c is still in place, where it should have been deleted. Note that the existing file entry drivers/virt/coco/tsm*.c is not needed, as the files are after their renaming in drivers/virt/coco/guest/, and there is already a file entry in this section for that directory.

Rectify this section appropriately.

Further, commit f6953f1f9ec4 ("tsm-mr: Add tsm-mr sample code") adds example code to samples/tsm-mr/, but in the MAINTAINERS section, it refers to the non-existing directory samples/tsm/. So, rectify that file entry to the existing intended location as well.

---
 MAINTAINERS | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
MAINTAINERS +1 -2
index 6dbdf02d6b0c..e8a21d6f89f8 100644
@@ -24991,9 +24991,8 @@ S:	Maintained
 F:	Documentation/ABI/testing/configfs-tsm-report
 F:	Documentation/driver-api/coco/
 F:	drivers/virt/coco/guest/
-F:	drivers/virt/coco/tsm*.c
 F:	include/linux/tsm*.h
-F:	samples/tsm/
+F:	samples/tsm-mr/
 
 TRUSTED SERVICES TEE DRIVER
 M:	Balint Dobszay <[email protected]>
Signature · 1 line
2.49.0
#1 lore raw
Quoted 32 lines · Lukas Bulwahn

From: Lukas Bulwahn <[email protected]>

Commit 7515f45c1652 ("coco/guest: Move shared guest CC infrastructure to drivers/virt/coco/guest/") moves drivers/virt/coco/tsm.c to drivers/virt/coco/guest/report.c, and adjusts the file entry in TRUSTED SECURITY MODULE (TSM) INFRASTRUCTURE.

However, commit b9e22b35d459 ("tsm-mr: Add TVM Measurement Register support") also touches that section, leading to some unintended state with the two concurrent changes of these two commits, i.e., entry drivers/virt/coco/tsm*.c is still in place, where it should have been deleted. Note that the existing file entry drivers/virt/coco/tsm*.c is not needed, as the files are after their renaming in drivers/virt/coco/guest/, and there is already a file entry in this section for that directory.

Rectify this section appropriately.

Further, commit f6953f1f9ec4 ("tsm-mr: Add tsm-mr sample code") adds example code to samples/tsm-mr/, but in the MAINTAINERS section, it refers to the non-existing directory samples/tsm/. So, rectify that file entry to the existing intended location as well.

---
 MAINTAINERS | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
MAINTAINERS +0 -0
index 6dbdf02d6b0c..e8a21d6f89f8 100644

MAINTAINERS S: Maintained · line 24995

Quoted 7 lines
MAINTAINERS +1 -2
@@ -24991,9 +24991,8 @@ S:	Maintained
 F:	Documentation/ABI/testing/configfs-tsm-report
 F:	Documentation/driver-api/coco/
 F:	drivers/virt/coco/guest/
-F:	drivers/virt/coco/tsm*.c
 F:	include/linux/tsm*.h
-F:	samples/tsm/
+F:	samples/tsm-mr/

Thanks, Lukas!

I ended up redoing the merge with this fixup and crediting you there:

https://git.kernel.org/pub/scm/linux/kernel/git/devsec/tsm.git/commit/?h=next&id=15ff5d0e90bb