* [PATCH 1/2] MAINTAINERS: Update TSM file coverage and repository
@ 2026-11-16 7:54 Aneesh Kumar K.V (Arm)
2026-11-16 7:54 ` [PATCH 2/2] PCI/TSM: Move core code into its own directory Aneesh Kumar K.V (Arm)
0 siblings, 1 reply; 2+ messages in thread
From: Aneesh Kumar K.V (Arm) @ 2026-11-16 7:54 UTC (permalink / raw)
To: linux-coco
Cc: Aneesh Kumar K.V (Arm), Alexey Kardashevskiy, Jason Gunthorpe,
Lukas Wunner
Add drivers/virt/coco/tsm-core.c and git repository to the TSM entry.
Cc: Alexey Kardashevskiy <aik@amd.com>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: linux-coco@lists.linux.dev
Signed-off-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@kernel.org>
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ccbcdc0799b9..720fe907885b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -28545,11 +28545,13 @@ M: Jason Gunthorpe <jgg@nvidia.com>
R: Lukas Wunner <lukas@wunner.de>
L: linux-coco@lists.linux.dev
S: Maintained
+T: git git://git.kernel.org/pub/scm/linux/kernel/git/tsm/linux.git
F: Documentation/ABI/testing/configfs-tsm-report
F: Documentation/driver-api/coco/
F: Documentation/driver-api/pci/tsm.rst
F: drivers/pci/tsm.c
F: drivers/virt/coco/guest/
+F: drivers/virt/coco/tsm-core.c
F: include/linux/*tsm*.h
F: samples/tsm-mr/
base-commit: aebb7274476403040d582c61478df8f4a7bf9cd3
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] PCI/TSM: Move core code into its own directory
2026-11-16 7:54 [PATCH 1/2] MAINTAINERS: Update TSM file coverage and repository Aneesh Kumar K.V (Arm)
@ 2026-11-16 7:54 ` Aneesh Kumar K.V (Arm)
0 siblings, 0 replies; 2+ messages in thread
From: Aneesh Kumar K.V (Arm) @ 2026-11-16 7:54 UTC (permalink / raw)
To: linux-coco
Cc: Aneesh Kumar K.V (Arm), Alexey Kardashevskiy, Jason Gunthorpe,
Lukas Wunner, Jason Gunthorpe, Bjorn Helgaas, linux-pci
Multiple patch series modify drivers/pci/tsm.c, and some add new files
to the PCI/TSM subsystem. Move tsm.c to tsm/core.c so these series can
share the directory layout and reduce merge conflicts.
Update the build rules, local header include, and MAINTAINERS entry for
the new location.
No functional change.
Cc: Alexey Kardashevskiy <aik@amd.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-coco@lists.linux.dev
Cc: linux-pci@vger.kernel.org
Signed-off-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@kernel.org>
---
Documentation/driver-api/pci/tsm.rst | 2 +-
MAINTAINERS | 2 +-
drivers/pci/Makefile | 2 +-
drivers/pci/tsm/Makefile | 7 +++++++
drivers/pci/{tsm.c => tsm/core.c} | 2 +-
5 files changed, 11 insertions(+), 4 deletions(-)
create mode 100644 drivers/pci/tsm/Makefile
rename drivers/pci/{tsm.c => tsm/core.c} (99%)
diff --git a/Documentation/driver-api/pci/tsm.rst b/Documentation/driver-api/pci/tsm.rst
index 232b92bec93f..c95c513019b5 100644
--- a/Documentation/driver-api/pci/tsm.rst
+++ b/Documentation/driver-api/pci/tsm.rst
@@ -17,5 +17,5 @@ Subsystem Interfaces
.. kernel-doc:: include/linux/pci-tsm.h
:internal:
-.. kernel-doc:: drivers/pci/tsm.c
+.. kernel-doc:: drivers/pci/tsm/core.c
:export:
diff --git a/MAINTAINERS b/MAINTAINERS
index 720fe907885b..3e626e45d432 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -28549,7 +28549,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/tsm/linux.git
F: Documentation/ABI/testing/configfs-tsm-report
F: Documentation/driver-api/coco/
F: Documentation/driver-api/pci/tsm.rst
-F: drivers/pci/tsm.c
+F: drivers/pci/tsm/
F: drivers/virt/coco/guest/
F: drivers/virt/coco/tsm-core.c
F: include/linux/*tsm*.h
diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
index 41ebc3b9a518..211f195ff2c9 100644
--- a/drivers/pci/Makefile
+++ b/drivers/pci/Makefile
@@ -35,7 +35,7 @@ obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
obj-$(CONFIG_VGA_ARB) += vgaarb.o
obj-$(CONFIG_PCI_DOE) += doe.o
obj-$(CONFIG_PCI_IDE) += ide.o
-obj-$(CONFIG_PCI_TSM) += tsm.o
+obj-$(CONFIG_PCI_TSM) += tsm/
obj-$(CONFIG_PCI_DYNAMIC_OF_NODES) += of_property.o
obj-$(CONFIG_PCI_NPEM) += npem.o
obj-$(CONFIG_PCIE_TPH) += tph.o
diff --git a/drivers/pci/tsm/Makefile b/drivers/pci/tsm/Makefile
new file mode 100644
index 000000000000..464414c11a72
--- /dev/null
+++ b/drivers/pci/tsm/Makefile
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Makefile for the PCI/TSM infrastructure
+
+obj-$(CONFIG_PCI_TSM) += tsm.o
+
+tsm-y := core.o
diff --git a/drivers/pci/tsm.c b/drivers/pci/tsm/core.c
similarity index 99%
rename from drivers/pci/tsm.c
rename to drivers/pci/tsm/core.c
index 5fdcd7f2e820..76ef03a1b3ec 100644
--- a/drivers/pci/tsm.c
+++ b/drivers/pci/tsm/core.c
@@ -15,7 +15,7 @@
#include <linux/sysfs.h>
#include <linux/tsm.h>
#include <linux/xarray.h>
-#include "pci.h"
+#include "../pci.h"
/*
* Provide a read/write lock against the init / exit of pdev tsm
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-16 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16 7:54 [PATCH 1/2] MAINTAINERS: Update TSM file coverage and repository Aneesh Kumar K.V (Arm)
2026-11-16 7:54 ` [PATCH 2/2] PCI/TSM: Move core code into its own directory Aneesh Kumar K.V (Arm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox