linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: David Howells <dhowells@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Heiko Carstens <hca@linux.ibm.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>,
	Minchan Kim <minchan@kernel.org>,
	Willem de Bruijn <willemb@google.com>,
	YueHaibing <yuehaibing@huawei.com>
Subject: linux-next: manual merge of the notifications tree with Linus' tree
Date: Mon, 21 Dec 2020 12:02:09 +1100	[thread overview]
Message-ID: <20201221120209.5c5cb5d8@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 13173 bytes --]

Hi all,

Today's linux-next merge of the notifications tree got conflicts in:

  arch/alpha/kernel/syscalls/syscall.tbl
  arch/arm/tools/syscall.tbl
  arch/arm64/include/asm/unistd.h
  arch/arm64/include/asm/unistd32.h
  arch/ia64/kernel/syscalls/syscall.tbl
  arch/m68k/kernel/syscalls/syscall.tbl
  arch/microblaze/kernel/syscalls/syscall.tbl
  arch/mips/kernel/syscalls/syscall_n32.tbl
  arch/mips/kernel/syscalls/syscall_n64.tbl
  arch/mips/kernel/syscalls/syscall_o32.tbl
  arch/parisc/kernel/syscalls/syscall.tbl
  arch/powerpc/kernel/syscalls/syscall.tbl
  arch/s390/kernel/syscalls/syscall.tbl
  arch/sh/kernel/syscalls/syscall.tbl
  arch/sparc/kernel/syscalls/syscall.tbl
  arch/x86/entry/syscalls/syscall_32.tbl
  arch/x86/entry/syscalls/syscall_64.tbl
  arch/xtensa/kernel/syscalls/syscall.tbl
  include/uapi/asm-generic/unistd.h

between commits:

  b0a0c2615f6f ("epoll: wire up syscall epoll_pwait2")
  450f68e2425e ("epoll: fix compat syscall wire up of epoll_pwait2")
  ecb8ac8b1f14 ("mm/madvise: introduce process_madvise() syscall: an external memory hinting API")

from Linus' tree and commit:

  4cd92d064cb0 ("watch_queue: Implement mount topology and attribute change notifications")

from the notifications 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.

If this is not submitted to Linus during this merge window, please
either drop it from your linux-next included branch, or at least fix it
up wrt to the sate of Linus' tree.
-- 
Cheers,
Stephen Rothwell

diff --cc arch/alpha/kernel/syscalls/syscall.tbl
index a6617067dbe6,b6cf8403da35..000000000000
--- a/arch/alpha/kernel/syscalls/syscall.tbl
+++ b/arch/alpha/kernel/syscalls/syscall.tbl
@@@ -479,5 -478,4 +479,6 @@@
  547	common	openat2				sys_openat2
  548	common	pidfd_getfd			sys_pidfd_getfd
  549	common	faccessat2			sys_faccessat2
 -550	common	watch_mount			sys_watch_mount
 +550	common	process_madvise			sys_process_madvise
 +551	common	epoll_pwait2			sys_epoll_pwait2
++552	common	watch_mount			sys_watch_mount
diff --cc arch/arm/tools/syscall.tbl
index 20e1170e2e0a,27cc1f53f4a0..000000000000
--- a/arch/arm/tools/syscall.tbl
+++ b/arch/arm/tools/syscall.tbl
@@@ -453,5 -452,4 +453,6 @@@
  437	common	openat2				sys_openat2
  438	common	pidfd_getfd			sys_pidfd_getfd
  439	common	faccessat2			sys_faccessat2
 -440	common	watch_mount			sys_watch_mount
 +440	common	process_madvise			sys_process_madvise
 +441	common	epoll_pwait2			sys_epoll_pwait2
++442	common	watch_mount			sys_watch_mount
diff --cc arch/arm64/include/asm/unistd.h
index 86a9d7b3eabe,b3b2019f8d16..000000000000
--- a/arch/arm64/include/asm/unistd.h
+++ b/arch/arm64/include/asm/unistd.h
@@@ -38,7 -38,7 +38,7 @@@
  #define __ARM_NR_compat_set_tls		(__ARM_NR_COMPAT_BASE + 5)
  #define __ARM_NR_COMPAT_END		(__ARM_NR_COMPAT_BASE + 0x800)
  
- #define __NR_compat_syscalls		442
 -#define __NR_compat_syscalls		441
++#define __NR_compat_syscalls		443
  #endif
  
  #define __ARCH_WANT_SYS_CLONE
diff --cc arch/arm64/include/asm/unistd32.h
index cccfbbefbf95,4f9cf98cdf0f..000000000000
--- a/arch/arm64/include/asm/unistd32.h
+++ b/arch/arm64/include/asm/unistd32.h
@@@ -887,10 -885,8 +887,12 @@@ __SYSCALL(__NR_openat2, sys_openat2
  __SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd)
  #define __NR_faccessat2 439
  __SYSCALL(__NR_faccessat2, sys_faccessat2)
 -#define __NR_watch_mount 440
 +#define __NR_process_madvise 440
 +__SYSCALL(__NR_process_madvise, sys_process_madvise)
 +#define __NR_epoll_pwait2 441
 +__SYSCALL(__NR_epoll_pwait2, compat_sys_epoll_pwait2)
++#define __NR_watch_mount 442
+ __SYSCALL(__NR_watch_mount, sys_watch_mount)
  
  /*
   * Please add new compat syscalls above this comment and update
diff --cc arch/ia64/kernel/syscalls/syscall.tbl
index bfc00f2bd437,fc6d87903781..000000000000
--- a/arch/ia64/kernel/syscalls/syscall.tbl
+++ b/arch/ia64/kernel/syscalls/syscall.tbl
@@@ -360,5 -359,4 +360,6 @@@
  437	common	openat2				sys_openat2
  438	common	pidfd_getfd			sys_pidfd_getfd
  439	common	faccessat2			sys_faccessat2
 -440	common	watch_mount			sys_watch_mount
 +440	common	process_madvise			sys_process_madvise
 +441	common	epoll_pwait2			sys_epoll_pwait2
++442	common	watch_mount			sys_watch_mount
diff --cc arch/m68k/kernel/syscalls/syscall.tbl
index 7fe4e45c864c,c671aa0e4d25..000000000000
--- a/arch/m68k/kernel/syscalls/syscall.tbl
+++ b/arch/m68k/kernel/syscalls/syscall.tbl
@@@ -439,5 -438,4 +439,6 @@@
  437	common	openat2				sys_openat2
  438	common	pidfd_getfd			sys_pidfd_getfd
  439	common	faccessat2			sys_faccessat2
 -440	common	watch_mount			sys_watch_mount
 +440	common	process_madvise			sys_process_madvise
 +441	common	epoll_pwait2			sys_epoll_pwait2
++442	common	watch_mount			sys_watch_mount
diff --cc arch/microblaze/kernel/syscalls/syscall.tbl
index a522adf194ab,65cc53f129ef..000000000000
--- a/arch/microblaze/kernel/syscalls/syscall.tbl
+++ b/arch/microblaze/kernel/syscalls/syscall.tbl
@@@ -445,5 -444,4 +445,6 @@@
  437	common	openat2				sys_openat2
  438	common	pidfd_getfd			sys_pidfd_getfd
  439	common	faccessat2			sys_faccessat2
 -440	common	watch_mount			sys_watch_mount
 +440	common	process_madvise			sys_process_madvise
 +441	common	epoll_pwait2			sys_epoll_pwait2
++442	common	watch_mount			sys_watch_mount
diff --cc arch/mips/kernel/syscalls/syscall_n32.tbl
index 0f03ad223f33,7f034a239930..000000000000
--- a/arch/mips/kernel/syscalls/syscall_n32.tbl
+++ b/arch/mips/kernel/syscalls/syscall_n32.tbl
@@@ -378,5 -377,4 +378,6 @@@
  437	n32	openat2				sys_openat2
  438	n32	pidfd_getfd			sys_pidfd_getfd
  439	n32	faccessat2			sys_faccessat2
 -440	n32	watch_mount			sys_watch_mount
 +440	n32	process_madvise			sys_process_madvise
 +441	n32	epoll_pwait2			compat_sys_epoll_pwait2
++442	n32	watch_mount			sys_watch_mount
diff --cc arch/mips/kernel/syscalls/syscall_n64.tbl
index 91649690b52f,d39b90de3642..000000000000
--- a/arch/mips/kernel/syscalls/syscall_n64.tbl
+++ b/arch/mips/kernel/syscalls/syscall_n64.tbl
@@@ -354,5 -353,4 +354,6 @@@
  437	n64	openat2				sys_openat2
  438	n64	pidfd_getfd			sys_pidfd_getfd
  439	n64	faccessat2			sys_faccessat2
 -440	n64	watch_mount			sys_watch_mount
 +440	n64	process_madvise			sys_process_madvise
 +441	n64	epoll_pwait2			sys_epoll_pwait2
++442	n64	watch_mount			sys_watch_mount
diff --cc arch/mips/kernel/syscalls/syscall_o32.tbl
index 4bad0c40aed6,09f426cb45b1..000000000000
--- a/arch/mips/kernel/syscalls/syscall_o32.tbl
+++ b/arch/mips/kernel/syscalls/syscall_o32.tbl
@@@ -427,5 -426,4 +427,6 @@@
  437	o32	openat2				sys_openat2
  438	o32	pidfd_getfd			sys_pidfd_getfd
  439	o32	faccessat2			sys_faccessat2
 -440	o32	watch_mount			sys_watch_mount
 +440	o32	process_madvise			sys_process_madvise
 +441	o32	epoll_pwait2			sys_epoll_pwait2		compat_sys_epoll_pwait2
++442	o32	watch_mount			sys_watch_mount
diff --cc arch/parisc/kernel/syscalls/syscall.tbl
index 6bcc31966b44,52ff3454baa1..000000000000
--- a/arch/parisc/kernel/syscalls/syscall.tbl
+++ b/arch/parisc/kernel/syscalls/syscall.tbl
@@@ -437,5 -436,4 +437,6 @@@
  437	common	openat2				sys_openat2
  438	common	pidfd_getfd			sys_pidfd_getfd
  439	common	faccessat2			sys_faccessat2
 -440	common	watch_mount			sys_watch_mount
 +440	common	process_madvise			sys_process_madvise
 +441	common	epoll_pwait2			sys_epoll_pwait2		compat_sys_epoll_pwait2
++442	common	watch_mount			sys_watch_mount
diff --cc arch/powerpc/kernel/syscalls/syscall.tbl
index f744eb5cba88,10b7ed3c7a1b..000000000000
--- a/arch/powerpc/kernel/syscalls/syscall.tbl
+++ b/arch/powerpc/kernel/syscalls/syscall.tbl
@@@ -529,5 -528,4 +529,6 @@@
  437	common	openat2				sys_openat2
  438	common	pidfd_getfd			sys_pidfd_getfd
  439	common	faccessat2			sys_faccessat2
 -440	common	watch_mount			sys_watch_mount
 +440	common	process_madvise			sys_process_madvise
 +441	common	epoll_pwait2			sys_epoll_pwait2		compat_sys_epoll_pwait2
++442	common	watch_mount			sys_watch_mount
diff --cc arch/s390/kernel/syscalls/syscall.tbl
index d443423495e5,86f317bf52df..000000000000
--- a/arch/s390/kernel/syscalls/syscall.tbl
+++ b/arch/s390/kernel/syscalls/syscall.tbl
@@@ -442,5 -441,4 +442,6 @@@
  437  common	openat2			sys_openat2			sys_openat2
  438  common	pidfd_getfd		sys_pidfd_getfd			sys_pidfd_getfd
  439  common	faccessat2		sys_faccessat2			sys_faccessat2
 -440	common	watch_mount		sys_watch_mount			sys_watch_mount
 +440  common	process_madvise		sys_process_madvise		sys_process_madvise
 +441  common	epoll_pwait2		sys_epoll_pwait2		compat_sys_epoll_pwait2
++442	common	watch_mount		sys_watch_mount			sys_watch_mount
diff --cc arch/sh/kernel/syscalls/syscall.tbl
index 9df40ac0ebc0,0bb0f0b372c7..000000000000
--- a/arch/sh/kernel/syscalls/syscall.tbl
+++ b/arch/sh/kernel/syscalls/syscall.tbl
@@@ -442,5 -441,4 +442,6 @@@
  437	common	openat2				sys_openat2
  438	common	pidfd_getfd			sys_pidfd_getfd
  439	common	faccessat2			sys_faccessat2
 -440	common	watch_mount			sys_watch_mount
 +440	common	process_madvise			sys_process_madvise
 +441	common	epoll_pwait2			sys_epoll_pwait2
++442	common	watch_mount			sys_watch_mount
diff --cc arch/sparc/kernel/syscalls/syscall.tbl
index 40d8c7cd8298,369ab65c1e9a..000000000000
--- a/arch/sparc/kernel/syscalls/syscall.tbl
+++ b/arch/sparc/kernel/syscalls/syscall.tbl
@@@ -485,5 -484,4 +485,6 @@@
  437	common	openat2			sys_openat2
  438	common	pidfd_getfd			sys_pidfd_getfd
  439	common	faccessat2			sys_faccessat2
 -440	common	watch_mount			sys_watch_mount
 +440	common	process_madvise			sys_process_madvise
 +441	common	epoll_pwait2			sys_epoll_pwait2		compat_sys_epoll_pwait2
++442	common	watch_mount			sys_watch_mount
diff --cc arch/x86/entry/syscalls/syscall_32.tbl
index 874aeacde2dd,e760ba92c58d..000000000000
--- a/arch/x86/entry/syscalls/syscall_32.tbl
+++ b/arch/x86/entry/syscalls/syscall_32.tbl
@@@ -444,5 -443,4 +444,6 @@@
  437	i386	openat2			sys_openat2
  438	i386	pidfd_getfd		sys_pidfd_getfd
  439	i386	faccessat2		sys_faccessat2
 -440	i386	watch_mount		sys_watch_mount
 +440	i386	process_madvise		sys_process_madvise
 +441	i386	epoll_pwait2		sys_epoll_pwait2		compat_sys_epoll_pwait2
++442	i386	watch_mount		sys_watch_mount
diff --cc arch/x86/entry/syscalls/syscall_64.tbl
index 78672124d28b,5b58621d4f75..000000000000
--- a/arch/x86/entry/syscalls/syscall_64.tbl
+++ b/arch/x86/entry/syscalls/syscall_64.tbl
@@@ -361,14 -360,13 +361,15 @@@
  437	common	openat2			sys_openat2
  438	common	pidfd_getfd		sys_pidfd_getfd
  439	common	faccessat2		sys_faccessat2
 -440	common	watch_mount		sys_watch_mount
 +440	common	process_madvise		sys_process_madvise
 +441	common	epoll_pwait2		sys_epoll_pwait2
++442	common	watch_mount		sys_watch_mount
  
  #
 -# x32-specific system call numbers start at 512 to avoid cache impact
 -# for native 64-bit operation. The __x32_compat_sys stubs are created
 -# on-the-fly for compat_sys_*() compatibility system calls if X86_X32
 -# is defined.
 +# Due to a historical design error, certain syscalls are numbered differently
 +# in x32 as compared to native x86_64.  These syscalls have numbers 512-547.
 +# Do not add new syscalls to this range.  Numbers 548 and above are available
 +# for non-x32 use.
  #
  512	x32	rt_sigaction		compat_sys_rt_sigaction
  513	x32	rt_sigreturn		compat_sys_x32_rt_sigreturn
diff --cc arch/xtensa/kernel/syscalls/syscall.tbl
index 46116a28eeed,5b28ee39f70f..000000000000
--- a/arch/xtensa/kernel/syscalls/syscall.tbl
+++ b/arch/xtensa/kernel/syscalls/syscall.tbl
@@@ -410,5 -409,4 +410,6 @@@
  437	common	openat2				sys_openat2
  438	common	pidfd_getfd			sys_pidfd_getfd
  439	common	faccessat2			sys_faccessat2
 -440	common	watch_mount			sys_watch_mount
 +440	common	process_madvise			sys_process_madvise
 +441	common	epoll_pwait2			sys_epoll_pwait2
++442	common	watch_mount			sys_watch_mount
diff --cc include/uapi/asm-generic/unistd.h
index 728752917785,fcdca8c7d30a..000000000000
--- a/include/uapi/asm-generic/unistd.h
+++ b/include/uapi/asm-generic/unistd.h
@@@ -857,13 -857,11 +857,15 @@@ __SYSCALL(__NR_openat2, sys_openat2
  __SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd)
  #define __NR_faccessat2 439
  __SYSCALL(__NR_faccessat2, sys_faccessat2)
 -#define __NR_watch_mount 440
 +#define __NR_process_madvise 440
 +__SYSCALL(__NR_process_madvise, sys_process_madvise)
 +#define __NR_epoll_pwait2 441
 +__SC_COMP(__NR_epoll_pwait2, sys_epoll_pwait2, compat_sys_epoll_pwait2)
++#define __NR_watch_mount 442
+ __SYSCALL(__NR_watch_mount, sys_watch_mount)
  
  #undef __NR_syscalls
- #define __NR_syscalls 442
 -#define __NR_syscalls 441
++#define __NR_syscalls 443
  
  /*
   * 32 bit systems traditionally used different

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2020-12-21  1:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-21  1:02 Stephen Rothwell [this message]
2021-01-20  6:19 ` linux-next: manual merge of the notifications tree with Linus' tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2020-10-21  1:47 Stephen Rothwell
2020-10-21  7:02 ` Stephen Rothwell
2020-10-21  7:06   ` Stephen Rothwell
2020-11-11  6:24 ` Stephen Rothwell
2020-12-04 10:01 ` David Howells
2020-12-14 20:24 ` Stephen Rothwell
2020-05-12  8:34 Stephen Rothwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201221120209.5c5cb5d8@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=akpm@linux-foundation.org \
    --cc=dhowells@redhat.com \
    --cc=hca@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=minchan@kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=willemb@google.com \
    --cc=yuehaibing@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).