Skip to contentSkip to conversation

PCI: dwc: tegra194: Broaden architecture dependency

PATCH Superseded Vidya Sagar 7 participants 19 messages Apr 17, 2025 – Jan 5 1 message not in the archive

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

PATCH v3 1/1 PCI: dwc: tegra194: Broaden architecture dependency

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check, allowing the PCIe controller to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

---
v3:
* Addressed warning from kernel test robot

v2:
* Addressed review comments from Niklas Cassel and Manivannan Sadhasivam

 drivers/pci/controller/dwc/Kconfig | 4 ++--
 drivers/phy/tegra/Kconfig          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/pci/controller/dwc/Kconfig +2 -2
index d9f0386396ed..815b6e0d6a0c 100644
@@ -226,7 +226,7 @@ config PCIE_TEGRA194
 
 config PCIE_TEGRA194_HOST
 	tristate "NVIDIA Tegra194 (and later) PCIe controller (host mode)"
-	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
 	depends on PCI_MSI
 	select PCIE_DW_HOST
 	select PHY_TEGRA194_P2U
@@ -241,7 +241,7 @@ config PCIE_TEGRA194_HOST
 
 config PCIE_TEGRA194_EP
 	tristate "NVIDIA Tegra194 (and later) PCIe controller (endpoint mode)"
-	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
 	depends on PCI_ENDPOINT
 	select PCIE_DW_EP
 	select PHY_TEGRA194_P2U
drivers/phy/tegra/Kconfig +1 -1
index f30cfb42b210..342fb736da4b 100644
@@ -13,7 +13,7 @@ config PHY_TEGRA_XUSB
 
 config PHY_TEGRA194_P2U
 	tristate "NVIDIA Tegra194 PIPE2UPHY PHY driver"
-	depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA || COMPILE_TEST
 	select GENERIC_PHY
 	help
 	  Enable this to support the P2U (PIPE to UPHY) that is part of Tegra 19x
Signature · 1 line
2.25.1
#1 lore raw

+CC PHY maintainer.

Quoted 56 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check, allowing the PCIe controller to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

---
v3:
* Addressed warning from kernel test robot

v2:
* Addressed review comments from Niklas Cassel and Manivannan Sadhasivam

 drivers/pci/controller/dwc/Kconfig | 4 ++--
 drivers/phy/tegra/Kconfig          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/pci/controller/dwc/Kconfig +2 -2
index d9f0386396ed..815b6e0d6a0c 100644
@@ -226,7 +226,7 @@ config PCIE_TEGRA194
 
 config PCIE_TEGRA194_HOST
 	tristate "NVIDIA Tegra194 (and later) PCIe controller (host mode)"
-	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
 	depends on PCI_MSI
 	select PCIE_DW_HOST
 	select PHY_TEGRA194_P2U
@@ -241,7 +241,7 @@ config PCIE_TEGRA194_HOST
 
 config PCIE_TEGRA194_EP
 	tristate "NVIDIA Tegra194 (and later) PCIe controller (endpoint mode)"
-	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
 	depends on PCI_ENDPOINT
 	select PCIE_DW_EP
 	select PHY_TEGRA194_P2U
drivers/phy/tegra/Kconfig +1 -1
index f30cfb42b210..342fb736da4b 100644
@@ -13,7 +13,7 @@ config PHY_TEGRA_XUSB
 
 config PHY_TEGRA194_P2U
 	tristate "NVIDIA Tegra194 PIPE2UPHY PHY driver"
-	depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA || COMPILE_TEST
 	select GENERIC_PHY
 	help
 	  Enable this to support the P2U (PIPE to UPHY) that is part of Tegra 19x
Signature · 1 line
2.25.1
maintainer
#2 lore raw
Quoted 19 lines · Niklas Cassel

+CC PHY maintainer.

Quoted 16 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check, allowing the PCIe controller to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

---
v3:
* Addressed warning from kernel test robot

v2:
* Addressed review comments from Niklas Cassel and Manivannan Sadhasivam

 drivers/pci/controller/dwc/Kconfig | 4 ++--
 drivers/phy/tegra/Kconfig          | 2 +-

can phy and pci be two different patches?

Quoted 40 lines
Quoted 40 lines
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/pci/controller/dwc/Kconfig +2 -2
index d9f0386396ed..815b6e0d6a0c 100644
@@ -226,7 +226,7 @@ config PCIE_TEGRA194
 
 config PCIE_TEGRA194_HOST
 	tristate "NVIDIA Tegra194 (and later) PCIe controller (host mode)"
