[PATCHv4 3/3] ARMv8: pcie: make the DWC EP driver support for layerscape

2017-11-09 Thread Bao Xiaowei
Layerscape pcie controllers support RC or EP mode, Add the EP mode support in Kconfig, the driver will support both RC and EP mode, and the driver is able to judge the pcie controllers work on RC or EP mode. Signed-off-by: Bao Xiaowei Acked-by: Minghuan Lian --- v2: no change v3: no change

[PATCHv4 2/3] ARMv8: layerscape: add the pcie ep function support

2017-11-09 Thread Bao Xiaowei
Add the pcie controller ep function support of layerscape base on pcie ep framework. Signed-off-by: Bao Xiaowei --- v2: - fix the ioremap function used but no ioumap issue - optimize the code structure - add code comments v3: - fix the msi outband window request failed issue v4

[PATCHv4 1/3] ARMv8: dts: ls1046a: add the property of IB and OB

2017-11-09 Thread Bao Xiaowei
Add the property of inbound and outbound windows number for ep driver. Signed-off-by: Bao Xiaowei Acked-by: Minghuan Lian --- v2: - no change v3: - modify the commit message v4: - no change arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff

[PATCHv4 0/3] dts: Add the property of IB and OB

2017-11-09 Thread Bao Xiaowei
Depend on http://patchwork.ozlabs.org/patch/815382/ Bao Xiaowei (3): ARMv8: dts: ls1046a: add the property of IB and OB ARMv8: layerscape: add the pcie ep function support ARMv8: pcie: make the DWC EP driver support for layerscape arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6

[PATCHv3 3/3] ARMv8: pcie: make the DWC EP driver support for layerscape

2017-11-09 Thread Bao Xiaowei
Layerscape pcie controllers support RC or EP mode, Add the EP mode support in Kconfig, the driver will support both RC and EP mode, and the driver is able to judge the pcie controllers work on RC or EP mode. Signed-off-by: Bao Xiaowei Acked-by: Minghuan Lian --- v2: no change v3: no change

[PATCHv3 2/3] ARMv8: layerscape: add the pcie ep function support

2017-11-09 Thread Bao Xiaowei
Add the pcie controller ep function support of layerscape base on pcie ep framework. Signed-off-by: Bao Xiaowei --- v2: - fix the ioremap function used but no ioumap issue - optimize the code structure - add code comments v3: - fix the msi outband window request failed issue

[PATCHv3 1/3] ARMv8: dts: ls1046a: add the property of IB and OB

2017-11-09 Thread Bao Xiaowei
Add the property of inbound and outbound windows number for ep driver. Signed-off-by: Bao Xiaowei Acked-by: Minghuan Lian --- v2: - no change v3: - modify the commit message arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64

[PATCHv3 0/3] dts: Add the property of IB and OB

2017-11-09 Thread Bao Xiaowei
Depend on http://patchwork.ozlabs.org/patch/815382/ Bao Xiaowei (3): ARMv8: dts: ls1046a: add the property of IB and OB ARMv8: layerscape: add the pcie ep function support ARMv8: pcie: make the DWC EP driver support for layerscape arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6

[PATCH 3/3] ARMv8: pcie: make the DWC EP driver support for layerscape

2017-11-03 Thread Bao Xiaowei
Layerscape pcie controllers support RC or EP mode, Add the EP mode support in Kconfig, the driver will support both RC and EP mode, and the driver is able to judge the pcie controllers work on RC or EP mode. Signed-off-by: Bao Xiaowei Acked-by: Minghuan Lian --- v2: - no change drivers/pci

[PATCH 2/3] ARMv8: layerscape: add the pcie ep function support

2017-11-03 Thread Bao Xiaowei
Add the pcie controller ep function support of layerscape base on pcie ep framework. Signed-off-by: Bao Xiaowei --- v2: - fix the ioremap function used but no ioumap issue - optimize the code structure - add code comments drivers/pci/dwc/pci-layerscape.c | 122

[PATCH 1/3] ARMv8: dts: ls1046a: add the property of IB and OB

2017-11-03 Thread Bao Xiaowei
Add the property of inbind and outbind windows number for ep driver. add the inband or outband window entry for pcie controller ep driver used in dts. Signed-off-by: Bao Xiaowei Acked-by: Minghuan Lian --- v2: - no change arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++ 1 file

[PATCH 0/3] dts: Add the property of IB and OB

2017-11-03 Thread Bao Xiaowei
Depend on http://patchwork.ozlabs.org/patch/815382/ Bao Xiaowei (3): ARMv8: dts: ls1046a: add the property of IB and OB ARMv8: layerscape: add the pcie ep function support ARMv8: pcie: make the DWC EP driver support for layerscape arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6

[PATCH 3/3] ARMv8: pcie: make the DWC EP driver support for layerscape

2017-10-24 Thread Bao Xiaowei
Layerscape pcie controllers support RC or EP mode, Add the EP mode support in Kconfig, the driver will support both RC and EP mode, and the driver is able to judge the pcie controllers work on RC or EP mode. Signed-off-by: Bao Xiaowei --- drivers/pci/dwc/Kconfig | 1 + 1 file changed, 1

[PATCH 2/3] ARMv8: layerscape: add the pcie ep function support

2017-10-24 Thread Bao Xiaowei
Add the pcie controller ep function support of layerscape base on pcie ep framework. Signed-off-by: Bao Xiaowei --- drivers/pci/dwc/pci-layerscape.c | 137 +-- 1 file changed, 131 insertions(+), 6 deletions(-) diff --git a/drivers/pci/dwc/pci-layerscape.c b

[PATCH 1/3] ARMv8: dts: ls1046a: add the property of IB and OB

2017-10-24 Thread Bao Xiaowei
Add the property of inbind and outbind windows number for ep driver. add the inband or outband window entry for pcie controller ep driver used in dts. Signed-off-by: Bao Xiaowei --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch

[PATCH 0/3] dts: Add the property of IB and OB

2017-10-24 Thread Bao Xiaowei
Depend on http://patchwork.ozlabs.org/patch/815382/ Bao Xiaowei (3): ARMv8: dts: ls1046a: add the property of IB and OB ARMv8: layerscape: add the pcie ep function support ARMv8: pcie: make the DWC EP driver support for layerscape arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6