Thread (14 messages) read the whole thread 14 messages, 6 authors, 2022-01-28

Re: [PATCH v21 3/4] PCI: microchip: Add host driver for Microchip PCIe controller

From: Ben Dooks <hidden>
Date: 2021-02-11 13:51:43
Also in: linux-devicetree

On 10/02/2021 13:07, Geert Uytterhoeven wrote:
Hi Daire,

On Mon, Jan 25, 2021 at 5:33 PM [off-list ref] wrote:
quoted
From: Daire McNamara <daire.mcnamara@microchip.com>

Add support for the Microchip PolarFire PCIe controller when
configured in host (Root Complex) mode.

Signed-off-by: Daire McNamara <daire.mcnamara@microchip.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Thanks for your patch!
quoted
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -298,6 +298,16 @@ config PCI_LOONGSON
           Say Y here if you want to enable PCI controller support on
           Loongson systems.

+config PCIE_MICROCHIP_HOST
+       bool "Microchip AXI PCIe host bridge support"
+       depends on PCI_MSI && OF
+       select PCI_MSI_IRQ_DOMAIN
+       select GENERIC_MSI_IRQ_DOMAIN
+       select PCI_HOST_COMMON
+       help
+         Say Y here if you want kernel to support the Microchip AXI PCIe
+         Host Bridge driver.
Is this PCIe host bridge accessible only from the PolarFire RISC-V
CPU cores, or also from softcores implemented in the PolarFire FPGA?

In case of the former, we want to add a

     depends on CONFIG_SOC_MICROCHIP_POLARFIRE || COMPILE_TEST

I'd say having it on COMPILE_TEST if there's no polarfire includes
would be useful to allow compile testing of the driver by the build
robots.


-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help