mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikko Perttunen <mperttunen@nvidia.com>
To: "Bartosz Golaszewski" <brgl@kernel.org>,
	"Manivannan Sadhasivam" <mani@kernel.org>,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
	"Krzysztof Wilczyński" <kwilczynski@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Thierry Reding" <thierry.reding@kernel.org>,
	"Jonathan Hunter" <jonathanh@nvidia.com>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
	 linux-tegra@vger.kernel.org, devicetree@vger.kernel.org,
	 Mikko Perttunen <mperttunen@nvidia.com>,
	 Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Subject: [PATCH v2 0/5] Tegra264 GB10B boards the bus
Date: Fri, 04 Dec 2026 12:05:12 +0900	[thread overview]
Message-ID: <20261204-b4-t264-igpu-pci-v2-0-e36cd85f4778@nvidia.com> (raw)

The integrated GB10B GPU on the Tegra264 SoC is connected to an internal
PCIe bus. However, it won't enumerate on the bus unless its BPMP-managed
power domain is enabled.

This series uses the PCI pwrctrl framework to allow enabling the power
domain before enumerating the bus, and adds the device tree changes
necessary to make the GPU appear.

Patch 1 adds the ats-supported property to the Tegra264 PCI controller's
device tree bindings.

Patches 2 and 3 enable the pwrctrl framework to detect device tree nodes
with a power-domains property as needing a pwrctrl device, and add the
GB10B's PCI IDs to the match table.

Patch 4 updates the Tegra264 PCI controller driver to call into
pwrctrl to power up the endpoint devices.

Patches 5 and 6 describe the GB10B in the Tegra264 device tree and
enable the PCI controller (and ATS support) in the SoC device tree since
it is chip-internal.

All patches are independent of each other (apart from patch 6 causing
device tree warnings unless the binding patch is applied).

Thank you,
Mikko

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
---
Changes in v2:
- Removed dt-bindings change as the binding is added in the dt-schema repo
- Link to v1: https://patch.msgid.link/20261029-b4-t264-igpu-pci-v1-0-4d843dda0b02@nvidia.com

---
Mikko Perttunen (5):
      PCI/pwrctrl: Enable pwrctrl for devices powered by a power domain
      PCI/pwrctrl: Add the Tegra264 iGPU to the generic match table
      PCI: tegra264: Power endpoint devices before enumeration
      arm64: tegra: Add node for the GB10B GPU on Tegra264
      arm64: tegra: Enable and mark the Tegra264 GPU PCIe controller as ATS supported

 arch/arm64/boot/dts/nvidia/tegra264.dtsi |  8 +++++++-
 drivers/pci/controller/Kconfig           |  1 +
 drivers/pci/controller/pcie-tegra264.c   | 22 ++++++++++++++++++++--
 drivers/pci/pwrctrl/core.c               |  7 +++++--
 drivers/pci/pwrctrl/generic.c            |  4 ++++
 5 files changed, 37 insertions(+), 5 deletions(-)
---
base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244
change-id: 20261021-b4-t264-igpu-pci-8b94cf0b91ee


             reply	other threads:[~2026-12-04  3:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  3:05 Mikko Perttunen [this message]
2026-12-04  3:05 ` [PATCH v2 1/5] PCI/pwrctrl: Enable pwrctrl for devices powered by a power domain Mikko Perttunen
2026-12-04  3:05 ` [PATCH v2 2/5] PCI/pwrctrl: Add the Tegra264 iGPU to the generic match table Mikko Perttunen
2026-12-04  3:05 ` [PATCH v2 3/5] PCI: tegra264: Power endpoint devices before enumeration Mikko Perttunen
2026-12-04  3:05 ` [PATCH v2 4/5] arm64: tegra: Add node for the GB10B GPU on Tegra264 Mikko Perttunen
2026-12-04  3:05 ` [PATCH v2 5/5] arm64: tegra: Enable and mark the Tegra264 GPU PCIe controller as ATS supported Mikko Perttunen

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=20261204-b4-t264-igpu-pci-v2-0-e36cd85f4778@nvidia.com \
    --to=mperttunen@nvidia.com \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=bhelgaas@google.com \
    --cc=brgl@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=krzk+dt@kernel.org \
    --cc=kwilczynski@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=mani@kernel.org \
    --cc=robh@kernel.org \
    --cc=thierry.reding@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

all inboxes | Powered by JetHome®