[PATCH] arm64: defconfig: Enable the Keystone PCIe host and endpoint driver

Aksh Garg posted 1 patch 1 month, 3 weeks ago
arch/arm64/configs/defconfig | 2 ++
1 file changed, 2 insertions(+)
[PATCH] arm64: defconfig: Enable the Keystone PCIe host and endpoint driver
Posted by Aksh Garg 1 month, 3 weeks ago
Enable the PCIe Glue driver for Host and Endpoint mode of operation of
the Designware PCIe controller in the Texas Instruments AM65 SoC.

Signed-off-by: Aksh Garg <a-garg7@ti.com>
---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 103f4763b88f..81bc9882afee 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -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
-- 
2.34.1
Re: [PATCH] arm64: defconfig: Enable the Keystone PCIe host and endpoint driver
Posted by Krzysztof Kozlowski 1 month, 3 weeks ago
On 23/02/2026 11:46, Aksh Garg wrote:
> Enable the PCIe Glue driver for Host and Endpoint mode of operation of
> the Designware PCIe controller in the Texas Instruments AM65 SoC.
> 
> Signed-off-by: Aksh Garg <a-garg7@ti.com>
> ---
>  arch/arm64/configs/defconfig | 2 ++
>  1 file changed, 2 insertions(+)

Why are you sending two separate patches one after another?

Best regards,
Krzysztof
Re: [PATCH] arm64: defconfig: Enable the Keystone PCIe host and endpoint driver
Posted by Aksh Garg 1 month, 3 weeks ago

On 23/02/26 16:36, Krzysztof Kozlowski wrote:
> On 23/02/2026 11:46, Aksh Garg wrote:
>> Enable the PCIe Glue driver for Host and Endpoint mode of operation of
>> the Designware PCIe controller in the Texas Instruments AM65 SoC.
>>
>> Signed-off-by: Aksh Garg <a-garg7@ti.com>
>> ---
>>   arch/arm64/configs/defconfig | 2 ++
>>   1 file changed, 2 insertions(+)
> 
> 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.
Re: [PATCH] arm64: defconfig: Enable the Keystone PCIe host and endpoint driver
Posted by Krzysztof Kozlowski 1 month, 3 weeks ago
On 23/02/2026 12:17, Aksh Garg wrote:
> 
> 
> On 23/02/26 16:36, Krzysztof Kozlowski wrote:
>> On 23/02/2026 11:46, Aksh Garg wrote:
>>> Enable the PCIe Glue driver for Host and Endpoint mode of operation of
>>> the Designware PCIe controller in the Texas Instruments AM65 SoC.
>>>
>>> Signed-off-by: Aksh Garg <a-garg7@ti.com>
>>> ---
>>>   arch/arm64/configs/defconfig | 2 ++
>>>   1 file changed, 2 insertions(+)
>>
>> 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
Re: [PATCH] arm64: defconfig: Enable the Keystone PCIe host and endpoint driver
Posted by Aksh Garg 1 month, 3 weeks ago

On 23/02/26 16:55, Krzysztof Kozlowski wrote:
> On 23/02/2026 12:17, Aksh Garg wrote:
>>
>>
>> On 23/02/26 16:36, Krzysztof Kozlowski wrote:
>>> On 23/02/2026 11:46, Aksh Garg wrote:
>>>> Enable the PCIe Glue driver for Host and Endpoint mode of operation of
>>>> the Designware PCIe controller in the Texas Instruments AM65 SoC.
>>>>
>>>> Signed-off-by: Aksh Garg <a-garg7@ti.com>
>>>> ---
>>>>    arch/arm64/configs/defconfig | 2 ++
>>>>    1 file changed, 2 insertions(+)
>>>
>>> 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?
> 

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?

> 
> Best regards,
> Krzysztof
Re: [PATCH] arm64: defconfig: Enable the Keystone PCIe host and endpoint driver
Posted by Krzysztof Kozlowski 1 month, 1 week ago
On 23/02/2026 13:01, Aksh Garg wrote:
> 
> 
> On 23/02/26 16:55, Krzysztof Kozlowski wrote:
>> On 23/02/2026 12:17, Aksh Garg wrote:
>>>
>>>
>>> On 23/02/26 16:36, Krzysztof Kozlowski wrote:
>>>> On 23/02/2026 11:46, Aksh Garg wrote:
>>>>> Enable the PCIe Glue driver for Host and Endpoint mode of operation of
>>>>> the Designware PCIe controller in the Texas Instruments AM65 SoC.
>>>>>
>>>>> Signed-off-by: Aksh Garg <a-garg7@ti.com>
>>>>> ---
>>>>>    arch/arm64/configs/defconfig | 2 ++
>>>>>    1 file changed, 2 insertions(+)
>>>>
>>>> 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?
>>
> 
> 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.

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

> 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.

> 


Best regards,
Krzysztof
Re: [PATCH] arm64: defconfig: Enable the Keystone PCIe host and endpoint driver
Posted by Siddharth Vadapalli 1 month, 3 weeks ago
On Mon, 2026-02-23 at 16:16 +0530, Aksh Garg wrote:
> Enable the PCIe Glue driver for Host and Endpoint mode of operation of
> the Designware PCIe controller in the Texas Instruments AM65 SoC.
> 
> Signed-off-by: Aksh Garg <a-garg7@ti.com>

Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>

> ---
>  arch/arm64/configs/defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 103f4763b88f..81bc9882afee 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -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.