Skip to contentSkip to conversation

linux-next: manual merge of the pm tree with the risc-v tree

DISCUSSION Stephen Rothwell 1 participant 2 messages Sep 2, 2024 – Sep 17, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

arch/riscv/include/asm/irq.h

between commit:

f15c21a3de1b ("RISC-V: Enable IPI CPU Backtrace")

from the risc-v tree and commit:

f8619b66bdb1 ("irqchip/riscv-intc: Add ACPI support for AIA")

from the pm 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 · 21 lines
Cheers,
Stephen Rothwell

diff --cc arch/riscv/include/asm/irq.h
index 8330d16b05b5,7e9a84a005ed..000000000000
--- a/arch/riscv/include/asm/irq.h
+++ b/arch/riscv/include/asm/irq.h
@@@ -12,11 -12,8 +12,13 @@@
  
  #include <asm-generic/irq.h>
  
+ #define INVALID_CONTEXT UINT_MAX
+ 
 +#ifdef CONFIG_SMP
 +void arch_trigger_cpumask_backtrace(const cpumask_t *mask, int exclude_cpu);
 +#define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace
 +#endif
 +
  void riscv_set_intc_hwnode_fn(struct fwnode_handle *(*fn)(void));
  
  struct fwnode_handle *riscv_get_intc_hwnode(void);
#1 lore raw

Hi all,

Quoted 34 lines · On Mon, 2 Sep 2024 12:11:40 +1000 Stephen Rothwell <[email protected]> wrote:

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

arch/riscv/include/asm/irq.h

between commit:

f15c21a3de1b ("RISC-V: Enable IPI CPU Backtrace")

from the risc-v tree and commit:

f8619b66bdb1 ("irqchip/riscv-intc: Add ACPI support for AIA")

from the pm 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 · 2 lines
Cheers,
Stephen Rothwell
arch/riscv/include/asm/irq.h +0 -0
diff --cc arch/riscv/include/asm/irq.h
index 8330d16b05b5,7e9a84a005ed..000000000000
@@@ -12,11 -12,8 +12,13 @@@
 
  #include <asm-generic/irq.h>
 

arch/riscv/include/asm/irq.h

Quoted 10 lines
arch/riscv/include/asm/irq.h +2 -0
+ #define INVALID_CONTEXT UINT_MAX
+ 
 +#ifdef CONFIG_SMP
 +void arch_trigger_cpumask_backtrace(const cpumask_t *mask, int exclude_cpu);
 +#define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace
 +#endif
 +
  void riscv_set_intc_hwnode_fn(struct fwnode_handle *(*fn)(void));
 
  struct fwnode_handle *riscv_get_intc_hwnode(void);

This is now a conflict between the risc-v tree and Linus' tree.

Signature · 2 lines
Cheers,
Stephen Rothwell