Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/3] PCI: Unify domain emulation and misc documentation update
@ 2025-07-16 16:08 Dan Williams
  2025-07-16 16:08 ` [PATCH 1/3] PCI: Establish document for PCI host bridge sysfs attributes Dan Williams
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Dan Williams @ 2025-07-16 16:08 UTC (permalink / raw)
  To: bhelgaas
  Cc: linux-pci, lukas, linux-kernel, Jonathan.Cameron, Dexuan Cui,
	Haiyang Zhang, K. Y. Srinivasan, Lorenzo Pieralisi,
	Manivannan Sadhasivam, Nirmal Patel, Rob Herring,
	Suzuki K Poulose, Wei Liu

Bjorn,

This is a small collection of miscellaneous updates that originated in
the PCI/TSM work, but are suitable to go ahead in v6.17. It is a
documentation update and a new pci_bus_find_emul_domain_nr() helper.

First, the PCI/TSM work (Trusted Execution Environment Security Manager
(PCI device assignment for confidential guests)) wants to add some
additional PCI host bridge sysfs attributes. In preparation for that,
document what is already there.

Next, the PCI/TSM effort proposes samples/devsec/ as a reference and
test implementation of all the TSM infrastructure. It is implemented via
host bridge emulation and aims to be cross-architecture compatible. It
stumbled over the current state of PCI domain number emulation being
arch and driver specific. Remove some of that differentiation and unify
the existing x86 host bridge emulators (hyper-v and vmd) on a common
pci_bus_find_emul_domain_nr() helper.

Dan Williams (3):
  PCI: Establish document for PCI host bridge sysfs attributes
  PCI: Enable host bridge emulation for PCI_DOMAINS_GENERIC platforms
  PCI: vmd: Switch to pci_bus_find_emul_domain_nr()

 .../ABI/testing/sysfs-devices-pci-host-bridge | 19 +++++++
 MAINTAINERS                                   |  1 +
 drivers/pci/controller/pci-hyperv.c           | 53 ++-----------------
 drivers/pci/controller/vmd.c                  | 33 ++++--------
 drivers/pci/pci.c                             | 43 ++++++++++++++-
 drivers/pci/probe.c                           |  8 ++-
 include/linux/pci.h                           |  4 ++
 7 files changed, 86 insertions(+), 75 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-devices-pci-host-bridge


base-commit: e04c78d86a9699d136910cfc0bdcf01087e3267e
-- 
2.50.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-07-18 19:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-16 16:08 [PATCH 0/3] PCI: Unify domain emulation and misc documentation update Dan Williams
2025-07-16 16:08 ` [PATCH 1/3] PCI: Establish document for PCI host bridge sysfs attributes Dan Williams
2025-07-16 16:08 ` [PATCH 2/3] PCI: Enable host bridge emulation for PCI_DOMAINS_GENERIC platforms Dan Williams
2025-07-17 17:25   ` Michael Kelley
2025-07-17 19:59     ` dan.j.williams
2025-07-17 23:06       ` Michael Kelley
2025-07-18  0:22         ` dan.j.williams
2025-07-18  3:03           ` Michael Kelley
2025-07-18 19:17             ` dan.j.williams
2025-07-16 16:08 ` [PATCH 3/3] PCI: vmd: Switch to pci_bus_find_emul_domain_nr() Dan Williams
2025-07-17 22:13 ` [PATCH 0/3] PCI: Unify domain emulation and misc documentation update Bjorn Helgaas
2025-07-18  0:26 ` dan.j.williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox