public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI: dwc: adjust to recent removal of PCI_MSI_IRQ_DOMAIN
@ 2022-12-15 10:34 Lukas Bulwahn
  2022-12-16 15:53 ` Serge Semin
  2022-12-30 13:23 ` Lorenzo Pieralisi
  0 siblings, 2 replies; 4+ messages in thread
From: Lukas Bulwahn @ 2022-12-15 10:34 UTC (permalink / raw)
  To: Lorenzo Pieralisi, Rob Herring, Krzysztof Wilczyński,
	Bjorn Helgaas, Thomas Gleixner, Serge Semin, linux-pci
  Cc: kernel-janitors, linux-kernel, Lukas Bulwahn

Commit a474d3fbe287 ("PCI/MSI: Get rid of PCI_MSI_IRQ_DOMAIN") removes the
config PCI_MSI_IRQ_DOMAIN and makes all previous references to that config
then refer to PCI_MSI instead.

Commit ba6ed462dcf4 ("PCI: dwc: Add Baikal-T1 PCIe controller support")
adds the config PCIE_BT1, which following the previous default pattern
depends on the config PCI_MSI_IRQ_DOMAIN.

As these two commits were submitted roughly at the same time, the
refactoring did not take of this occurrence and the addition did not yet
notice the refactoring.

Take care of the PCI_MSI config refactoring on this latest addition.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 drivers/pci/controller/dwc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
index a0d2713f0e88..99ec91e2a5cf 100644
--- a/drivers/pci/controller/dwc/Kconfig
+++ b/drivers/pci/controller/dwc/Kconfig
@@ -225,7 +225,7 @@ config PCIE_ARTPEC6_EP
 config PCIE_BT1
 	tristate "Baikal-T1 PCIe controller"
 	depends on MIPS_BAIKAL_T1 || COMPILE_TEST
-	depends on PCI_MSI_IRQ_DOMAIN
+	depends on PCI_MSI
 	select PCIE_DW_HOST
 	help
 	  Enables support for the PCIe controller in the Baikal-T1 SoC to work
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] PCI: dwc: adjust to recent removal of PCI_MSI_IRQ_DOMAIN
  2022-12-15 10:34 [PATCH] PCI: dwc: adjust to recent removal of PCI_MSI_IRQ_DOMAIN Lukas Bulwahn
@ 2022-12-16 15:53 ` Serge Semin
  2022-12-30 13:23 ` Lorenzo Pieralisi
  1 sibling, 0 replies; 4+ messages in thread
From: Serge Semin @ 2022-12-16 15:53 UTC (permalink / raw)
  To: Lukas Bulwahn
  Cc: Lorenzo Pieralisi, Rob Herring, Krzysztof Wilczyński,
	Bjorn Helgaas, Thomas Gleixner, linux-pci, kernel-janitors,
	linux-kernel

On Thu, Dec 15, 2022 at 11:34:52AM +0100, Lukas Bulwahn wrote:
> Commit a474d3fbe287 ("PCI/MSI: Get rid of PCI_MSI_IRQ_DOMAIN") removes the
> config PCI_MSI_IRQ_DOMAIN and makes all previous references to that config
> then refer to PCI_MSI instead.
> 
> Commit ba6ed462dcf4 ("PCI: dwc: Add Baikal-T1 PCIe controller support")
> adds the config PCIE_BT1, which following the previous default pattern
> depends on the config PCI_MSI_IRQ_DOMAIN.
> 
> As these two commits were submitted roughly at the same time, the
> refactoring did not take of this occurrence and the addition did not yet
> notice the refactoring.
> 
> Take care of the PCI_MSI config refactoring on this latest addition.

Indeed. I just didn't know about the refactoring. Thanks for submitting
a fixup patch.

Reviewed-by: Serge Semin <fancer.lancer@gmail.com>

-Serge(y)

> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
> ---
>  drivers/pci/controller/dwc/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
> index a0d2713f0e88..99ec91e2a5cf 100644
> --- a/drivers/pci/controller/dwc/Kconfig
> +++ b/drivers/pci/controller/dwc/Kconfig
> @@ -225,7 +225,7 @@ config PCIE_ARTPEC6_EP
>  config PCIE_BT1
>  	tristate "Baikal-T1 PCIe controller"
>  	depends on MIPS_BAIKAL_T1 || COMPILE_TEST
> -	depends on PCI_MSI_IRQ_DOMAIN
> +	depends on PCI_MSI
>  	select PCIE_DW_HOST
>  	help
>  	  Enables support for the PCIe controller in the Baikal-T1 SoC to work
> -- 
> 2.17.1
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] PCI: dwc: adjust to recent removal of PCI_MSI_IRQ_DOMAIN
  2022-12-15 10:34 [PATCH] PCI: dwc: adjust to recent removal of PCI_MSI_IRQ_DOMAIN Lukas Bulwahn
  2022-12-16 15:53 ` Serge Semin
@ 2022-12-30 13:23 ` Lorenzo Pieralisi
  2023-01-03 20:06   ` Bjorn Helgaas
  1 sibling, 1 reply; 4+ messages in thread
From: Lorenzo Pieralisi @ 2022-12-30 13:23 UTC (permalink / raw)
  To: linux-pci, Rob Herring, Lukas Bulwahn, Thomas Gleixner,
	Serge Semin, Bjorn Helgaas, Krzysztof Wilczyński
  Cc: Lorenzo Pieralisi, linux-kernel, kernel-janitors

On Thu, 15 Dec 2022 11:34:52 +0100, Lukas Bulwahn wrote:
> Commit a474d3fbe287 ("PCI/MSI: Get rid of PCI_MSI_IRQ_DOMAIN") removes the
> config PCI_MSI_IRQ_DOMAIN and makes all previous references to that config
> then refer to PCI_MSI instead.
> 
> Commit ba6ed462dcf4 ("PCI: dwc: Add Baikal-T1 PCIe controller support")
> adds the config PCIE_BT1, which following the previous default pattern
> depends on the config PCI_MSI_IRQ_DOMAIN.
> 
> [...]

Applied to pci/dwc, thanks!

[1/1] PCI: dwc: adjust to recent removal of PCI_MSI_IRQ_DOMAIN
      https://git.kernel.org/lpieralisi/pci/c/3c9686173220

Thanks,
Lorenzo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] PCI: dwc: adjust to recent removal of PCI_MSI_IRQ_DOMAIN
  2022-12-30 13:23 ` Lorenzo Pieralisi
@ 2023-01-03 20:06   ` Bjorn Helgaas
  0 siblings, 0 replies; 4+ messages in thread
From: Bjorn Helgaas @ 2023-01-03 20:06 UTC (permalink / raw)
  To: Lorenzo Pieralisi
  Cc: linux-pci, Rob Herring, Lukas Bulwahn, Thomas Gleixner,
	Serge Semin, Bjorn Helgaas, Krzysztof Wilczyński,
	linux-kernel, kernel-janitors

On Fri, Dec 30, 2022 at 02:23:38PM +0100, Lorenzo Pieralisi wrote:
> On Thu, 15 Dec 2022 11:34:52 +0100, Lukas Bulwahn wrote:
> > Commit a474d3fbe287 ("PCI/MSI: Get rid of PCI_MSI_IRQ_DOMAIN") removes the
> > config PCI_MSI_IRQ_DOMAIN and makes all previous references to that config
> > then refer to PCI_MSI instead.
> > 
> > Commit ba6ed462dcf4 ("PCI: dwc: Add Baikal-T1 PCIe controller support")
> > adds the config PCIE_BT1, which following the previous default pattern
> > depends on the config PCI_MSI_IRQ_DOMAIN.
> > 
> > [...]
> 
> Applied to pci/dwc, thanks!
> 
> [1/1] PCI: dwc: adjust to recent removal of PCI_MSI_IRQ_DOMAIN
>       https://git.kernel.org/lpieralisi/pci/c/3c9686173220

Since both commits appeared in v6.2-rc1, I cherry-picked the fix to
for-linus so we can get it in v6.2.

Lorenzo, can you drop it from your pci/dwc branch so we don't end up
with a duplicate?

Bjorn

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-03 20:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-15 10:34 [PATCH] PCI: dwc: adjust to recent removal of PCI_MSI_IRQ_DOMAIN Lukas Bulwahn
2022-12-16 15:53 ` Serge Semin
2022-12-30 13:23 ` Lorenzo Pieralisi
2023-01-03 20:06   ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox