Skip to contentSkip to conversation

linux-next: manual merge of the xen-tip tree with the arm64 tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Apr 26, 2016 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

arch/arm64/kernel/setup.c

between commit:

3194ac6e66cc ("arm64: Move unflatten_device_tree() call earlier.")

from the arm64 tree and commit:

3915fea959b6 ("ARM: XEN: Move xen_early_init() before efi_init()")

from the xen-tip 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 · 25 lines
Cheers,
Stephen Rothwell

diff --cc arch/arm64/kernel/setup.c
index 65f515949baa,7cf992fe6684..000000000000
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@@ -277,13 -336,13 +278,11 @@@ void __init setup_arch(char **cmdline_p
  
  	early_ioremap_reset();
  
 -	if (acpi_disabled) {
 -		unflatten_device_tree();
 +	if (acpi_disabled)
  		psci_dt_init();
 -	} else {
 +	else
  		psci_acpi_init();
 -	}
  
- 	xen_early_init();
- 
  	cpu_read_bootcpu_ops();
  	smp_init_cpus();
  	smp_build_mpidr_hash();
#1 lore raw
Quoted 14 lines · Stephen Rothwell

Hi all,

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

arch/arm64/kernel/setup.c

between commit:

3194ac6e66cc ("arm64: Move unflatten_device_tree() call earlier.")

from the arm64 tree and commit:

3915fea959b6 ("ARM: XEN: Move xen_early_init() before efi_init()")

Quoted 8 lines

from the xen-tip 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.

Thanks Stephen, looks good to me.

Will

Quoted 23 lines
arch/arm64/kernel/setup.c +0 -2
diff --cc arch/arm64/kernel/setup.c
index 65f515949baa,7cf992fe6684..000000000000
@@@ -277,13 -336,13 +278,11 @@@ void __init setup_arch(char **cmdline_p
 
  	early_ioremap_reset();
 
 -	if (acpi_disabled) {
 -		unflatten_device_tree();
 +	if (acpi_disabled)
  		psci_dt_init();
 -	} else {
 +	else
  		psci_acpi_init();
 -	}
 
- 	xen_early_init();
- 
  	cpu_read_bootcpu_ops();
  	smp_init_cpus();
  	smp_build_mpidr_hash();
#2 lore raw
Quoted 17 lines · Will Deacon
Quoted 16 lines · Stephen Rothwell

Hi all,

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

arch/arm64/kernel/setup.c

between commit:

3194ac6e66cc ("arm64: Move unflatten_device_tree() call earlier.")

from the arm64 tree and commit:

3915fea959b6 ("ARM: XEN: Move xen_early_init() before efi_init()")

from the xen-tip tree.

Quoted 8 lines
Quoted 6 lines

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.

Thanks Stephen, looks good to me.

It looks good to me too.

Quoted 24 lines
Quoted 23 lines
arch/arm64/kernel/setup.c +0 -2
diff --cc arch/arm64/kernel/setup.c
index 65f515949baa,7cf992fe6684..000000000000
@@@ -277,13 -336,13 +278,11 @@@ void __init setup_arch(char **cmdline_p
 
  	early_ioremap_reset();
 
 -	if (acpi_disabled) {
 -		unflatten_device_tree();
 +	if (acpi_disabled)
  		psci_dt_init();
 -	} else {
 +	else
  		psci_acpi_init();
 -	}
 
- 	xen_early_init();
- 
  	cpu_read_bootcpu_ops();
  	smp_init_cpus();
  	smp_build_mpidr_hash();