Re: linux-next: manual merge of the tip tree with the mm tree
From: Stephen Rothwell
Date: Tue Mar 25 2025 - 21:06:30 EST
Hi all,
On Mon, 24 Feb 2025 14:42:40 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> 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.
>
> 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 */
This is now a conflict between the mm-stable tree and Linus' tree.
--
Cheers,
Stephen Rothwell
Attachment:
pgpN2nTRpxTN9.pgp
Description: OpenPGP digital signature