From: Jon Hunter <jonathanh@nvidia.com>
To: Manivannan Sadhasivam <mani@kernel.org>
Cc: "Francesco Lavra" <flavra@baylibre.com>,
thierry.reding@gmail.com,
"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
"Krzysztof Wilczyński" <kwilczynski@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Mayank Rana" <mayank.rana@oss.qualcomm.com>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Shradha Todi" <shradha.t@samsung.com>,
"Thippeswamy Havalige" <thippeswamy.havalige@amd.com>,
"Inochi Amaoto" <inochiama@gmail.com>,
"Vidya Sagar" <vidyas@nvidia.com>,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
"linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>
Subject: Re: [PATCH] pci: controller: tegra194: remove dependency on Tegra194 SoC
Date: Mon, 5 Jan 2026 11:55:00 +0000 [thread overview]
Message-ID: <44fc1031-14e4-4340-a4b8-74fe524c3ee0@nvidia.com> (raw)
In-Reply-To: <5cwg6tg2y2q4mkns5zblenvhhovnz52dp5bo4uyghs4yledh3v@7apj6wwy3kjf>
On 05/01/2026 08:39, Manivannan Sadhasivam wrote:
> On Fri, Jan 02, 2026 at 10:58:15AM +0000, Jon Hunter wrote:
>>
>> On 23/12/2025 06:45, Manivannan Sadhasivam wrote:
>>> On Wed, Nov 26, 2025 at 11:25:30AM +0100, Francesco Lavra wrote:
>>>
>>> + Tegra maintainers
>>>
>>>> This driver runs (for both host and endpoint operation) also on other Tegra
>>>> SoCs (e.g. Tegra234).
>>>> Replace the Kconfig dependency on ARCH_TEGRA_194_SOC with a more generic
>>>> dependency on ARCH_TEGRA; in addition, amend the Kconfig help text to
>>>> reflect the fact that this driver is no longer exclusive to Tegra194.
>>>>
>>>
>>> I vaguely remember asking about this a while back during some other patch review
>>> and I don't remember what we concluded.
>>>> Thierry, Jon, thoughts?
>>
>> So ARCH_TEGRA means that this can be enabled for the legacy 32-bit Tegra
>> devices as well as the current 64-bit Tegra devices (such as Tegra194).
>> Given that this driver is only used for Tegra194 and Tegra234, it seems it
>> would be better to only enable this for Tegra194 and Tegra234 instead of any
>> Tegra.
>>
>
> The dependency means, whenever someone tries to enable PCIE_TEGRA194_HOST,
> ARCH_TEGRA should be enabled. So as long as someone not trying to enable
> PCIE_TEGRA194_HOST for 32bit Tegra systems, ARCH_TEGRA should work fine and
> PCIE_TEGRA194_HOST is not selected by arch/arm/configs/tegra_defconfig. So I
> don't see any blocker with this patch. In fact, many other archs do the same.
>
> But I don't like extending the Kconfig with per SoC dependency as it won't
> scale.
Yes normally it does not. However, in this case it will only be used for
Tegra194 and Tegra234 and not any later devices.
Jon
--
nvpublic
prev parent reply other threads:[~2026-01-05 11:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-26 10:25 [PATCH] pci: controller: tegra194: remove dependency on Tegra194 SoC Francesco Lavra
2025-12-23 6:45 ` Manivannan Sadhasivam
2026-01-02 10:58 ` Jon Hunter
2026-01-05 8:39 ` Manivannan Sadhasivam
2026-01-05 9:09 ` Niklas Cassel
2026-01-05 11:56 ` Jon Hunter
2026-01-05 12:08 ` Manivannan Sadhasivam
2026-01-05 12:13 ` Niklas Cassel
2026-01-05 12:17 ` Manivannan Sadhasivam
2026-01-05 12:18 ` Jon Hunter
2026-01-05 12:21 ` Manivannan Sadhasivam
2026-01-05 12:23 ` Jon Hunter
2026-01-05 12:28 ` Manivannan Sadhasivam
2026-01-05 12:21 ` Niklas Cassel
2026-01-05 11:55 ` Jon Hunter [this message]
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=44fc1031-14e4-4340-a4b8-74fe524c3ee0@nvidia.com \
--to=jonathanh@nvidia.com \
--cc=bhelgaas@google.com \
--cc=flavra@baylibre.com \
--cc=inochiama@gmail.com \
--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=mayank.rana@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=shradha.t@samsung.com \
--cc=tglx@linutronix.de \
--cc=thierry.reding@gmail.com \
--cc=thippeswamy.havalige@amd.com \
--cc=vidyas@nvidia.com \
/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