Skip to contentSkip to conversation

linux-next: duplicate patches in the tip tree

DISCUSSION Stephen Rothwell 3 participants 5 messages Mar 11, 2025 – Mar 25, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

The following commits are also in the mm tree as different commits (but the same patches):

0b3bc3354eb9 ("arm64: vdso: Switch to generic storage implementation") 127b0e05c166 ("vdso: Rename included Makefile")
30533a55ec8e ("parisc: Remove unused symbol vdso_data")
31e9fa2ba9ad ("arm: vdso: Switch to generic storage implementation") 365841e1557a ("vdso: Add generic architecture-specific data storage") 3ef32d90cdaa ("x86/vdso: Fix latent bug in vclock_pages calculation") 46fe55b204bf ("riscv: vdso: Switch to generic storage implementation") 51d6ca373f45 ("vdso: Add generic random data storage")
5b47aba85810 ("vdso: Introduce vdso/align.h")
69896119dc9d ("MIPS: vdso: Switch to generic storage implementation") 9729dceab17b ("x86/vdso/vdso2c: Remove page handling")
998a8a260819 ("vdso: Remove remnants of architecture-specific random state storage") ac1a42f4e4e2 ("vdso: Remove remnants of architecture-specific time storage") d2862bb9d9ca ("LoongArch: vDSO: Switch to generic storage implementation") dafde29605eb ("x86/vdso: Switch to generic storage implementation") df7fcbefa710 ("vdso: Add generic time data storage")

These are causing the following conflicts:

CONFLICT (content): Merge conflict in arch/arm64/include/asm/vdso/compat_gettim ofday.h
CONFLICT (content): Merge conflict in arch/arm64/include/asm/vdso/vsyscall.h CONFLICT (content): Merge conflict in arch/powerpc/include/asm/vdso/gettimeofday.h CONFLICT (content): Merge conflict in arch/s390/kernel/time.c CONFLICT (content): Merge conflict in arch/x86/include/asm/vdso/gettimeofday.h CONFLICT (content): Merge conflict in include/asm-generic/vdso/vsyscall.h CONFLICT (content): Merge conflict in include/vdso/datapage.h CONFLICT (content): Merge conflict in include/vdso/helpers.h
CONFLICT (content): Merge conflict in kernel/time/namespace.c CONFLICT (content): Merge conflict in kernel/time/vsyscall.c
CONFLICT (add/add): Merge conflict in lib/vdso/datastore.c
CONFLICT (content): Merge conflict in lib/vdso/gettimeofday.c

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 24 lines · On Tue, 11 Mar 2025 15:08:47 +1100 Stephen Rothwell <[email protected]>…

Hi all,

The following commits are also in the mm tree as different commits (but the same patches):

0b3bc3354eb9 ("arm64: vdso: Switch to generic storage implementation") 127b0e05c166 ("vdso: Rename included Makefile")
30533a55ec8e ("parisc: Remove unused symbol vdso_data")
31e9fa2ba9ad ("arm: vdso: Switch to generic storage implementation") 365841e1557a ("vdso: Add generic architecture-specific data storage") 3ef32d90cdaa ("x86/vdso: Fix latent bug in vclock_pages calculation") 46fe55b204bf ("riscv: vdso: Switch to generic storage implementation") 51d6ca373f45 ("vdso: Add generic random data storage")
5b47aba85810 ("vdso: Introduce vdso/align.h")
69896119dc9d ("MIPS: vdso: Switch to generic storage implementation") 9729dceab17b ("x86/vdso/vdso2c: Remove page handling")
998a8a260819 ("vdso: Remove remnants of architecture-specific random state storage") ac1a42f4e4e2 ("vdso: Remove remnants of architecture-specific time storage") d2862bb9d9ca ("LoongArch: vDSO: Switch to generic storage implementation") dafde29605eb ("x86/vdso: Switch to generic storage implementation") df7fcbefa710 ("vdso: Add generic time data storage")

These are causing the following conflicts:

Quoted 13 lines

CONFLICT (content): Merge conflict in arch/arm64/include/asm/vdso/compat_gettim ofday.h
CONFLICT (content): Merge conflict in arch/arm64/include/asm/vdso/vsyscall.h CONFLICT (content): Merge conflict in arch/powerpc/include/asm/vdso/gettimeofday.h CONFLICT (content): Merge conflict in arch/s390/kernel/time.c CONFLICT (content): Merge conflict in arch/x86/include/asm/vdso/gettimeofday.h CONFLICT (content): Merge conflict in include/asm-generic/vdso/vsyscall.h CONFLICT (content): Merge conflict in include/vdso/datapage.h CONFLICT (content): Merge conflict in include/vdso/helpers.h
CONFLICT (content): Merge conflict in kernel/time/namespace.c CONFLICT (content): Merge conflict in kernel/time/vsyscall.c
CONFLICT (add/add): Merge conflict in lib/vdso/datastore.c
CONFLICT (content): Merge conflict in lib/vdso/gettimeofday.c

Yup, thanks. I trust it's not too much effort to simply skip the mm.git copies?

There's presumably a better way of doing this, but it's really the first time it has happened in N years so it isn't obviously worth investing in setting something up.

#2 lore raw

Hi Andrew,

Quoted 3 lines · On Tue, 11 Mar 2025 02:02:40 -0700 Andrew Morton <[email protected]>…

Yup, thanks. I trust it's not too much effort to simply skip the mm.git copies?

Not now that I have done it once ("git rerere" remembers my previous merge resolutions). Unless, of course, more changes are made to the files involved ...

Quoted 3 lines

There's presumably a better way of doing this, but it's really the first time it has happened in N years so it isn't obviously worth investing in setting something up.

This is why we have shared stable branches. If the tip guys have all those commits in a branch that they guarantee will not rebase (or be rewritten), then you could fetch that branch and merge it into your tree somewhere. In this case, since we are beyond -rc6 and I presume you are starting to think about your stable branches, you could start mm-stable and merge it in there. I assume that mm-unstable is always based on top of mm-stable, right? So the patches that depend on (or clash with) the common commits will be rebased on top of the common branch.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 9 lines · Stephen Rothwell
Quoted 3 lines · On Tue, 11 Mar 2025 02:02:40 -0700 Andrew Morton <[email protected]>…

There's presumably a better way of doing this, but it's really the first time it has happened in N years so it isn't obviously worth investing in setting something up.

This is why we have shared stable branches. If the tip guys have all those commits in a branch that they guarantee will not rebase (or be rewritten), then you could fetch that branch and merge it into your tree somewhere.

tip timers/vdso is stable and won't be rebased. It might get delta fixes on top, but that should be not a problem.

Andrew, feel free to pull that in.

Thanks,

tglx

#4 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 4 lines · On Tue, 11 Mar 2025 15:08:47 +1100 Stephen Rothwell <[email protected]>…

The following commits are also in the mm tree as different commits (but the same patches):

Quoted 16 lines

0b3bc3354eb9 ("arm64: vdso: Switch to generic storage implementation") 127b0e05c166 ("vdso: Rename included Makefile")
30533a55ec8e ("parisc: Remove unused symbol vdso_data")
31e9fa2ba9ad ("arm: vdso: Switch to generic storage implementation") 365841e1557a ("vdso: Add generic architecture-specific data storage") 3ef32d90cdaa ("x86/vdso: Fix latent bug in vclock_pages calculation") 46fe55b204bf ("riscv: vdso: Switch to generic storage implementation") 51d6ca373f45 ("vdso: Add generic random data storage")
5b47aba85810 ("vdso: Introduce vdso/align.h")
69896119dc9d ("MIPS: vdso: Switch to generic storage implementation") 9729dceab17b ("x86/vdso/vdso2c: Remove page handling")
998a8a260819 ("vdso: Remove remnants of architecture-specific random state storage") ac1a42f4e4e2 ("vdso: Remove remnants of architecture-specific time storage") d2862bb9d9ca ("LoongArch: vDSO: Switch to generic storage implementation") dafde29605eb ("x86/vdso: Switch to generic storage implementation") df7fcbefa710 ("vdso: Add generic time data storage")

Those patches are now in Linus' tree.

Quoted 15 lines

These are causing the following conflicts:

CONFLICT (content): Merge conflict in arch/arm64/include/asm/vdso/compat_gettim ofday.h
CONFLICT (content): Merge conflict in arch/arm64/include/asm/vdso/vsyscall.h CONFLICT (content): Merge conflict in arch/powerpc/include/asm/vdso/gettimeofday.h CONFLICT (content): Merge conflict in arch/s390/kernel/time.c CONFLICT (content): Merge conflict in arch/x86/include/asm/vdso/gettimeofday.h CONFLICT (content): Merge conflict in include/asm-generic/vdso/vsyscall.h CONFLICT (content): Merge conflict in include/vdso/datapage.h CONFLICT (content): Merge conflict in include/vdso/helpers.h
CONFLICT (content): Merge conflict in kernel/time/namespace.c CONFLICT (content): Merge conflict in kernel/time/vsyscall.c
CONFLICT (add/add): Merge conflict in lib/vdso/datastore.c
CONFLICT (content): Merge conflict in lib/vdso/gettimeofday.c

The duplicates in the mm-unstable branch of the mm tree are

93b9079e691e ("vdso: remove remnants of architecture-specific time storage") 82d8b6446a79 ("vdso: remove remnants of architecture-specific random state storage") f37aec9ec784 ("x86/vdso/vdso2c: remove page handling")
dd2e8659933d ("x86/vdso: switch to generic storage implementation") 9ac741560b0b ("powerpc/vdso: switch to generic storage implementation") 4ca30cfeffb7 ("MIPS: vdso: switch to generic storage implementation") b9e3ec578ed5 ("s390/vdso: switch to generic storage implementation") 64ed071644a8 ("arm: vdso: switch to generic storage implementation") af0452ad92f5 ("LoongArch: vDSO: switch to generic storage implementation") f3f0b0bb602e ("riscv: vdso: switch to generic storage implementation") 74100951337a ("arm64: vdso: switch to generic storage implementation") 08652b7a1b59 ("vdso: add generic architecture-specific data storage") 0ab86f7ece6f ("vdso: add generic random data storage")
f3b11eb27436 ("vdso: add generic time data storage")
4559a06ae7c1 ("vdso: rename included Makefile")
0f187d7ac318 ("vdso: introduce vdso/align.h")
2d1b4965384c ("parisc: remove unused symbol vdso_data")
837f2f1a07ad ("x86/vdso: fix latent bug in vclock_pages calculation")

Signature · 2 lines
Cheers,
Stephen Rothwell