Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@mailbox.org>
To: Koichiro Den <den@valinux.co.jp>
Cc: linux-pci@vger.kernel.org,
	"Krzysztof Wilczyński" <kwilczynski@kernel.org>,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	"Geert Uytterhoeven" <geert+renesas@glider.be>,
	"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
	"Magnus Damm" <magnus.damm@gmail.com>,
	"Manivannan Sadhasivam" <mani@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Yoshihiro Shimoda" <yoshihiro.shimoda.uh@renesas.com>,
	linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH v2 1/2] PCI: dwc: Add .post_deinit counterpart to endpoint .pre_init callback
Date: Thu, 20 Aug 2026 10:20:51 +0200	[thread overview]
Message-ID: <e31abf53-89bf-4581-8e0a-9f0ae0affd74@mailbox.org> (raw)
In-Reply-To: <5vjlarzjb2luxfzri4ykpjbkhevfbmufbefdvzafi2oo2q4j33@wwizukzejsys>

Hello Den-san,

On 8/20/26 10:09 AM, Koichiro Den wrote:
> On Thu, Aug 20, 2026 at 05:57:55AM +0200, Marek Vasut wrote:
>> In case the .pre_init() callback fails, it is mandatory to correctly
> 
> I think this should be "If .pre_init() succeeds but subsequent initialization
> fails,". Otherwise LGTM.

This is fixed in V3, thank you.

> I did some quick tests on an S4 Spider, covering the normal path and several
> injected failure paths. I don't have V4H hardware, though.
> Please feel free to pick up either or both tags if that helps.
> 
> Reviewed-by: Koichiro Den <den@valinux.co.jp>
> Tested-by: Koichiro Den <den@valinux.co.jp>

I am only following the code execution paths in the endpoint case .

My endpoint setup for V4H is still pending assembly, I finally have the 
oculink adapters and cable here, but I did not assemble it yet. I still 
need to find out how to handle clocking, whether one V4H PCIe controller 
(clock source) has to send the PCIe clock to the other V4H PCIe 
controller (clock sink) which would require board modification, or 
whether I can manage the oculink RC-to-EP setup without board modification.

Thank you for your help with testing on the S4 !

-- 
Best regards,
Marek Vasut

      reply	other threads:[~2026-08-20  8:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-20  3:57 [PATCH v2 1/2] PCI: dwc: Add .post_deinit counterpart to endpoint .pre_init callback Marek Vasut
2026-08-20  3:57 ` [PATCH v2 2/2] PCI: dwc: rcar-gen4: Use .post_deinit to handle dw_pcie_ep_init() failures Marek Vasut
2026-08-20  4:10   ` sashiko-bot
2026-08-20  8:11   ` Koichiro Den
2026-08-20  8:42     ` Marek Vasut
2026-08-20  4:06 ` [PATCH v2 1/2] PCI: dwc: Add .post_deinit counterpart to endpoint .pre_init callback sashiko-bot
2026-08-20  8:09 ` Koichiro Den
2026-08-20  8:20   ` Marek Vasut [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=e31abf53-89bf-4581-8e0a-9f0ae0affd74@mailbox.org \
    --to=marek.vasut@mailbox.org \
    --cc=bhelgaas@google.com \
    --cc=den@valinux.co.jp \
    --cc=geert+renesas@glider.be \
    --cc=kwilczynski@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mani@kernel.org \
    --cc=robh@kernel.org \
    --cc=yoshihiro.shimoda.uh@renesas.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