-	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
 	depends on PCI_MSI
 	select PCIE_DW_HOST
 	select PHY_TEGRA194_P2U
@@ -241,7 +241,7 @@ config PCIE_TEGRA194_HOST
 
 config PCIE_TEGRA194_EP
 	tristate "NVIDIA Tegra194 (and later) PCIe controller (endpoint mode)"
-	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
 	depends on PCI_ENDPOINT
 	select PCIE_DW_EP
 	select PHY_TEGRA194_P2U
drivers/phy/tegra/Kconfig +1 -1
index f30cfb42b210..342fb736da4b 100644
@@ -13,7 +13,7 @@ config PHY_TEGRA_XUSB
 
 config PHY_TEGRA194_P2U
 	tristate "NVIDIA Tegra194 PIPE2UPHY PHY driver"
-	depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA || COMPILE_TEST
 	select GENERIC_PHY
 	help
 	  Enable this to support the P2U (PIPE to UPHY) that is part of Tegra 19x
Signature · 1 line
2.25.1
Signature · 1 line
~Vinod
Reviewed-by on v3 1/1
#3 lore raw
In reply to Vidya Sagar
Quoted 7 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check, allowing the PCIe controller to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

- Mani

Quoted 49 lines

---
v3:
* Addressed warning from kernel test robot

v2:
* Addressed review comments from Niklas Cassel and Manivannan Sadhasivam

 drivers/pci/controller/dwc/Kconfig | 4 ++--
 drivers/phy/tegra/Kconfig          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/pci/controller/dwc/Kconfig +2 -2
index d9f0386396ed..815b6e0d6a0c 100644
@@ -226,7 +226,7 @@ config PCIE_TEGRA194
 
 config PCIE_TEGRA194_HOST
 	tristate "NVIDIA Tegra194 (and later) PCIe controller (host mode)"
-	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
 	depends on PCI_MSI
 	select PCIE_DW_HOST
 	select PHY_TEGRA194_P2U
@@ -241,7 +241,7 @@ config PCIE_TEGRA194_HOST
 
 config PCIE_TEGRA194_EP
 	tristate "NVIDIA Tegra194 (and later) PCIe controller (endpoint mode)"
-	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
 	depends on PCI_ENDPOINT
 	select PCIE_DW_EP
 	select PHY_TEGRA194_P2U
drivers/phy/tegra/Kconfig +1 -1
index f30cfb42b210..342fb736da4b 100644
@@ -13,7 +13,7 @@ config PHY_TEGRA_XUSB
 
 config PHY_TEGRA194_P2U
 	tristate "NVIDIA Tegra194 PIPE2UPHY PHY driver"
-	depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA || COMPILE_TEST
 	select GENERIC_PHY
 	help
 	  Enable this to support the P2U (PIPE to UPHY) that is part of Tegra 19x
Signature · 1 line
2.25.1
Signature · 1 line
மணிவண்ணன் சதாசிவம்
author Reviewed-by Manivannan Sadhasivam
#4 lore raw

Hi Manivannan,
Please let me know if you are expecting any further changes to this patch.

Thanks,
Vidya Sagar

________________________________________
From: Manivannan Sadhasivam <[email protected]>
Sent: Friday, April 18, 2025 22:51
To: Vidya Sagar <[email protected]>
Cc: [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; Thierry Reding <[email protected]>; Jon Hunter <[email protected]>; Krishna Thota <[email protected]>; Manikanta Maddireddy <[email protected]>; [email protected] <[email protected]> Subject: Re: [PATCH V3] PCI: dwc: tegra194: Broaden architecture dependency

External email: Use caution opening links or attachments

Quoted 7 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check, allowing the PCIe controller to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

- Mani

Quoted 40 lines

---
v3:
* Addressed warning from kernel test robot

v2:
* Addressed review comments from Niklas Cassel and Manivannan Sadhasivam

  drivers/pci/controller/dwc/Kconfig | 4 ++--
  drivers/phy/tegra/Kconfig          | 2 +-

  2 files changed, 3 insertions(+), 3 deletions(-)
drivers/pci/controller/dwc/Kconfig +0 -0
index d9f0386396ed..815b6e0d6a0c 100644
@@ -226,7 +226,7 @@ config PCIE_TEGRA194
 

  config PCIE_TEGRA194_HOST
       tristate "NVIDIA Tegra194 (and later) PCIe controller (host mode)" -     depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+     depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST) depends on PCI_MSI
       select PCIE_DW_HOST
       select PHY_TEGRA194_P2U

