Skip to contentSkip to conversation

dt-bindings: pci: layerscape-pci: add compatible strings "fsl,ls1028a-pcie"

PATCH Applied Xiaowei Bao 7 participants 18 messages Sep 2, 2019 – Feb 26, 2020

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH v6 1/3 dt-bindings: pci: layerscape-pci: add compatible strings "fsl,ls1028a-pcie"

Add the PCIe compatible string for LS1028A

---
v2:
- No change.
v3:
- No change.
v4:
- No change.
v5:
- No change.
v6:
- No change.

 Documentation/devicetree/bindings/pci/layerscape-pci.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pci/layerscape-pci.txt +1 -0
index e20ceaa..99a386e 100644
@@ -21,6 +21,7 @@ Required properties:
         "fsl,ls1046a-pcie"
         "fsl,ls1043a-pcie"
         "fsl,ls1012a-pcie"
+        "fsl,ls1028a-pcie"
   EP mode:
 	"fsl,ls1046a-pcie-ep", "fsl,ls-pcie-ep"
 - reg: base addresses and lengths of the PCIe controller register blocks.
Signature · 1 line
2.9.5
#1 lore raw

PATCH v6 2/3 arm64: dts: ls1028a: Add PCIe controller DT nodes

LS1028a implements 2 PCIe 3.0 controllers.

---
v2:
- Fix up the legacy INTx allocate failed issue.
v3:
- No change.
v4:
- Remove the num-lanes property.
v5:
- Add the num-viewport property.
v6:
- move num-viewport to 8.

 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 52 ++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +52 -0
index 72b9a75..c043b1d 100644
@@ -625,6 +625,58 @@
 			};
 		};
 
+		pcie@3400000 {
+			compatible = "fsl,ls1028a-pcie";
+			reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
+			       0x80 0x00000000 0x0 0x00002000>; /* configuration space */
+			reg-names = "regs", "config";
+			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
+				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
+			interrupt-names = "pme", "aer";
+			#address-cells = <3>;
+			#size-cells = <2>;
+			device_type = "pci";
+			dma-coherent;
+			num-viewport = <8>;
+			bus-range = <0x0 0xff>;
+			ranges = <0x81000000 0x0 0x00000000 0x80 0x00010000 0x0 0x00010000   /* downstream I/O */
+				  0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
+			msi-parent = <&its>;
+			#interrupt-cells = <1>;
+			interrupt-map-mask = <0 0 0 7>;
+			interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 2 &gic 0 0 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 3 &gic 0 0 GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 4 &gic 0 0 GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disabled";
+		};
+
+		pcie@3500000 {
+			compatible = "fsl,ls1028a-pcie";
+			reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
+			       0x88 0x00000000 0x0 0x00002000>; /* configuration space */
+			reg-names = "regs", "config";
+			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "pme", "aer";
+			#address-cells = <3>;
+			#size-cells = <2>;
+			device_type = "pci";
+			dma-coherent;
+			num-viewport = <8>;
+			bus-range = <0x0 0xff>;
+			ranges = <0x81000000 0x0 0x00000000 0x88 0x00010000 0x0 0x00010000   /* downstream I/O */
+				  0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
+			msi-parent = <&its>;
+			#interrupt-cells = <1>;
+			interrupt-map-mask = <0 0 0 7>;
+			interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 2 &gic 0 0 GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 3 &gic 0 0 GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 4 &gic 0 0 GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disabled";
+		};
+
 		pcie@1f0000000 { /* Integrated Endpoint Root Complex */
 			compatible = "pci-host-ecam-generic";
 			reg = <0x01 0xf0000000 0x0 0x100000>;
Signature · 1 line
2.9.5
Tested-by on v6 2/3
#2 lore raw

Re: [PATCH v6 2/3] arm64: dts: ls1028a: Add PCIe controller DT nodes

Hi Xiaowei, Hi Shawn,

Quoted 1 line

LS1028a implements 2 PCIe 3.0 controllers.

Patch 1/3 and 3/3 are in Linus' tree but nobody seems to care about this patch anymore :(

This doesn't work well with the IOMMU, because the iommu-map property is missing. The bootloader needs the &smmu phandle to fixup the entry. See below.

Shawn, will you add this patch to your tree once its fixed, considering it just adds the device tree node for the LS1028A?

Quoted 33 lines

---
v2:
- Fix up the legacy INTx allocate failed issue.
v3:
- No change.
v4:
- Remove the num-lanes property.
v5:
- Add the num-viewport property.
v6:
- move num-viewport to 8.

 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 52 ++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +7 -0
index 72b9a75..c043b1d 100644
@@ -625,6 +625,58 @@
 			};
 		};
 
+		pcie@3400000 {
+			compatible = "fsl,ls1028a-pcie";
+			reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
+			       0x80 0x00000000 0x0 0x00002000>; /* configuration space */
+			reg-names = "regs", "config";
+			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
+				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */

arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi line 644

Quoted 10 lines
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +10 -0
+			interrupt-names = "pme", "aer";
+			#address-cells = <3>;
+			#size-cells = <2>;
+			device_type = "pci";
+			dma-coherent;
+			num-viewport = <8>;
+			bus-range = <0x0 0xff>;
+			ranges = <0x81000000 0x0 0x00000000 0x80 0x00010000 0x0 0x00010000   /* downstream I/O */
+				  0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
+			msi-parent = <&its>;

iommu-map = <0 &smmu 0 0>; /* fixed up by bootloader */

Quoted 16 lines
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +16 -0
+			#interrupt-cells = <1>;
+			interrupt-map-mask = <0 0 0 7>;
+			interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 2 &gic 0 0 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 3 &gic 0 0 GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 4 &gic 0 0 GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disabled";
+		};
+
+		pcie@3500000 {
+			compatible = "fsl,ls1028a-pcie";
+			reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
+			       0x88 0x00000000 0x0 0x00002000>; /* configuration space */
+			reg-names = "regs", "config";
+			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;

arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi line 670

Quoted 10 lines
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +10 -0
+			interrupt-names = "pme", "aer";
+			#address-cells = <3>;
+			#size-cells = <2>;
+			device_type = "pci";
+			dma-coherent;
+			num-viewport = <8>;
+			bus-range = <0x0 0xff>;
+			ranges = <0x81000000 0x0 0x00000000 0x88 0x00010000 0x0 0x00010000   /* downstream I/O */
+				  0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
+			msi-parent = <&its>;

likewise

With these two fixes:

-michael

Quoted 16 lines
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +9 -0
+			#interrupt-cells = <1>;
+			interrupt-map-mask = <0 0 0 7>;
+			interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 2 &gic 0 0 GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 3 &gic 0 0 GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
+					<0000 0 0 4 &gic 0 0 GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disabled";
+		};
+
 		pcie@1f0000000 { /* Integrated Endpoint Root Complex */
 			compatible = "pci-host-ecam-generic";
 			reg = <0x01 0xf0000000 0x0 0x100000>;
Signature · 1 line
2.9.5
#3 lore raw

Re: [PATCH v6 2/3] arm64: dts: ls1028a: Add PCIe controller DT nodes

Quoted 7 lines · Michael Walle

Hi Xiaowei, Hi Shawn,

Quoted 1 line

LS1028a implements 2 PCIe 3.0 controllers.

Patch 1/3 and 3/3 are in Linus' tree but nobody seems to care about this patch anymore :(

Quoted 6 lines

This doesn't work well with the IOMMU, because the iommu-map property is missing. The bootloader needs the &smmu phandle to fixup the entry. See below.

Shawn, will you add this patch to your tree once its fixed, considering it just adds the device tree node for the LS1028A?

The patch/thread is a bit aged. You may want to send an updated patch for discussion.

Shawn

Quoted 4 lines
Quoted 4 lines
#4 lore raw

Re: [PATCH v6 2/3] arm64: dts: ls1028a: Add PCIe controller DT nodes

Hi Shawn, all,

Am 2020-02-24 09:43, schrieb Shawn Guo:

Quoted 12 lines · Michael Walle
Quoted 11 lines

Hi Xiaowei, Hi Shawn,

Quoted 1 line

LS1028a implements 2 PCIe 3.0 controllers.

Patch 1/3 and 3/3 are in Linus' tree but nobody seems to care about this patch anymore :(

This doesn't work well with the IOMMU, because the iommu-map property is missing. The bootloader needs the &smmu phandle to fixup the entry. See below.

Quoted 5 lines
Quoted 2 lines

Shawn, will you add this patch to your tree once its fixed, considering it just adds the device tree node for the LS1028A?

The patch/thread is a bit aged. You may want to send an updated patch for discussion.

So should I just pick up the patch add my two fixes and send it again? What about the Signed-off-by tags? Leave them? Replace them? Add mine?

-michael

#5 lore raw

RE: [PATCH v6 2/3] arm64: dts: ls1028a: Add PCIe controller DT nodes

Hi Michael and Shawn,

I'll update the patch with iommu-map property.

Thanks,
Zhiqiang

Quoted 43 lines

-----Original Message-----
From: Michael Walle <[email protected]>
Sent: 2020年2月24日 16:54
To: Shawn Guo <[email protected]>
Cc: Xiaowei Bao <[email protected]>; Z.q. Hou <[email protected]>; [email protected]; [email protected]; Leo Li <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; M.h. Lian <[email protected]>; Mingkai Hu <[email protected]>; [email protected]; Roy Zang <[email protected]>
Subject: Re: [PATCH v6 2/3] arm64: dts: ls1028a: Add PCIe controller DT nodes

Hi Shawn, all,

Am 2020-02-24 09:43, schrieb Shawn Guo:

Quoted 14 lines · Michael Walle
Quoted 13 lines

Hi Xiaowei, Hi Shawn,

Quoted 1 line

LS1028a implements 2 PCIe 3.0 controllers.

Patch 1/3 and 3/3 are in Linus' tree but nobody seems to care about this patch anymore :(

This doesn't work well with the IOMMU, because the iommu-map property is missing. The bootloader needs the &smmu phandle to fixup the entry.
See
below.

Quoted 5 lines
Quoted 2 lines

Shawn, will you add this patch to your tree once its fixed, considering it just adds the device tree node for the LS1028A?

The patch/thread is a bit aged. You may want to send an updated patch for discussion.

So should I just pick up the patch add my two fixes and send it again? What about
the Signed-off-by tags? Leave them? Replace them? Add mine?

-michael

#6 lore raw

Re: [PATCH v6 2/3] arm64: dts: ls1028a: Add PCIe controller DT nodes

Am 2020-02-24 10:22, schrieb Z.q. Hou:

Quoted 3 lines

Hi Michael and Shawn,

I'll update the patch with iommu-map property.

friendly ping :)

-michael

Quoted 47 lines

Thanks,
Zhiqiang

Quoted 43 lines

-----Original Message-----
From: Michael Walle <[email protected]>
Sent: 2020年2月24日 16:54
To: Shawn Guo <[email protected]>
Cc: Xiaowei Bao <[email protected]>; Z.q. Hou <[email protected]>; [email protected]; [email protected]; Leo Li <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; M.h. Lian <[email protected]>; Mingkai Hu <[email protected]>; [email protected]; Roy Zang <[email protected]>
Subject: Re: [PATCH v6 2/3] arm64: dts: ls1028a: Add PCIe controller DT nodes

Hi Shawn, all,

Am 2020-02-24 09:43, schrieb Shawn Guo:

Quoted 14 lines · Michael Walle
Quoted 13 lines

Hi Xiaowei, Hi Shawn,

Quoted 1 line

LS1028a implements 2 PCIe 3.0 controllers.

Patch 1/3 and 3/3 are in Linus' tree but nobody seems to care about this patch anymore :(

This doesn't work well with the IOMMU, because the iommu-map property is missing. The bootloader needs the &smmu phandle to fixup the entry.
See
below.

Quoted 5 lines
Quoted 2 lines

Shawn, will you add this patch to your tree once its fixed, considering it just adds the device tree node for the LS1028A?

The patch/thread is a bit aged. You may want to send an updated patch for discussion.

So should I just pick up the patch add my two fixes and send it again? What about
the Signed-off-by tags? Leave them? Replace them? Add mine?

-michael

#7 lore raw

PATCH v6 3/3 PCI: layerscape: Add LS1028a support

In reply to Xiaowei Bao

Add support for the LS1028a PCIe controller.

---
v2:
- No change.
v3:
- Reuse the ls2088 driver data structurt.
v4:
- No change.
v5:
- No change.
v6:
- No change.

 drivers/pci/controller/dwc/pci-layerscape.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pci/controller/dwc/pci-layerscape.c +1 -0
index 3a5fa26..f24f79a 100644
@@ -263,6 +263,7 @@ static const struct ls_pcie_drvdata ls2088_drvdata = {
 static const struct of_device_id ls_pcie_of_match[] = {
 	{ .compatible = "fsl,ls1012a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
+	{ .compatible = "fsl,ls1028a-pcie", .data = &ls2088_drvdata },
 	{ .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
 	{ .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
Signature · 1 line
2.9.5
#8 lore raw

Re: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

Quoted 24 lines · Xiaowei Bao

Add support for the LS1028a PCIe controller.

---
v2:
- No change.
v3:
- Reuse the ls2088 driver data structurt.
v4:
- No change.
v5:
- No change.
v6:
- No change.

 drivers/pci/controller/dwc/pci-layerscape.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pci/controller/dwc/pci-layerscape.c +0 -0
index 3a5fa26..f24f79a 100644

drivers/pci/controller/dwc/pci-layerscape.c static const struct ls_pcie_drvdata ls2088_drvdata = { · line 266

Quoted 4 lines
drivers/pci/controller/dwc/pci-layerscape.c +1 -0
@@ -263,6 +263,7 @@ static const struct ls_pcie_drvdata ls2088_drvdata = {
 static const struct of_device_id ls_pcie_of_match[] = {
 	{ .compatible = "fsl,ls1012a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
+	{ .compatible = "fsl,ls1028a-pcie", .data = &ls2088_drvdata },

I think you can save this driver change by using "fsl,ls2088a-pcie" as compatible fallback like below.

  compatible = "fsl,ls1028a-pcie", "fsl,ls2088a-pcie";

Shawn

Quoted 6 lines
drivers/pci/controller/dwc/pci-layerscape.c +0 -0
 	{ .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
 	{ .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
Signature · 1 line
2.9.5
#9 lore raw

RE: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

Quoted 49 lines

-----Original Message-----
From: Shawn Guo <[email protected]>
Sent: 2019年10月3日 17:11
To: Xiaowei Bao <[email protected]>
Cc: [email protected]; [email protected]; Leo Li <[email protected]>; M.h. Lian <[email protected]>; Mingkai Hu <[email protected]>; Roy Zang <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Z.q. Hou <[email protected]>
Subject: Re: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

Quoted 25 lines · Xiaowei Bao

Add support for the LS1028a PCIe controller.

---
v2:
- No change.
v3:
- Reuse the ls2088 driver data structurt.
v4:
- No change.
v5:
- No change.
v6:
- No change.

 drivers/pci/controller/dwc/pci-layerscape.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pci/controller/dwc/pci-layerscape.c +0 -0
index 3a5fa26..f24f79a 100644

drivers/pci/controller/dwc/pci-layerscape.c static const struct ls_pcie_drvdata ls2088_drvdata · line 266

Quoted 4 lines
drivers/pci/controller/dwc/pci-layerscape.c +1 -0
@@ -263,6 +263,7 @@ static const struct ls_pcie_drvdata ls2088_drvdata
 = {  static const struct of_device_id ls_pcie_of_match[] = {
 	{ .compatible = "fsl,ls1012a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
+	{ .compatible = "fsl,ls1028a-pcie", .data = &ls2088_drvdata },

I think you can save this driver change by using "fsl,ls2088a-pcie" as compatible fallback like below.

Quoted 1 line
  compatible = "fsl,ls1028a-pcie", "fsl,ls2088a-pcie";

Yes, it is ok to do so, but according to the previous code, I think add a new compatible " fsl,ls1028a-pcie " to driver is better.

Thanks
Xiaowei

Quoted 9 lines

Shawn

Quoted 6 lines
drivers/pci/controller/dwc/pci-layerscape.c +0 -1
 	{ .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
 	{ .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
--

2.9.5

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Reviewed-by on v6 3/3
#10 lore raw

Re: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

In reply to Xiaowei Bao
Quoted 24 lines · Xiaowei Bao

Add support for the LS1028a PCIe controller.

---
v2:
- No change.
v3:
- Reuse the ls2088 driver data structurt.
v4:
- No change.
v5:
- No change.
v6:
- No change.

 drivers/pci/controller/dwc/pci-layerscape.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pci/controller/dwc/pci-layerscape.c +0 -0
index 3a5fa26..f24f79a 100644

drivers/pci/controller/dwc/pci-layerscape.c static const struct ls_pcie_drvdata ls2088_drvdata = { · line 269

Quoted 7 lines
drivers/pci/controller/dwc/pci-layerscape.c +1 -0
@@ -263,6 +263,7 @@ static const struct ls_pcie_drvdata ls2088_drvdata = {
 static const struct of_device_id ls_pcie_of_match[] = {
 	{ .compatible = "fsl,ls1012a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
+	{ .compatible = "fsl,ls1028a-pcie", .data = &ls2088_drvdata },
 	{ .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
 	{ .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
Quoted 3 lines
Signature · 1 line
2.9.5
#11 lore raw

Re: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

In reply to Xiaowei Bao
Quoted 16 lines · Xiaowei Bao

Add support for the LS1028a PCIe controller.

---
v2:
- No change.
v3:
- Reuse the ls2088 driver data structurt.
v4:
- No change.
v5:
- No change.
v6:
- No change.

Quoted 2 lines
 drivers/pci/controller/dwc/pci-layerscape.c | 1 +
 1 file changed, 1 insertion(+)

I have not seen any comment on any layerscape driver patches coming from the maintainers as listed in the MAINTAINERS file (and CCed in this series).

I request maintainers ACK on these patches and I expect them to start reviewing your code if they want to be still considered maintainers for this driver.

The changes look OK minus Shawn's remark on compatible string that was ignored.

Thanks,
Lorenzo

Quoted 15 lines
drivers/pci/controller/dwc/pci-layerscape.c +1 -0
index 3a5fa26..f24f79a 100644
@@ -263,6 +263,7 @@ static const struct ls_pcie_drvdata ls2088_drvdata = {
 static const struct of_device_id ls_pcie_of_match[] = {
 	{ .compatible = "fsl,ls1012a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
+	{ .compatible = "fsl,ls1028a-pcie", .data = &ls2088_drvdata },
 	{ .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
 	{ .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
Signature · 1 line
2.9.5
#12 lore raw

RE: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

Quoted 38 lines

-----Original Message-----
From: Lorenzo Pieralisi <[email protected]>
Sent: 2019年11月5日 20:33
To: Xiaowei Bao <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Leo Li <[email protected]>; M.h. Lian <[email protected]>; Mingkai Hu <[email protected]>; Roy Zang <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Z.q. Hou <[email protected]>
Subject: Re: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

Quoted 16 lines · Xiaowei Bao

Add support for the LS1028a PCIe controller.

---
v2:
- No change.
v3:
- Reuse the ls2088 driver data structurt.
v4:
- No change.
v5:
- No change.
v6:
- No change.

Quoted 2 lines
 drivers/pci/controller/dwc/pci-layerscape.c | 1 +
 1 file changed, 1 insertion(+)

I have not seen any comment on any layerscape driver patches coming from the maintainers as listed in the MAINTAINERS file (and CCed in this series).

Quoted 6 lines

I request maintainers ACK on these patches and I expect them to start reviewing your code if they want to be still considered maintainers for this driver.

The changes look OK minus Shawn's remark on compatible string that was ignored.

Hi Lorenzo,

Thanks for your comments.

In fact, the patches have reviewed in our internal mail list, after the review by Minghuan and Mingkai, I will send these patches to opensource, they will give the ACK when these patches seems is OK and no comments on this.

Thanks
Xiaowei

Quoted 20 lines

Thanks,
Lorenzo

Quoted 16 lines
drivers/pci/controller/dwc/pci-layerscape.c +1 -1
index 3a5fa26..f24f79a 100644
@@ -263,6 +263,7 @@ static const struct ls_pcie_drvdata ls2088_drvdata
 = {  static const struct of_device_id ls_pcie_of_match[] = {
 	{ .compatible = "fsl,ls1012a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
+	{ .compatible = "fsl,ls1028a-pcie", .data = &ls2088_drvdata },
 	{ .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
 	{ .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
--

2.9.5

maintainer Acked-by
#13 lore raw

RE: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

Hi Lorenzo,

Sorry for the late reply.

Thanks,
Minghuan

Quoted 92 lines

-----Original Message-----
From: Xiaowei Bao <[email protected]>
Sent: Wednesday, November 6, 2019 11:36 AM
To: Lorenzo Pieralisi <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Leo Li <[email protected]>; M.h. Lian <[email protected]>; Mingkai Hu <[email protected]>; Roy Zang <[email protected]>; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]; linuxppc- [email protected]; [email protected]; Z.q. Hou <[email protected]>
Subject: RE: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

Quoted 5 lines

-----Original Message-----
From: Lorenzo Pieralisi <[email protected]>
Sent: 2019年11月5日 20:33
To: Xiaowei Bao <[email protected]>
Cc: [email protected]; [email protected]; [email protected];

Leo

Quoted 1 line

Li <[email protected]>; M.h. Lian <[email protected]>; Mingkai

Hu

Quoted 24 lines

<[email protected]>; Roy Zang <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Z.q. Hou <[email protected]>
Subject: Re: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

Quoted 16 lines · Xiaowei Bao

Add support for the LS1028a PCIe controller.

---
v2:
- No change.
v3:
- Reuse the ls2088 driver data structurt.
v4:
- No change.
v5:
- No change.
v6:
- No change.

Quoted 5 lines
Quoted 2 lines
 drivers/pci/controller/dwc/pci-layerscape.c | 1 +
 1 file changed, 1 insertion(+)

I have not seen any comment on any layerscape driver patches coming from the maintainers as listed in the MAINTAINERS file (and CCed in this

series).

Quoted 7 lines

I request maintainers ACK on these patches and I expect them to start reviewing your code if they want to be still considered maintainers for this driver.

The changes look OK minus Shawn's remark on compatible string that was ignored.

Hi Lorenzo,

Thanks for your comments.

In fact, the patches have reviewed in our internal mail list, after the review by Minghuan and Mingkai, I will send these patches to opensource, they will give the ACK when these patches seems is OK and no comments on this.

Thanks
Xiaowei

Quoted 20 lines

Thanks,
Lorenzo

Quoted 16 lines
drivers/pci/controller/dwc/pci-layerscape.c +1 -1
index 3a5fa26..f24f79a 100644
@@ -263,6 +263,7 @@ static const struct ls_pcie_drvdata
 ls2088_drvdata = {  static const struct of_device_id ls_pcie_of_match[] = {
 	{ .compatible = "fsl,ls1012a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
+	{ .compatible = "fsl,ls1028a-pcie", .data = &ls2088_drvdata },
 	{ .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
 	{ .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
--

2.9.5

#14 lore raw

Re: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

Quoted 5 lines · M.h. Lian

Hi Lorenzo,

Sorry for the late reply.

https://en.wikipedia.org/wiki/Posting_style#Top-posting

Never top-post on kernel mailing lists.

Thanks,
Lorenzo

Quoted 95 lines

Thanks,
Minghuan

Quoted 92 lines

-----Original Message-----
From: Xiaowei Bao <[email protected]>
Sent: Wednesday, November 6, 2019 11:36 AM
To: Lorenzo Pieralisi <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Leo Li <[email protected]>; M.h. Lian <[email protected]>; Mingkai Hu <[email protected]>; Roy Zang <[email protected]>; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]; linuxppc- [email protected]; [email protected]; Z.q. Hou <[email protected]>
Subject: RE: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

Quoted 5 lines

-----Original Message-----
From: Lorenzo Pieralisi <[email protected]>
Sent: 2019年11月5日 20:33
To: Xiaowei Bao <[email protected]>
Cc: [email protected]; [email protected]; [email protected];

Leo

Quoted 1 line

Li <[email protected]>; M.h. Lian <[email protected]>; Mingkai

Hu

Quoted 24 lines

<[email protected]>; Roy Zang <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Z.q. Hou <[email protected]>
Subject: Re: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

Quoted 16 lines · Xiaowei Bao

Add support for the LS1028a PCIe controller.

---
v2:
- No change.
v3:
- Reuse the ls2088 driver data structurt.
v4:
- No change.
v5:
- No change.
v6:
- No change.

Quoted 5 lines
Quoted 2 lines
 drivers/pci/controller/dwc/pci-layerscape.c | 1 +
 1 file changed, 1 insertion(+)

I have not seen any comment on any layerscape driver patches coming from the maintainers as listed in the MAINTAINERS file (and CCed in this

series).

Quoted 7 lines

I request maintainers ACK on these patches and I expect them to start reviewing your code if they want to be still considered maintainers for this driver.

The changes look OK minus Shawn's remark on compatible string that was ignored.

Hi Lorenzo,

Thanks for your comments.

In fact, the patches have reviewed in our internal mail list, after the review by Minghuan and Mingkai, I will send these patches to opensource, they will give the ACK when these patches seems is OK and no comments on this.

Thanks
Xiaowei

Quoted 20 lines

Thanks,
Lorenzo

Quoted 16 lines
drivers/pci/controller/dwc/pci-layerscape.c +1 -1
index 3a5fa26..f24f79a 100644
@@ -263,6 +263,7 @@ static const struct ls_pcie_drvdata
 ls2088_drvdata = {  static const struct of_device_id ls_pcie_of_match[] = {
 	{ .compatible = "fsl,ls1012a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
+	{ .compatible = "fsl,ls1028a-pcie", .data = &ls2088_drvdata },
 	{ .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
 	{ .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
 	{ .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
--

2.9.5

Reviewed-by on v6 1/3
#15 lore raw
In reply to Xiaowei Bao
Quoted 6 lines · Xiaowei Bao

Add the PCIe compatible string for LS1028A

---

Quoted 29 lines

v2:
- No change.
v3:
- No change.
v4:
- No change.
v5:
- No change.
v6:
- No change.

 Documentation/devicetree/bindings/pci/layerscape-pci.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pci/layerscape-pci.txt +1 -0
index e20ceaa..99a386e 100644
@@ -21,6 +21,7 @@ Required properties:
         "fsl,ls1046a-pcie"
         "fsl,ls1043a-pcie"
         "fsl,ls1012a-pcie"
+        "fsl,ls1028a-pcie"
   EP mode:
 	"fsl,ls1046a-pcie-ep", "fsl,ls-pcie-ep"
 - reg: base addresses and lengths of the PCIe controller register blocks.
Signature · 1 line
2.9.5
#16 lore raw
In reply to Xiaowei Bao
Quoted 1 line · Xiaowei Bao

Add the PCIe compatible string for LS1028A

Sentences must be terminated with a period.

Quoted 23 lines

---
v2:
- No change.
v3:
- No change.
v4:
- No change.
v5:
- No change.
v6:
- No change.

 Documentation/devicetree/bindings/pci/layerscape-pci.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pci/layerscape-pci.txt +0 -0
index e20ceaa..99a386e 100644

Documentation/devicetree/bindings/pci/layerscape-pci.txt Required properties: · line 27

Quoted 7 lines
Documentation/devicetree/bindings/pci/layerscape-pci.txt +1 -0
@@ -21,6 +21,7 @@ Required properties:
         "fsl,ls1046a-pcie"
         "fsl,ls1043a-pcie"
         "fsl,ls1012a-pcie"
+        "fsl,ls1028a-pcie"
   EP mode:
 	"fsl,ls1046a-pcie-ep", "fsl,ls-pcie-ep"
 - reg: base addresses and lengths of the PCIe controller register blocks.

I have applied this series to pci/layerscape, thanks.

Lorenzo

#17 lore raw
Quoted 41 lines

-----Original Message-----
From: Lorenzo Pieralisi <[email protected]>
Sent: 2019年11月7日 0:10
To: Xiaowei Bao <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Leo Li <[email protected]>; M.h. Lian <[email protected]>; Mingkai Hu <[email protected]>; Roy Zang <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Z.q. Hou <[email protected]>
Subject: Re: [PATCH v6 1/3] dt-bindings: pci: layerscape-pci: add compatible strings "fsl,ls1028a-pcie"

Quoted 1 line · Xiaowei Bao

Add the PCIe compatible string for LS1028A

Sentences must be terminated with a period.

Quoted 15 lines

---
v2:
- No change.
v3:
- No change.
v4:
- No change.
v5:
- No change.
v6:
- No change.

Review

Quoted 4 lines
 Documentation/devicetree/bindings/pci/layerscape-pci.txt | 1 +
 1 file changed, 1 insertion(+)
(quoted diff) +0 -0

b/Documentation/devicetree/bindings/pci/layerscape-pci.txt

Quoted 13 lines

Documentation/devicetree/bindings/pci/layerscape-pci.txt Required properties: · line 27

Quoted 11 lines

index e20ceaa..99a386e 100644

Documentation/devicetree/bindings/pci/layerscape-pci.txt +1 -0
@@ -21,6 +21,7 @@ Required properties:
         "fsl,ls1046a-pcie"
         "fsl,ls1043a-pcie"
         "fsl,ls1012a-pcie"
+        "fsl,ls1028a-pcie"
   EP mode:
 	"fsl,ls1046a-pcie-ep", "fsl,ls-pcie-ep"
 - reg: base addresses and lengths of the PCIe controller register blocks.

I have applied this series to pci/layerscape, thanks.

Thank you for your corrections and comments, I will pay attention to the details and quality of each patch in the future.

Quoted 2 lines

Lorenzo