linux-next: manual merge of the tip tree with the s390 tree
Hi all,
Today's linux-next merge of the tip tree got a conflict in:
kernel/sysctl.c
between commit:
20de8f8d3178 ("s390: Move s390 sysctls into their own file under arch/s390")
from the s390 tree and commit:
c305a4e98378 ("x86: Move sysctls into arch/x86")
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 · 28 lines
Cheers,
Stephen Rothwell
diff --cc kernel/sysctl.c
index 6c70fb3b2376,4ebe6136b08d..000000000000
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@@ -1888,15 -1843,15 +1834,6 @@@ static const struct ctl_table kern_tabl
.proc_handler = proc_dointvec,
},
#endif
- #if defined(CONFIG_ACPI_SLEEP) && defined(CONFIG_X86)
-#if defined(CONFIG_S390) && defined(CONFIG_SMP)
-- {
- .procname = "acpi_video_flags",
- .data = &acpi_realmode_flags,
- .maxlen = sizeof (unsigned long),
- .procname = "spin_retry",
- .data = &spin_retry,
- .maxlen = sizeof (int),
-- .mode = 0644,
- .proc_handler = proc_doulongvec_minmax,
- .proc_handler = proc_dointvec,
-- },
--#endif
#ifdef CONFIG_SYSCTL_ARCH_UNALIGN_NO_WARN
{
.procname = "ignore-unaligned-usertrap",Quoted 14 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the tip tree got a conflict in:
kernel/sysctl.cbetween commit:
20de8f8d3178("s390: Move s390 sysctls into their own file underarch/s390")from the s390 tree and commit:
c305a4e98378("x86: Move sysctls intoarch/x86")
Quoted 8 lines
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.
Thank you Stephen!
Ingo
Hi all,
Quoted 37 lines · On Wed, 19 Mar 2025 15:54:10 +1100 Stephen Rothwell <[email protected]>…
Today's linux-next merge of the tip tree got a conflict in:
kernel/sysctl.cbetween commit:
20de8f8d3178("s390: Move s390 sysctls into their own file underarch/s390")from the s390 tree and commit:
c305a4e98378("x86: Move sysctls intoarch/x86")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.
kernel/sysctl.c +0
-5@@@ -1888,15 -1843,15 +1834,6 @@@ static const struct ctl_table kern_tabl .proc_handler = proc_dointvec, },#endif -#if defined(CONFIG_ACPI_SLEEP ) && defined(CONFIG_X86 ) -#if defined(CONFIG_S390) && defined(CONFIG_SMP) -- { - .procname = "acpi_video_flags", - .data = &acpi_realmode_flags, - .maxlen =sizeof (unsigned long ), - .procname = "spin_retry",
kernel/sysctl.c
Quoted 10 lines
kernel/sysctl.c +0
-4- .data = &spin_retry, - .maxlen = sizeof (int), -- .mode = 0644, - .proc_handler = proc_doulongvec_minmax, - .proc_handler = proc_dointvec, -- }, --#endif#ifdef CONFIG_SYSCTL_ARCH_UNALIGN_NO_WARN { .procname = "ignore-unaligned-usertrap",
This is now a conflict between the s390 tree and Linus' tree.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 19 lines · Ingo Molnar
Quoted 16 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the tip tree got a conflict in:
kernel/sysctl.cbetween commit:
20de8f8d3178("s390: Move s390 sysctls into their own file underarch/s390")from the s390 tree and commit:
c305a4e98378("x86: Move sysctls intoarch/x86")from the 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.
Thank you Stephen!
Indeed. Thanks!!!
Just a quick comment on this conflict:
1. The conflict is caused because "acpi_video_flags" is after "spin_retry" in the kern_table array. The solution (Which I see in next-20250328) is to remove them both from kernel/sysctl.c
2. This is the exact reason why we are moving these out of kernel/sysctl.c. It is too easy to touch the same region even if they are from different architectures.
Best
Signature · 1 line
Joel Granados