drivers/pci/controller/dwc/Kconfig +0 -0
@@ -241,7 +241,7 @@ config PCIE_TEGRA194_HOST
 

  config PCIE_TEGRA194_EP
       tristate "NVIDIA Tegra194 (and later) PCIe controller (endpoint mode)" -     depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+     depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
       depends on PCI_ENDPOINT
       select PCIE_DW_EP
       select PHY_TEGRA194_P2U

drivers/phy/tegra/Kconfig +0 -0
index f30cfb42b210..342fb736da4b 100644
@@ -13,7 +13,7 @@ config PHY_TEGRA_XUSB
 

  config PHY_TEGRA194_P2U

Quoted 9 lines

       tristate "NVIDIA Tegra194 PIPE2UPHY PHY driver"
-     depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST +     depends on ARCH_TEGRA || COMPILE_TEST
       select GENERIC_PHY
       help
         Enable this to support the P2U (PIPE to UPHY) that is part of Tegra 19x --
2.25.1

--
மணிவண்ணன் சதாசிவம்

A message that is not in the archive (sent off-list or not yet received): SN7PR12MB8028F87148D1B635F832EEB9B88E2@SN7PR12MB8028.namprd12.prod.outlook.com

#6 lore raw
Quoted 3 lines · Vidya Sagar

Hi Manivannan,
Please let me know if you are expecting any further changes to this patch.

As per Vinod's comment, you either need to split PHY changes separate or get an Ack from Vinod to merge both changes through PCI tree.

- Mani

Quoted 77 lines

Thanks,
Vidya Sagar
________________________________
From: Manivannan Sadhasivam <[email protected]>
Sent: Friday, April 18, 2025 22:51
To: Vidya Sagar <[email protected]>
Cc: [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; Thierry Reding <[email protected]>; Jon Hunter <[email protected]>; Krishna Thota <[email protected]>; Manikanta Maddireddy <[email protected]>; [email protected] <[email protected]>
Subject: Re: [PATCH V3] PCI: dwc: tegra194: Broaden architecture dependency

External email: Use caution opening links or attachments

Quoted 7 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check, allowing the PCIe controller to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

- Mani

Quoted 47 lines

---
v3:
* Addressed warning from kernel test robot

v2:
* Addressed review comments from Niklas Cassel and Manivannan Sadhasivam

 drivers/pci/controller/dwc/Kconfig | 4 ++--
 drivers/phy/tegra/Kconfig          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/pci/controller/dwc/Kconfig +2 -2
index d9f0386396ed..815b6e0d6a0c 100644
@@ -226,7 +226,7 @@ config PCIE_TEGRA194
 
 config PCIE_TEGRA194_HOST
      tristate "NVIDIA Tegra194 (and later) PCIe controller (host mode)"
-     depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+     depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
      depends on PCI_MSI
      select PCIE_DW_HOST
      select PHY_TEGRA194_P2U
@@ -241,7 +241,7 @@ config PCIE_TEGRA194_HOST
 
 config PCIE_TEGRA194_EP
      tristate "NVIDIA Tegra194 (and later) PCIe controller (endpoint mode)"
-     depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+     depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
      depends on PCI_ENDPOINT
      select PCIE_DW_EP
      select PHY_TEGRA194_P2U
drivers/phy/tegra/Kconfig +1 -2
index f30cfb42b210..342fb736da4b 100644
@@ -13,7 +13,7 @@ config PHY_TEGRA_XUSB
 
 config PHY_TEGRA194_P2U
      tristate "NVIDIA Tegra194 PIPE2UPHY PHY driver"
-     depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST
+     depends on ARCH_TEGRA || COMPILE_TEST
      select GENERIC_PHY
      help
        Enable this to support the P2U (PIPE to UPHY) that is part of Tegra 19x
--
Quoted 2 lines

2.25.1

--
மணிவண்ணன் சதாசிவம்

Signature · 1 line
மணிவண்ணன் சதாசிவம்
#7 lore raw

PATCH v4 1/1 PCI: dwc: tegra194: Broaden architecture dependency

In reply to Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check for the Tegra194 PCIe controller, allowing it to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

---
v4:
* Split the Tegra194 driver and phy driver changes

v3:
* Addressed warning from kernel test robot

v2:
* Addressed review comments from Niklas Cassel and Manivannan Sadhasivam

 drivers/pci/controller/dwc/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/pci/controller/dwc/Kconfig +2 -2
index d9f0386396ed..815b6e0d6a0c 100644
@@ -226,7 +226,7 @@ config PCIE_TEGRA194
 
 config PCIE_TEGRA194_HOST
 	tristate "NVIDIA Tegra194 (and later) PCIe controller (host mode)"
-	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
 	depends on PCI_MSI
 	select PCIE_DW_HOST
 	select PHY_TEGRA194_P2U
@@ -241,7 +241,7 @@ config PCIE_TEGRA194_HOST
 
 config PCIE_TEGRA194_EP
 	tristate "NVIDIA Tegra194 (and later) PCIe controller (endpoint mode)"
-	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA && (ARM64 || COMPILE_TEST)
 	depends on PCI_ENDPOINT
 	select PCIE_DW_EP
 	select PHY_TEGRA194_P2U
Signature · 1 line
2.25.1
Reviewed-by on v4 1/1
#8 lore raw
Quoted 8 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check for the Tegra194 PCIe controller, allowing it to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

---

Looks good to me, but there will need coordination between the PHY and PCI maintainers for this to not cause a kernel test bot build failure, if the PCI patch is merged before the PHY patch.

#9 lore raw
Quoted 10 lines · Niklas Cassel
Quoted 8 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check for the Tegra194 PCIe controller, allowing it to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

---

Quoted 5 lines

Looks good to me, but there will need coordination between the PHY and PCI maintainers for this to not cause a kernel test bot build failure, if the PCI patch is merged before the PHY patch.

Either the PCI or PHY maintainers would need to provide an Acked-by so these can go through the same tree.

Alternatively, since these are only platform-related Kconfig changes, I could pick this up into the Tegra tree if I get Acked-bys from both subsystems.

Either way is fine, and in case it helps:

#10 lore raw

Hello,

[...]

Quoted 3 lines

Alternatively, since these are only platform-related Kconfig changes, I could pick this up into the Tegra tree if I get Acked-bys from both subsystems.

No objections! Go ahead, and thank you! :)

