Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Dan Williams <dan.j.williams@intel.com>
To: <bhelgaas@google.com>
Cc: <linux-pci@vger.kernel.org>, <lukas@wunner.de>,
	<linux-kernel@vger.kernel.org>, <Jonathan.Cameron@huawei.com>,
	Dexuan Cui <decui@microsoft.com>,
	Haiyang Zhang <haiyangz@microsoft.com>,
	"K. Y. Srinivasan" <kys@microsoft.com>,
	Lorenzo Pieralisi <lpieralisi@kernel.org>,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
	Nirmal Patel <nirmal.patel@linux.intel.com>,
	Rob Herring <robh@kernel.org>,
	"Suzuki K Poulose" <suzuki.poulose@arm.com>,
	Wei Liu <wei.liu@kernel.org>
Subject: [PATCH 0/3] PCI: Unify domain emulation and misc documentation update
Date: Wed, 16 Jul 2025 09:08:32 -0700	[thread overview]
Message-ID: <20250716160835.680486-1-dan.j.williams@intel.com> (raw)

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


             reply	other threads:[~2025-07-16 16:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-16 16:08 Dan Williams [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250716160835.680486-1-dan.j.williams@intel.com \
    --to=dan.j.williams@intel.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=bhelgaas@google.com \
    --cc=decui@microsoft.com \
    --cc=haiyangz@microsoft.com \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=lukas@wunner.de \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=nirmal.patel@linux.intel.com \
    --cc=robh@kernel.org \
    --cc=suzuki.poulose@arm.com \
    --cc=wei.liu@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox