Skip to contentSkip to conversation

arm64: defconfig: Enable the Keystone PCIe host and endpoint driver

PATCH In review Aksh Garg 3 participants 7 messages Feb 23 – Mar 10

lore
Share & tools
lore

Aksh Garg

author
#0 lore raw

PATCH 1/1 arm64: defconfig: Enable the Keystone PCIe host and endpoint driver

Enable the PCIe Glue driver for Host and Endpoint mode of operation of the Designware PCIe controller in the Texas Instruments AM65 SoC.

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index 103f4763b88f..81bc9882afee 100644
@@ -229,6 +229,8 @@ CONFIG_PCIE_BRCMSTB=m
 CONFIG_PCI_HOST_THUNDER_PEM=y
 CONFIG_PCI_HOST_THUNDER_ECAM=y
 CONFIG_PCI_HOST_GENERIC=y
+CONFIG_PCI_KEYSTONE_HOST=m
+CONFIG_PCI_KEYSTONE_EP=m
 CONFIG_PCIE_MEDIATEK_GEN3=m
 CONFIG_PCI_TEGRA=y
 CONFIG_PCIE_RCAR_HOST=y
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Aksh Garg

Enable the PCIe Glue driver for Host and Endpoint mode of operation of the Designware PCIe controller in the Texas Instruments AM65 SoC.

Quoted 9 lines
---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +0 -0
index 103f4763b88f..81bc9882afee 100644

arch/arm64/configs/defconfig CONFIG_PCIE_BRCMSTB=m · line 236

Quoted 8 lines
arch/arm64/configs/defconfig +2 -0
@@ -229,6 +229,8 @@ CONFIG_PCIE_BRCMSTB=m
 CONFIG_PCI_HOST_THUNDER_PEM=y
 CONFIG_PCI_HOST_THUNDER_ECAM=y
 CONFIG_PCI_HOST_GENERIC=y
+CONFIG_PCI_KEYSTONE_HOST=m
+CONFIG_PCI_KEYSTONE_EP=m
 CONFIG_PCIE_MEDIATEK_GEN3=m
 CONFIG_PCI_TEGRA=y
 CONFIG_PCIE_RCAR_HOST=y

Regards,
Siddharth.

#2 lore raw
In reply to Aksh Garg
Quoted 7 lines · Aksh Garg

Enable the PCIe Glue driver for Host and Endpoint mode of operation of the Designware PCIe controller in the Texas Instruments AM65 SoC.

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

Why are you sending two separate patches one after another?

Best regards,
Krzysztof

author
#3 lore raw
Quoted 9 lines · Krzysztof Kozlowski
Quoted 7 lines · Aksh Garg

Enable the PCIe Glue driver for Host and Endpoint mode of operation of the Designware PCIe controller in the Texas Instruments AM65 SoC.

---
  arch/arm64/configs/defconfig | 2 ++
  1 file changed, 2 insertions(+)
Quoted 4 lines

Why are you sending two separate patches one after another?

Best regards,
Krzysztof

As both the patches does not depend on each other, can independently be reviewed, and address different SoCs with different PCIe controllers, I thought it would be better to send them as two separate patches.

#4 lore raw
Quoted 12 lines · Aksh Garg
Quoted 9 lines · Krzysztof Kozlowski
Quoted 7 lines · Aksh Garg

Enable the PCIe Glue driver for Host and Endpoint mode of operation of the Designware PCIe controller in the Texas Instruments AM65 SoC.

---
  arch/arm64/configs/defconfig | 2 ++
  1 file changed, 2 insertions(+)
Quoted 8 lines
Quoted 4 lines

Why are you sending two separate patches one after another?

Best regards,
Krzysztof

As both the patches does not depend on each other, can independently be reviewed, and address different SoCs with different PCIe controllers, I thought it would be better to send them as two separate patches.

So twice more work for us? Why this cannot be one patch?

Best regards,
Krzysztof

author
#5 lore raw
Quoted 15 lines · Krzysztof Kozlowski
Quoted 14 lines · Aksh Garg
Quoted 11 lines · Krzysztof Kozlowski
Quoted 7 lines · Aksh Garg

Enable the PCIe Glue driver for Host and Endpoint mode of operation of the Designware PCIe controller in the Texas Instruments AM65 SoC.

---
   arch/arm64/configs/defconfig | 2 ++
   1 file changed, 2 insertions(+)

Why are you sending two separate patches one after another?

Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

Best regards,
Krzysztof

As both the patches does not depend on each other, can independently be reviewed, and address different SoCs with different PCIe controllers, I thought it would be better to send them as two separate patches.

So twice more work for us? Why this cannot be one patch?

The only commonality between the patches is that they both enable PCIe drivers. However, the patch for J721E PCIe driver only enables the controller for EP mode, as Host mode is already present. On the other hand, the patch for Keystone PCIe driver enables both Host and EP mode of operation. Also as I mentioned, they belong to different SoCs with different PCIe controllers, so I chose to keep them separate.

If I squash both the patches, the subject like: "Enable PCIe drivers for TI SoCs" would be too generic, as TI would have more SoCs in the future. Hence, the squashed patch with this subject might mislead in future.

If you insist me squashing the patches, then would the following subject be acceptable: "Enable J721E and Keystone PCIe drivers" for the squashed patch?

Quoted 3 lines

Best regards,
Krzysztof

#6 lore raw
Quoted 35 lines · Aksh Garg
Quoted 15 lines · Krzysztof Kozlowski
Quoted 14 lines · Aksh Garg
Quoted 11 lines · Krzysztof Kozlowski
Quoted 7 lines · Aksh Garg

Enable the PCIe Glue driver for Host and Endpoint mode of operation of the Designware PCIe controller in the Texas Instruments AM65 SoC.

---
   arch/arm64/configs/defconfig | 2 ++
   1 file changed, 2 insertions(+)

Why are you sending two separate patches one after another?

Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

Best regards,
Krzysztof

As both the patches does not depend on each other, can independently be reviewed, and address different SoCs with different PCIe controllers, I thought it would be better to send them as two separate patches.

So twice more work for us? Why this cannot be one patch?

The only commonality between the patches is that they both enable PCIe drivers. However, the patch for J721E PCIe driver only enables the controller for EP mode, as Host mode is already present. On the other hand, the patch for Keystone PCIe driver enables both Host and EP mode of operation. Also as I mentioned, they belong to different SoCs with different PCIe controllers, so I chose to keep them separate.

Quoted 2 lines

If I squash both the patches, the subject like: "Enable PCIe drivers for TI SoCs" would be too generic, as TI would have more SoCs in the future.

What's wrong with this subject? I see nothing too generic there.

Quoted 5 lines

Hence, the squashed patch with this subject might mislead in future.

If you insist me squashing the patches, then would the following subject be acceptable: "Enable J721E and Keystone PCIe drivers" for the squashed patch?

I do insist. I insisted already.

Quoted 1 line

Best regards,
Krzysztof