Krzysztof

maintainer Applied
#12 lore raw
In reply to Vidya Sagar
Quoted 6 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check for the Tegra194 PCIe controller, allowing it to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

Applied, thanks!

[1/1] PCI: dwc: tegra194: Broaden architecture dependency
(no commit info)
[1/1] phy: tegra: p2u: Broaden architecture dependency

      commit: 0c22287319741b4e7c7beaedac1f14fbe01a03b9

Best regards,

Signature · 1 line
~Vinod
#13 lore raw

Hello Vinod, Krzysztof,

Quoted 9 lines · Vinod Koul
Quoted 6 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check for the Tegra194 PCIe controller, allowing it to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

Quoted 9 lines

Applied, thanks!

[1/1] PCI: dwc: tegra194: Broaden architecture dependency
(no commit info)
[1/1] phy: tegra: p2u: Broaden architecture dependency

      commit: 0c22287319741b4e7c7beaedac1f14fbe01a03b9

Best regards,

I see that Vinod has queued patch 1/2.

Please don't forget that this series requires coordination.

There are many ways to solve it.

1) One tree takes both patches.

2) PHY tree puts the PHY patch on an immutable branch with just that commit, and PCI merges that branch, so the same SHA1 of the PHY patch is in both trees.

3) Send PHY patch for the upcoming merge window. Send PCI patch for merge window + 1.

Kind regards,
Niklas

maintainer
#14 lore raw
Quoted 28 lines · Niklas Cassel

Hello Vinod, Krzysztof,

Quoted 9 lines · Vinod Koul
Quoted 6 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check for the Tegra194 PCIe controller, allowing it to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

Quoted 9 lines

Applied, thanks!

[1/1] PCI: dwc: tegra194: Broaden architecture dependency
(no commit info)
[1/1] phy: tegra: p2u: Broaden architecture dependency

      commit: 0c22287319741b4e7c7beaedac1f14fbe01a03b9

Best regards,

I see that Vinod has queued patch 1/2.

Please don't forget that this series requires coordination.

There are many ways to solve it.

Quoted 8 lines

1) One tree takes both patches.

2) PHY tree puts the PHY patch on an immutable branch with just that commit, and PCI merges that branch, so the same SHA1 of the PHY patch is in both trees.

3) Send PHY patch for the upcoming merge window. Send PCI patch for merge window + 1.

