public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
From: Niklas Cassel <cassel@kernel.org>
To: Manivannan Sadhasivam <mani@kernel.org>
Cc: "Jon Hunter" <jonathanh@nvidia.com>,
	"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 13:21:46 +0100	[thread overview]
Message-ID: <aVus2urjJ3AoHMv3@ryzen> (raw)
In-Reply-To: <aVurA-MUECufgTw0@ryzen>

On Mon, Jan 05, 2026 at 01:14:01PM +0100, Niklas Cassel wrote:
> > > > So, I think we could just merge:
> > > > https://lore.kernel.org/linux-pci/20250508051922.4134041-1-vidyas@nvidia.com/
> > > > 
> > > > (Assuming it still applies.)
> > > 
> > > Yes it does and applying Sagar's patch is fine with me. So it you want to
> > > apply Sagar's patch please add my ...
> > > 
> > 
> > Don't we need:
> > 
> > 	depends on (ARCH_TEGRA && ARM64) || COMPILE_TEST
> 
> This is exactly what I originally suggested to Vidya:
> https://lore.kernel.org/linux-pci/Z6XjWJd9jm0HHNXW@ryzen/
> 
> 
> > 
> > in the above patch?
> 
> The above patch instead has:
> 
> depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
> 
> I don't know why Vidya did not use my suggestion exactly, but I guess I
> assumed that he had a reason not to use my suggestion exactly.


Looking at drivers/pci/controller/dwc/Kconfig,
there are a lot of:

depends on OF && (ARM64 || COMPILE_TEST)

So I think Vidya simply followed this pattern and instead did:
depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)


But, since we don't have an explicit "depends on OF"
in these entries, I do think that:

depends on (ARCH_TEGRA && ARM64) || COMPILE_TEST

is slightly more correct. (Since if there was a hard requirement on OF,
it would have been there already).


Kind regards,
Niklas

  parent reply	other threads:[~2026-01-05 12:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20251126102530.4110067-1-flavra@baylibre.com>
     [not found] ` <xh2att7wpqowricyifxmoaijbhtrtoht25pomu4voosfctf36e@4p27y7rezz22>
2026-01-02 10:58   ` [PATCH] pci: controller: tegra194: remove dependency on Tegra194 SoC 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 [this message]
2026-01-05 11:55       ` Jon Hunter

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=aVus2urjJ3AoHMv3@ryzen \
    --to=cassel@kernel.org \
    --cc=bhelgaas@google.com \
    --cc=flavra@baylibre.com \
    --cc=inochiama@gmail.com \
    --cc=jonathanh@nvidia.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