Skip to contentSkip to conversation

linux-next: manual merge of the pci tree with Linus' tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Jan 13, 2022 – Jan 14, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the pci tree got a conflict in:

drivers/pci/controller/Kconfig

between commit:

aa50faff4416 ("PCI: mt7621: Convert driver into 'bool'")

from Linus' tree and commit:

44ddb791f8f4 ("PCI: mt7621: Allow COMPILE_TEST for all arches")

from the pci tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 18 lines
Cheers,
Stephen Rothwell

diff --cc drivers/pci/controller/Kconfig
index aec8c9a3488b,f7e44d9c6965..000000000000
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@@ -332,8 -332,8 +332,8 @@@ config PCIE_APPL
  	  If unsure, say Y if you have an Apple Silicon system.
  
  config PCIE_MT7621
 -	tristate "MediaTek MT7621 PCIe Controller"
 +	bool "MediaTek MT7621 PCIe Controller"
- 	depends on SOC_MT7621 || (MIPS && COMPILE_TEST)
+ 	depends on SOC_MT7621 || COMPILE_TEST
  	select PHY_MT7621_PCI
  	default SOC_MT7621
  	help
#1 lore raw

Hi Stephen,

Quoted 10 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the pci tree got a conflict in:

drivers/pci/controller/Kconfig

between commit:

aa50faff4416 ("PCI: mt7621: Convert driver into 'bool'")

This was a temporary fix for v5.16 since driver was not ready to be compiled as a module yet and some MIPS architecture dependent code was remaining.

Quoted 4 lines

from Linus' tree and commit:

44ddb791f8f4 ("PCI: mt7621: Allow COMPILE_TEST for all arches")

The changes in Kconfig here are the good ones removing MIPS dependency and allowing the driver to be compiled as a module.

Quoted 19 lines

from the pci tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

--
Cheers,
Stephen Rothwell

drivers/pci/controller/Kconfig +0 -0
diff --cc drivers/pci/controller/Kconfig
index aec8c9a3488b,f7e44d9c6965..000000000000

drivers/pci/controller/Kconfig

Quoted 5 lines
drivers/pci/controller/Kconfig +0 -0
@@@ -332,8 -332,8 +332,8 @@@ config PCIE_APPL
          If unsure, say Y if you have an Apple Silicon system.
 
  config PCIE_MT7621
 -      tristate "MediaTek MT7621 PCIe Controller"
 +      bool "MediaTek MT7621 PCIe Controller"

This should be tristate.

drivers/pci/controller/Kconfig

Quoted 2 lines
drivers/pci/controller/Kconfig +1 -1
-       depends on SOC_MT7621 || (MIPS && COMPILE_TEST)
+       depends on SOC_MT7621 || COMPILE_TEST

This is correct,

Quoted 3 lines
        select PHY_MT7621_PCI
        default SOC_MT7621
        help

Best regards,
Sergio Paracuellos

#2 lore raw

Hi Sergio,

Quoted 16 lines · On Fri, 14 Jan 2022 06:48:08 +0100 Sergio Paracuellos…

drivers/pci/controller/Kconfig

Quoted 11 lines · Stephen Rothwell
drivers/pci/controller/Kconfig +0 -0
diff --cc drivers/pci/controller/Kconfig
index aec8c9a3488b,f7e44d9c6965..000000000000
@@@ -332,8 -332,8 +332,8 @@@ config PCIE_APPL
          If unsure, say Y if you have an Apple Silicon system.
 
  config PCIE_MT7621
 -      tristate "MediaTek MT7621 PCIe Controller"
 +      bool "MediaTek MT7621 PCIe Controller"  

This should be tristate.

Quoted 8 lines

drivers/pci/controller/Kconfig

Quoted 2 lines
drivers/pci/controller/Kconfig +1 -1
-       depends on SOC_MT7621 || (MIPS && COMPILE_TEST)
+       depends on SOC_MT7621 || COMPILE_TEST  

This is correct,

Quoted 3 lines
        select PHY_MT7621_PCI
        default SOC_MT7621
        help  

Thanks, I have fixed up my merge resolution for Monday.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 23 lines · Stephen Rothwell

Hi Sergio,

Quoted 19 lines · On Fri, 14 Jan 2022 06:48:08 +0100 Sergio Paracuellos…

drivers/pci/controller/Kconfig

Quoted 11 lines · Stephen Rothwell
drivers/pci/controller/Kconfig +0 -0
diff --cc drivers/pci/controller/Kconfig
index aec8c9a3488b,f7e44d9c6965..000000000000
@@@ -332,8 -332,8 +332,8 @@@ config PCIE_APPL
          If unsure, say Y if you have an Apple Silicon system.
 
  config PCIE_MT7621
 -      tristate "MediaTek MT7621 PCIe Controller"
 +      bool "MediaTek MT7621 PCIe Controller"

This should be tristate.

Quoted 2 lines
drivers/pci/controller/Kconfig +1 -1
-       depends on SOC_MT7621 || (MIPS && COMPILE_TEST)
+       depends on SOC_MT7621 || COMPILE_TEST
Quoted 7 lines
Quoted 5 lines

This is correct,

Quoted 3 lines
        select PHY_MT7621_PCI
        default SOC_MT7621
        help

Thanks, I have fixed up my merge resolution for Monday.

Thanks for letting me know, Stephen.

Best regards,
Sergio Paracuellos

Quoted 4 lines

--
Cheers,
Stephen Rothwell