Message ID | 20180801151403.20660-4-hch@lst.de (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
Series | [1/3] PCI: add a callback to struct pci_host_bridge for adding a new device | expand |
On Wed, Aug 01, 2018 at 05:14:03PM +0200, Christoph Hellwig wrote: > There isn't a hard dependency of the Xilinx AXI-PCIe host bridge on any > architecture. For example: at SiFive we map RISC-V cores to Xilinx FPGAs > and connect the Xilinx IP via a TileLink adapter, so the RISC-V Linux > port will need to be able to enable PCIE_XILINX in order to have PCIe > support. > > This patch decouples the PCIE_XILINX support from ARCH. Instead it just > depends on OF, which I believe is the only true dependency. > > Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com> > [hch: switch to OF instead of OF_PCI now that the latter is gone] > Signed-off-by: Christoph Hellwig <hch@lst.de> > --- > drivers/pci/controller/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) I could have taken it for this merge window but unfortunately it is a bit late (ie PCI patches queue is close), I can certainly queue it up for v4.20 though. Lorenzo > diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig > index cc9fa02d32a0..0f7ce5eaeac8 100644 > --- a/drivers/pci/controller/Kconfig > +++ b/drivers/pci/controller/Kconfig > @@ -102,7 +102,7 @@ config PCI_HOST_GENERIC > > config PCIE_XILINX > bool "Xilinx AXI PCIe host bridge support" > - depends on ARCH_ZYNQ || MICROBLAZE || (MIPS && PCI_DRIVERS_GENERIC) || COMPILE_TEST > + depends on OF || COMPILE_TEST > help > Say 'Y' here if you want kernel to support the Xilinx AXI PCIe > Host Bridge driver. > -- > 2.18.0 >
On Thu, Aug 02, 2018 at 05:56:23PM +0100, Lorenzo Pieralisi wrote: > I could have taken it for this merge window but unfortunately it is a > bit late (ie PCI patches queue is close), I can certainly queue it up > for v4.20 though. It is a little sad that we can't take a trivial kconfig patch more than a week before the end of the merge window. But then against given how long a version of this patch has been around and not submitted who am I to complain..
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig index cc9fa02d32a0..0f7ce5eaeac8 100644 --- a/drivers/pci/controller/Kconfig +++ b/drivers/pci/controller/Kconfig @@ -102,7 +102,7 @@ config PCI_HOST_GENERIC config PCIE_XILINX bool "Xilinx AXI PCIe host bridge support" - depends on ARCH_ZYNQ || MICROBLAZE || (MIPS && PCI_DRIVERS_GENERIC) || COMPILE_TEST + depends on OF || COMPILE_TEST help Say 'Y' here if you want kernel to support the Xilinx AXI PCIe Host Bridge driver.