linux-next: manual merge of the tip tree with the mm tree
Hi all,
Today's linux-next merge of the tip tree got a conflict in:
arch/riscv/include/asm/io.h
between commit:
85731f537aaf ("mm/ioremap: pass pgprot_t to ioremap_prot() instead of unsigned long")
from th mm-unstable breanch of the mm tree and commit:
a9ebcb88136c ("mm/memremap: Pass down MEMREMAP_* flags to arch_memremap_wb()")
from the 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 · 18 lines
Cheers, Stephen Rothwell diff --cc arch/riscv/include/asm/io.h index 0536846db9b6,0257f4aa7ff4..000000000000 --- a/arch/riscv/include/asm/io.h +++ b/arch/riscv/include/asm/io.h @@@ -136,8 -136,8 +136,8 @@@ __io_writes_outs(outs, u64, q, __io_pbr #include <asm-generic/io.h> #ifdef CONFIG_MMU - #define arch_memremap_wb(addr, size) \ + #define arch_memremap_wb(addr, size, flags) \ - ((__force void *)ioremap_prot((addr), (size), _PAGE_KERNEL)) + ((__force void *)ioremap_prot((addr), (size), __pgprot(_PAGE_KERNEL))) #endif #endif /* _ASM_RISCV_IO_H */
The fix for the merge-conflict looks good.
Quoted 15 lines · Stephen Rothwell
arch/riscv/include/asm/io.h +1
-1@@@ -136,8 -136,8 +136,8 @@@ __io_writes_outs(outs, u64, q, __io_pbr#include <asm-generic/io.h> #ifdef CONFIG_MMU -#define arch_memremap_wb (addr, size) \ +#define arch_memremap_wb (addr, size, flags) \ - ((__force void *)ioremap_prot((addr), (size), _PAGE_KERNEL)) + ((__force void *)ioremap_prot((addr), (size), __pgprot(_PAGE_KERNEL)))#endif #endif /* _ASM_RISCV_IO_H */
Hi all,
Quoted 27 lines · On Mon, 24 Feb 2025 14:42:40 +1100 Stephen Rothwell <[email protected]>…
Today's linux-next merge of the tip tree got a conflict in:
arch/riscv/include/asm/io.hbetween commit:
85731f537aaf("mm/ioremap: passpgprot_ttoioremap_prot()instead of unsigned long")from th mm-unstable breanch of the mm tree and commit:
a9ebcb88136c("mm/memremap: Pass down MEMREMAP_* flags toarch_memremap_wb()")from the 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.
arch/riscv/include/asm/io.h +0
-0
arch/riscv/include/asm/io.h
Quoted 10 lines
arch/riscv/include/asm/io.h +1
-1@@@ -136,8 -136,8 +136,8 @@@ __io_writes_outs(outs, u64, q, __io_pbr#include <asm-generic/io.h> #ifdef CONFIG_MMU -#define arch_memremap_wb (addr, size) \ +#define arch_memremap_wb (addr, size, flags) \ - ((__force void *)ioremap_prot((addr), (size), _PAGE_KERNEL)) + ((__force void *)ioremap_prot((addr), (size), __pgprot(_PAGE_KERNEL)))#endif #endif /* _ASM_RISCV_IO_H */
This is now a conflict between the mm-stable tree and Linus' tree.
Signature · 2 lines
Cheers, Stephen Rothwell