PCI: dwc: Move iMSI-RX check before calling 'pp->ops->init()'

The R-Car Gen4 PCIe controller integration configures MSI registers in the
controller driver pp->ops->init() callback because they have to be
configured while PERST# is asserted, and PERST# is asserted across the
controller driver pp->ops->init() callback.

A future change to the R-Car Gen4 pp->ops->init() callback will need to
know whether iMSI-RX is in use.  Assign pp->use_imsi_rx before calling
pp->ops->init() so pp->use_imsi_rx is available.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260707203743.88299-2-marek.vasut+renesas@mailbox.org
This commit is contained in:
Marek Vasut 2026-07-07 22:35:39 +02:00 • committed by Bjorn Helgaas
commit 09aad32189