1, 3 works for me, for 2 pls let me know, I need to prep a branch with this patch and tag on it...

BR

Signature · 1 line
~Vinod
#15 lore raw
Quoted 35 lines · Vinod Koul
Quoted 34 lines · Niklas Cassel

Hello Vinod, Krzysztof,

Quoted 9 lines · Vinod Koul
Quoted 6 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check for the Tegra194 PCIe controller, allowing it to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

Quoted 9 lines

Applied, thanks!

[1/1] PCI: dwc: tegra194: Broaden architecture dependency
(no commit info)
[1/1] phy: tegra: p2u: Broaden architecture dependency

      commit: 0c22287319741b4e7c7beaedac1f14fbe01a03b9

Best regards,

I see that Vinod has queued patch 1/2.

Please don't forget that this series requires coordination.

There are many ways to solve it.

1) One tree takes both patches.

2) PHY tree puts the PHY patch on an immutable branch with just that commit, and PCI merges that branch, so the same SHA1 of the PHY patch is in both trees.

Quoted 6 lines
Quoted 2 lines

3) Send PHY patch for the upcoming merge window. Send PCI patch for merge window + 1.

1, 3 works for me, for 2 pls let me know, I need to prep a branch with this patch and tag on it...

Feel free to take the patch 1 through PHY tree with:

I believe there should be no conflict with the PCI tree.

- Mani

Signature · 1 line
மணிவண்ணன் சதாசிவம்
#16 lore raw
In reply to Vidya Sagar
Quoted 6 lines · Vidya Sagar

Replace ARCH_TEGRA_194_SOC dependency with a more generic ARCH_TEGRA check for the Tegra194 PCIe controller, allowing it to be built on Tegra platforms beyond Tegra194. Additionally, ensure compatibility by requiring ARM64 or COMPILE_TEST.

Applied, thanks!

[1/1] PCI: dwc: tegra194: Broaden architecture dependency

      commit: bd9277c26522eebc6539edd0b0c99b6abdcb14ed

Best regards,

Signature · 1 line
Manivannan Sadhasivam <[email protected]>
#17 lore raw

PATCH v4 1/1 phy: tegra: p2u: Broaden architecture dependency

In reply to Vidya Sagar

Replace the ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC dependency with a more generic ARCH_TEGRA check for the Tegra194 PIPE2UPHY PHY driver. This allows the PHY driver to be built on all Tegra platforms instead of being limited to specific SoCs.

---
v4:
* Split the Tegra194 driver and phy driver changes

v3:
* Addressed warning from kernel test robot

v2:
* Addressed review comments from Niklas Cassel and Manivannan Sadhasivam

 drivers/phy/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/tegra/Kconfig +1 -1
index f30cfb42b210..342fb736da4b 100644
@@ -13,7 +13,7 @@ config PHY_TEGRA_XUSB
 
 config PHY_TEGRA194_P2U
 	tristate "NVIDIA Tegra194 PIPE2UPHY PHY driver"
-	depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA || COMPILE_TEST
 	select GENERIC_PHY
 	help
 	  Enable this to support the P2U (PIPE to UPHY) that is part of Tegra 19x
Signature · 1 line
2.25.1 
Reviewed-by on v4 1/1
#18 lore raw

Re: [PATCH V4] phy: tegra: p2u: Broaden architecture dependency

Quoted 7 lines · Vidya Sagar

Replace the ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC dependency with a more generic ARCH_TEGRA check for the Tegra194 PIPE2UPHY PHY driver. This allows the PHY driver to be built on all Tegra platforms instead of being limited to specific SoCs.

Looks good to me, but there will need coordination between the PHY and PCI maintainers for this to not cause a kernel test bot build failure, if the PCI patch is merged before the PHY patch.

Acked-by on v4 1/1
#19 lore raw

Re: [PATCH V4] phy: tegra: p2u: Broaden architecture dependency

In reply to Vidya Sagar
Quoted 11 lines · Vidya Sagar

Replace the ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC dependency with a more generic ARCH_TEGRA check for the Tegra194 PIPE2UPHY PHY driver. This allows the PHY driver to be built on all Tegra platforms instead of being limited to specific SoCs.

---
v4:
* Split the Tegra194 driver and phy driver changes

Quoted 8 lines

v3:
* Addressed warning from kernel test robot

v2:
* Addressed review comments from Niklas Cassel and Manivannan Sadhasivam

 drivers/phy/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)