* Re: linux-next: manual merge of the net-next tree with the net tree
From: Saeed Mahameed @ 2018-12-17 21:20 UTC (permalink / raw)
To: Stephen Rothwell
Cc: David Miller, Networking, Linux Next Mailing List,
Linux Kernel Mailing List, Or Gerlitz, Saeed Mahameed,
Eli Britstein
In-Reply-To: <20181217112546.4e400eb3@canb.auug.org.au>
On Sun, Dec 16, 2018 at 4:25 PM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> Today's linux-next merge of the net-next tree got a conflict in:
>
> drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
>
> between commit:
>
> 154e62abe9cd ("net/mlx5e: Properly initialize flow attributes for slow path eswitch rule deletion")
>
> from the net tree and commit:
>
> e88afe759a49 ("net/mlx5e: Err if asked to mirror a goto chain tc eswitch rule")
> e85e02bad29e ("net/mlx5: E-Switch, Rename esw attr mirror count field")
>
> from the net-next 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.
>
> --
> Cheers,
> Stephen Rothwell
>
> diff --cc drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
> index 9dabe9d4b279,53ebb5a48018..000000000000
> --- a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
> +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
> @@@ -870,9 -903,9 +903,9 @@@ mlx5e_tc_offload_to_slow_path(struct ml
> struct mlx5_flow_handle *rule;
>
> memcpy(slow_attr, flow->esw_attr, sizeof(*slow_attr));
> - slow_attr->action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST,
> - slow_attr->split_count = 0,
> - slow_attr->dest_chain = FDB_SLOW_PATH_CHAIN,
> + slow_attr->action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST;
> - slow_attr->mirror_count = 0;
> ++ slow_attr->split_count = 0;
> + slow_attr->dest_chain = FDB_SLOW_PATH_CHAIN;
>
> rule = mlx5e_tc_offload_fdb_rules(esw, flow, spec, slow_attr);
> if (!IS_ERR(rule))
> @@@ -887,9 -920,6 +920,9 @@@ mlx5e_tc_unoffload_from_slow_path(struc
> struct mlx5_esw_flow_attr *slow_attr)
> {
> memcpy(slow_attr, flow->esw_attr, sizeof(*slow_attr));
> + slow_attr->action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST;
> - slow_attr->mirror_count = 0;
> ++ slow_attr->split_count = 0;
> + slow_attr->dest_chain = FDB_SLOW_PATH_CHAIN;
> mlx5e_tc_unoffload_fdb_rules(esw, flow, slow_attr);
> flow->flags &= ~MLX5E_TC_FLOW_SLOW;
> }
> @@@ -909,11 -939,13 +942,12 @@@ mlx5e_tc_add_fdb_flow(struct mlx5e_pri
> struct mlx5e_rep_priv *rpriv;
> struct mlx5e_priv *out_priv;
> int err = 0, encap_err = 0;
> + int out_index;
>
> - /* if prios are not supported, keep the old behaviour of using same prio
> - * for all offloaded rules.
> - */
> - if (!mlx5_eswitch_prios_supported(esw))
> - attr->prio = 1;
> + if (!mlx5_eswitch_prios_supported(esw) && attr->prio != 1) {
> + NL_SET_ERR_MSG(extack, "E-switch priorities unsupported, upgrade FW");
> + return -EOPNOTSUPP;
> + }
>
> if (attr->chain > max_chain) {
> NL_SET_ERR_MSG(extack, "Requested chain is out of supported range");
> @@@ -2980,15 -2667,7 +2667,15 @@@ static int parse_tc_fdb_actions(struct
> if (!actions_match_supported(priv, exts, parse_attr, flow, extack))
> return -EOPNOTSUPP;
>
> + if (attr->dest_chain) {
> + if (attr->action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST) {
> + NL_SET_ERR_MSG(extack, "Mirroring goto chain rules isn't supported");
> + return -EOPNOTSUPP;
> + }
> + attr->action |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST;
> + }
> +
> - if (attr->mirror_count > 0 && !mlx5_esw_has_fwd_fdb(priv->mdev)) {
> + if (attr->split_count > 0 && !mlx5_esw_has_fwd_fdb(priv->mdev)) {
> NL_SET_ERR_MSG_MOD(extack,
> "current firmware doesn't support split rule for port mirroring");
> netdev_warn_once(priv->netdev, "current firmware doesn't support split rule for port mirroring\n");
Looks good to me.
^ permalink raw reply
* Re: linux-next: manual merge of the rdma tree with the net tree
From: Saeed Mahameed @ 2018-12-17 21:24 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Doug Ledford, Jason Gunthorpe, David Miller, Networking,
Linux Next Mailing List, Linux Kernel Mailing List, Vu Pham,
Gal Pressman
In-Reply-To: <20181217110810.64c69fb7@canb.auug.org.au>
On Sun, Dec 16, 2018 at 4:08 PM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> Today's linux-next merge of the rdma tree got a conflict in:
>
> include/linux/mlx5/mlx5_ifc.h
>
> between commit:
>
> 663f146f2ecf ("net/mlx5: E-Switch, Fix fdb cap bits swap")
>
> from the net tree and commit:
>
> c74d90c11c05 ("net/mlx5: Fix offsets of ifc reserved fields")
>
> from the rdma tree.
>
> I fixed it up (I just used the net tree version) and can carry the fix
Yes this is the correct resolution.
> 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.
Dave was already notified about this merge conflict.
This conflict will go away once Dave merges net with net-next, and
linux-next of rdma merge with net-next
will not have this problem.
Thanks,
Saeed.
>
> --
> Cheers,
> Stephen Rothwell
^ permalink raw reply
* Re: [-next] strace tests fail because of "y2038: socket: Add compat_sys_recvmmsg_time64"
From: Arnd Bergmann @ 2018-12-17 21:40 UTC (permalink / raw)
To: Heiko Carstens
Cc: Linux-Next Mailing List, Linux Kernel Mailing List, linux-s390,
Martin Schwidefsky
In-Reply-To: <20181217130646.GB3560@osiris>
On Mon, Dec 17, 2018 at 2:06 PM Heiko Carstens
<heiko.carstens@de.ibm.com> wrote:
>
> Hi Arnd,
>
> in linux-next as of today 16 strace self tests fail on s390. I could
> bisect this to b136972b063b ("y2038: socket: Add compat_sys_recvmmsg_time64").
>
> The following tests fail:
Hi Heiko,
Thanks for the report and sorry I broke things. I'll have a closer look
tomorrow if I don't find it right away. I suppose the regression was in
native system calls, not the compat syscalls with 31-bit user space,
right?
Arnd
> mmsg.gen.test
> clock.gen.test
> regex.gen.test
> sched.gen.test
> trace_fstatfs.gen.test
> trace_personality_regex_64.gen.test
> trace_fstat.gen.test
> trace_personality_32.gen.test
> trace_question.gen.test
> trace_personality_regex_32.gen.test
> trace_personality_64.gen.test
> trace_stat.gen.test
> trace_statfs.gen.test
> trace_lstat.gen.test
> trace_stat_like.gen.test
> trace_statfs_like.gen.test
>
> If needed the s390 kernel config can be re-created with
>
> make ARCH=s390 performance_defconfig
>
> strace self tests can be reproduced with
>
> > git clone https://gitlab.com/strace/strace.git
> > cd strace
> > ./bootstrap
> > ./configure
> > make
> > cd tests
> > make check
>
^ permalink raw reply
* Re: linux-next: Add secondary kgdb tree
From: Stephen Rothwell @ 2018-12-17 21:48 UTC (permalink / raw)
To: Daniel Thompson
Cc: Linux Next Mailing List, Linux Kernel Mailing List, Jason Wessel,
kgdb-bugreport
In-Reply-To: <20181217164253.5ficzs4zr4dxbemu@holly.lan>
[-- Attachment #1: Type: text/plain, Size: 1768 bytes --]
Hi Daniel,
On Mon, 17 Dec 2018 16:42:53 +0000 Daniel Thompson <daniel.thompson@linaro.org> wrote:
>
> Is there any change you could add my kgdb tree to the roster for
> linux-next :
>
> https://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git kgdb/for-next
>
> I'm currently collecting kgdb patches for v4.21 together and at the
> moment it looks like the PR for kgdb will come from my tree this dev
> cycle.
>
> This will leave you with two kgdb trees in this list which I assume
> isn't great for you (although Jason's tree isn't really changing much
> at the moment so I guess merging it is a nop). Anyhow I've made a diary
> note to follow this up in two kernel cycles time and decide which one
> we want to keep on the roster. Is that OK for you?
Added from today. I called it kgdb-dt but that can be changed if you
decide to replace Jason's tree with this one.
Thanks for adding your subsystem tree as a participant of linux-next. As
you may know, this is not a judgement of your code. The purpose of
linux-next is for integration testing and to lower the impact of
conflicts between subsystems in the next merge window.
You will need to ensure that the patches/commits in your tree/series have
been:
* submitted under GPL v2 (or later) and include the Contributor's
Signed-off-by,
* posted to the relevant mailing list,
* reviewed by you (or another maintainer of your subsystem tree),
* successfully unit tested, and
* destined for the current or next Linux merge window.
Basically, this should be just what you would send to Linus (or ask him
to fetch). It is allowed to be rebased if you deem it necessary.
--
Cheers,
Stephen Rothwell
sfr@canb.auug.org.au
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply
* linux-next: Signed-off-by missing for commits in the kgdb-dt tree
From: Stephen Rothwell @ 2018-12-17 21:49 UTC (permalink / raw)
To: Daniel Thompson; +Cc: Linux Next Mailing List, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 408 bytes --]
Hi Daniel,
Commits
aee700022ad5 ("kdb: Don't back trace on a cpu that didn't round up")
e046994f7695 ("kgdb: Don't round up a CPU that failed rounding up before")
2649a5d9dccd ("kgdb: Fix kgdb_roundup_cpus() for arches who used smp_call_function()")
990bbea1e0d1 ("kgdb: Remove irq flags from roundup")
are missing a Signed-off-by from their committer.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply
* Re: linux-next: manual merge of the net-next tree with the net tree
From: Or Gerlitz @ 2018-12-17 22:01 UTC (permalink / raw)
To: Saeed Mahameed
Cc: Stephen Rothwell, David Miller, Networking,
Linux Next Mailing List, Linux Kernel Mailing List, Or Gerlitz,
Saeed Mahameed, Eli Britstein
In-Reply-To: <CALzJLG_g3QcYLM+ZXwfpu5E71nUOrG=KA4X2uR-WGeYAOYcsLg@mail.gmail.com>
On Mon, Dec 17, 2018 at 11:29 PM Saeed Mahameed
<saeedm@dev.mellanox.co.il> wrote:
> On Sun, Dec 16, 2018 at 4:25 PM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > I fixed it up (see below) and can carry the fix as necessary. This
> Looks good to me.
here too
> > Today's linux-next merge of the net-next tree got a conflict in:
> > drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
> > between commit:
> > 154e62abe9cd ("net/mlx5e: Properly initialize flow attributes for slow path eswitch rule deletion")
> > from the net tree and commit:
> > e88afe759a49 ("net/mlx5e: Err if asked to mirror a goto chain tc eswitch rule")
> > e85e02bad29e ("net/mlx5: E-Switch, Rename esw attr mirror count field")
> > from the net-next tree.
Just a note,
e88afe759a49 ("net/mlx5e: Err if asked to mirror a goto chain tc
eswitch rule")i
s from net and not net-next
see it here [1] among the top 10 patches
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/log/?qt=grep&q=mlx5
^ permalink raw reply
* Re: [-next] strace tests fail because of "y2038: socket: Add compat_sys_recvmmsg_time64"
From: Arnd Bergmann @ 2018-12-17 22:05 UTC (permalink / raw)
To: Heiko Carstens
Cc: Linux-Next Mailing List, Linux Kernel Mailing List, linux-s390,
Martin Schwidefsky
In-Reply-To: <CAK8P3a0kLHcfAtVVuVBqwcQJE+qk6LAO9TBJO2Sb2_m6z5cn8g@mail.gmail.com>
On Mon, Dec 17, 2018 at 10:40 PM Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Mon, Dec 17, 2018 at 2:06 PM Heiko Carstens
> <heiko.carstens@de.ibm.com> wrote:
> >
> > Hi Arnd,
> >
> > in linux-next as of today 16 strace self tests fail on s390. I could
> > bisect this to b136972b063b ("y2038: socket: Add compat_sys_recvmmsg_time64").
> >
> > The following tests fail:
>
> Hi Heiko,
>
> Thanks for the report and sorry I broke things. I'll have a closer look
> tomorrow if I don't find it right away. I suppose the regression was in
> native system calls, not the compat syscalls with 31-bit user space,
> right?
I found a bug in my patch by inspection. Can you try if the patch
below makes it all work (apologies for the garbled whitespace),
I'm considering a rewrite of that function now (to split it into two
again), but want to make sure there isn't another problem in my
original patch.
Arnd
----
diff --git a/net/socket.c b/net/socket.c
index 3bb2ee083f97..7f9f225d0b6c 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -2486,12 +2486,12 @@ int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg,
return -EFAULT;
if (!timeout && !timeout32)
- do_recvmmsg(fd, mmsg, vlen, flags, NULL);
+ return do_recvmmsg(fd, mmsg, vlen, flags, NULL);
datagrams = do_recvmmsg(fd, mmsg, vlen, flags, &timeout_sys);
- if (!datagrams)
- return 0;
+ if (datagrams <= 0)
+ return datagrams;
if (timeout && put_timespec64(&timeout_sys, timeout))
datagrams = -EFAULT;
^ permalink raw reply related
* Re: linux-next: manual merge of the net-next tree with the net tree
From: Stephen Rothwell @ 2018-12-17 22:14 UTC (permalink / raw)
To: Or Gerlitz
Cc: Saeed Mahameed, David Miller, Networking, Linux Next Mailing List,
Linux Kernel Mailing List, Or Gerlitz, Saeed Mahameed,
Eli Britstein
In-Reply-To: <CAJ3xEMjvoNZLaCWk8KydUTKH-fmqnF1Vgbu42u0ame_s-Cj3UQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 285 bytes --]
Hi,
On Tue, 18 Dec 2018 00:01:57 +0200 Or Gerlitz <gerlitz.or@gmail.com> wrote:
>
> Just a note,
>
> e88afe759a49 ("net/mlx5e: Err if asked to mirror a goto chain tc eswitch rule")
>
> is from net and not net-next
Yeah, my mistake ...
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply
* Re: linux-next: build failure after merge of the y2038 tree
From: Steve French @ 2018-12-17 22:25 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Stephen Rothwell, CIFS, Linux-Next Mailing List, LKML,
Paulo Alcantara, Aurélien Aptel, Steve French
In-Reply-To: <CAK8P3a3LaRt8Gszbj2QYJhERKS=T3u=fzPTXaELW4a=BJDNnzA@mail.gmail.com>
Pushed to cifs-2.6.git for-next (after minor commit description text
cleanup and adding acked-by and reviewed-by)
Paulo/Aurelien,
Let me know your thoughts about Arnd's additional comments which were
interesting.
On Mon, Dec 17, 2018 at 6:49 AM Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Mon, Dec 17, 2018 at 10:11 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> > I have applied the following merge fix patch (better versions welcome):
> >
> > From: Stephen Rothwell <sfr@canb.auug.org.au>
> > Date: Mon, 17 Dec 2018 20:03:28 +1100
> > Subject: [PATCH] cifs: update for current_kernel_time64() removal
> >
> > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> > ---
>
> Your patch looks correct, and the conflict should be easy to
> resolve by Steve merging this into his tree, as
> ktime_get_coarse_real_ts64() is readily available in mainline
> kernels.
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
>
> > fs/cifs/dfs_cache.c | 6 ++++--
> > 1 file changed, 4 insertions(+), 2 deletions(-)
> >
> > diff --git a/fs/cifs/dfs_cache.c b/fs/cifs/dfs_cache.c
> > index 70f9c9e2175c..d20cc94d7abd 100644
> > --- a/fs/cifs/dfs_cache.c
> > +++ b/fs/cifs/dfs_cache.c
> > @@ -103,7 +103,7 @@ static inline bool cache_entry_expired(const struct dfs_cache_entry *ce)
> > {
> > struct timespec64 ts;
> >
> > - ts = current_kernel_time64();
> > + ktime_get_coarse_real_ts64(&ts);
> > return timespec64_compare(&ts, &ce->ce_etime) >= 0;
> > }
> >
> > @@ -338,8 +338,10 @@ static inline struct timespec64 get_expire_time(int ttl)
> > .tv_sec = ttl,
> > .tv_nsec = 0,
> > };
> > + struct timespec64 now;
> >
> > - return timespec64_add(current_kernel_time64(), ts);
> > + ktime_get_coarse_real_ts64(&now);
> > + return timespec64_add(now, ts);
> > }
>
> In case efficiency is a concern: using ktime_t with
> ktime_get_coarse_real() may be much faster if we decide to
> abandon the coarse-grained timespec64 accessors in the future.
>
> Also, I wonder if the expiration here has to use CLOCK_REALTIME,
> since that is affected by leap second adjustment and
> clock_settime().
>
> In other modules, we usually concluded that it should be either
> CLOCK_MONOTONIC or CLOCK_BOOTTIME, depending on whether
> you want the expiration timer to keep ticking during suspend.
>
> Arnd
--
Thanks,
Steve
^ permalink raw reply
* linux-next: manual merge of the vfs tree with the fscrypt tree
From: Stephen Rothwell @ 2018-12-17 23:36 UTC (permalink / raw)
To: Al Viro, Theodore Ts'o
Cc: Linux Next Mailing List, Linux Kernel Mailing List, Eric Biggers,
David Howells
[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]
Hi all,
Today's linux-next merge of the vfs tree got a conflict in:
include/linux/fs.h
between commit:
a2bd7d2fc32c ("fs-verity: add setup code, UAPI, and Kconfig")
from the fscrypt tree and commit:
013c7af575e5 ("vfs: Implement a filesystem superblock creation/configuration context")
from the vfs 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.
--
Cheers,
Stephen Rothwell
diff --cc include/linux/fs.h
index b2f9913eee10,169ca472d16a..000000000000
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@@ -62,8 -61,8 +62,10 @@@ struct workqueue_struct
struct iov_iter;
struct fscrypt_info;
struct fscrypt_operations;
+struct fsverity_info;
+struct fsverity_operations;
+ struct fs_context;
+ struct fs_parameter_description;
extern void __init inode_init(void);
extern void __init inode_init_early(void);
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply
* linux-next: Signed-off-by missing for commits in the vfs tree
From: Stephen Rothwell @ 2018-12-17 23:38 UTC (permalink / raw)
To: Al Viro; +Cc: Linux Next Mailing List, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 2182 bytes --]
Hi Al,
Commits
c1cae12e6b4a ("vfs: Add a sample program for the new mount API")
d101a34a2c79 ("vfs: syscall: Add fspick() to select a superblock for reconfiguration")
1fcae4c630e3 ("vfs: syscall: Add fsmount() to create a mount for a superblock")
ec4256de39c3 ("vfs: syscall: Add fsconfig() for configuring and managing a context")
0cba0050bcbe ("vfs: Implement logging through fs_context")
4552c960ff40 ("vfs: syscall: Add fsopen() to prepare for superblock creation")
03ca430a2648 ("Make anon_inodes unconditional")
96298884c8b4 ("vfs: syscall: Add move_mount(2) to move mounts around")
6c606fff6c91 ("afs: Use fs_context to pass parameters over automount")
10424811186f ("afs: Add fs_context support")
8fa5366945d8 ("vfs: Add some logging to the core users of the fs_context log")
8907f3967fbc ("vfs: Implement logging through fs_context")
bed15a150f44 ("vfs: Provide documentation for new mount API")
460375e70621 ("vfs: Remove kern_mount_data()")
e88bea43b477 ("hugetlbfs: Convert to fs_context")
d48db7fb30db ("kernfs, sysfs, cgroup, intel_rdt: Support fs_context")
35822336b482 ("cpuset: Use fs_context")
b97c89323b7b ("ipc: Convert mqueue fs to fs_context")
e1f97a645981 ("proc: Add fs_context support to procfs")
5aed868ddf7f ("procfs: Move proc_fill_super() to fs/proc/root.c")
013c7af575e5 ("vfs: Implement a filesystem superblock creation/configuration context")
47173883ff4d ("tomoyo: Implement security hooks for the new mount API")
c36d02347290 ("apparmor: Implement security hooks for the new mount API")
18ee890db905 ("vfs: Put security flags into the fs_context struct")
18ef962eeec1 ("vfs: Add LSM hooks for the new mount API")
1bff8b546644 ("vfs: Add configuration parser helpers")
57fb096cd685 ("vfs: Introduce logging functions")
23ac0033ae3c ("vfs: Introduce the basic header for the new mount API's filesystem context")
0a8054c863b8 ("vfs: Separate changing mount flags full remount")
e322b9267880 ("vfs: Suppress MS_* flag defs within the kernel unless explicitly enabled")
are missing a Signed-off-by from their committer.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply
* linux-next: manual merge of the selinux tree with the vfs tree
From: Stephen Rothwell @ 2018-12-18 3:48 UTC (permalink / raw)
To: Paul Moore, Al Viro
Cc: Linux Next Mailing List, Linux Kernel Mailing List,
Ondrej Mosnacek
[-- Attachment #1: Type: text/plain, Size: 1567 bytes --]
Hi Paul,
Today's linux-next merge of the selinux tree got a conflict in:
security/selinux/hooks.c
between commit:
2b8073b14c19 ("LSM: split ->sb_set_mnt_opts() out of ->sb_kern_mount()")
from the vfs tree and commit:
2cbdcb882f97 ("selinux: always allow mounting submounts")
from the selinux tree.
I fixed it up (I used the vfs tree version, plus added the following
patch but I am not sure if it is correct as the latter patch only affected
selinux) 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.
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 18 Dec 2018 14:44:13 +1100
Subject: [PATCH] update for "selinux: always allow mounting submounts"
The check moved.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
fs/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/super.c b/fs/super.c
index 135b147c5bd3..a4505144f95e 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -1527,7 +1527,7 @@ int vfs_get_tree(struct fs_context *fc)
if (ret)
goto err_sb;
- if (!(fc->sb_flags & MS_KERNMOUNT)) {
+ if (!(fc->sb_flags & (MS_KERNMOUNT | MS_SUBMOUNT))) {
ret = security_sb_kern_mount(sb);
if (ret)
goto err_sb;
--
2.19.1
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply related
* Re: linux-next: manual merge of the selinux tree with the vfs tree
From: Al Viro @ 2018-12-18 4:10 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Paul Moore, Linux Next Mailing List, Linux Kernel Mailing List,
Ondrej Mosnacek
In-Reply-To: <20181218144858.58d8d1f8@canb.auug.org.au>
On Tue, Dec 18, 2018 at 02:48:58PM +1100, Stephen Rothwell wrote:
> Hi Paul,
>
> Today's linux-next merge of the selinux tree got a conflict in:
>
> security/selinux/hooks.c
>
> between commit:
>
> 2b8073b14c19 ("LSM: split ->sb_set_mnt_opts() out of ->sb_kern_mount()")
>
> from the vfs tree and commit:
>
> 2cbdcb882f97 ("selinux: always allow mounting submounts")
>
> from the selinux tree.
>
> I fixed it up (I used the vfs tree version, plus added the following
> patch but I am not sure if it is correct as the latter patch only affected
> selinux) 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 (!(fc->sb_flags & MS_KERNMOUNT)) {
> + if (!(fc->sb_flags & (MS_KERNMOUNT | MS_SUBMOUNT))) {
It is correct, but the long-term fix is to lift the conditional part out
of vfs_get_tree() into the callers (as discussed a couple of weeks ago).
I have it in a local branch, need to ripple it into the current main series...
^ permalink raw reply
* linux-next: build warning after merge of the gpio tree
From: Stephen Rothwell @ 2018-12-18 5:41 UTC (permalink / raw)
To: Linus Walleij; +Cc: Linux Next Mailing List, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 432 bytes --]
Hi Linus,
After merging the gpio tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
drivers/gpio/gpiolib-acpi.c: In function 'acpi_gpio_adr_space_handler':
drivers/gpio/gpiolib-acpi.c:911:8: warning: unused variable 'err' [-Wunused-variable]
int err;
^~~
Introduced by commit
21abf103818a ("gpio: Pass a flag to gpiochip_request_own_desc()")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply
* linux-next: Tree for Dec 18
From: Stephen Rothwell @ 2018-12-18 7:42 UTC (permalink / raw)
To: Linux Next Mailing List; +Cc: Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 36350 bytes --]
Hi all,
Changes since 20181217:
The nfs-anna tree lost its build failure.
The vfs tree gained a conflict against the fscrypt tree.
The hwmon-staging tree lost its build failure.
The rdma tree still had its build failure so I used a supplied patch.
The net-next tree lost its build failure.
The mfd tree lost its build failure.
The selinux tree gained a conflict against the vfs tree.
The gpio tree lost its build failure.
The y2038 tree lost its build failure.
Non-merge commits (relative to Linus' tree): 9464
9665 files changed, 463878 insertions(+), 252256 deletions(-)
----------------------------------------------------------------------------
I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ). If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one. You should use "git fetch" and checkout or reset to the new
master.
You can see which trees have been included by looking in the Next/Trees
file in the source. There are also quilt-import.log and merge.log
files in the Next directory. Between each merge, the tree was built
with a ppc64_defconfig for powerpc, an allmodconfig for x86_64, a
multi_v7_defconfig for arm and a native build of tools/perf. After
the final fixups (if any), I do an x86_64 modules_install followed by
builds for x86_64 allnoconfig, powerpc allnoconfig (32 and 64 bit),
ppc44x_defconfig, allyesconfig and pseries_le_defconfig and i386, sparc
and sparc64 defconfig. And finally, a simple boot test of the powerpc
pseries_le_defconfig kernel in qemu (with and without kvm enabled).
Below is a summary of the state of the merge.
I am currently merging 291 trees (counting Linus' and 69 trees of bug
fix patches pending for the current merge release).
Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .
Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next . If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.
Thanks to Randy Dunlap for doing many randconfig builds. And to Paul
Gortmaker for triage and bug fixes.
--
Cheers,
Stephen Rothwell
$ git checkout master
$ git reset --hard stable
Merging origin/master (7566ec393f41 Linux 4.20-rc7)
Merging fixes/master (d8c137546ef8 powerpc: tag implicit fall throughs)
Merging kbuild-current/fixes (ccda4af0f4b9 Linux 4.20-rc2)
Merging arc-current/for-curr (4c567a448b30 ARC: perf: remove useless ifdefs)
Merging arm-current/fixes (c2a3831df6dc ARM: 8816/1: dma-mapping: fix potential uninitialized return)
Merging arm64-fixes/for-next/fixes (3238c359acee arm64: dma-mapping: Fix FORCE_CONTIGUOUS buffer clearing)
Merging m68k-current/for-linus (58c116fb7dc6 m68k/sun3: Remove is_medusa and m68k_pgtable_cachemode)
Merging powerpc-fixes/fixes (a225f1567405 powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call)
Merging sparc/master (cf76c364a1e1 Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi)
Merging fscrypt-current/for-stable (ae64f9bd1d36 Linux 4.15-rc2)
Merging net/master (369a094d500f Merge branch 'hns-fixes')
Merging bpf/master (8203e2d844d3 net: clear skb->tstamp in forwarding paths)
Merging ipsec/master (4a135e538962 xfrm_user: fix freeing of xfrm states on acquire)
Merging netfilter/master (9e69efd45321 Merge branch 'vhost-fixes')
Merging ipvs/master (feb9f55c33e5 netfilter: nft_dynset: allow dynamic updates of non-anonymous set)
Merging wireless-drivers/master (eca1e56ceedd iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT to old firmwares)
Merging mac80211/master (312ca38ddda6 cfg80211: Fix busy loop regression in ieee80211_ie_split_ric())
Merging rdma-fixes/for-rc (37fbd834b4e4 IB/core: Fix oops in netdev_next_upper_dev_rcu())
Merging sound-current/for-linus (0bea4cc83835 ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN/UX333FA with ALC294)
Merging sound-asoc-fixes/for-linus (9683863aecfe Merge branch 'asoc-4.20' into asoc-linus)
Merging regmap-fixes/for-linus (40e020c129cf Linux 4.20-rc6)
Merging regulator-fixes/for-linus (1a365a5c7959 Merge branch 'regulator-4.20' into regulator-linus)
Merging spi-fixes/for-linus (6594150c7db6 Merge branch 'spi-4.20' into spi-linus)
Merging pci-current/for-linus (1063a5148ac9 PCI/AER: Queue one GHES event, not several uninitialized ones)
Merging driver-core.current/driver-core-linus (2595646791c3 Linux 4.20-rc5)
Merging tty.current/tty-linus (3c9dc275dba1 Revert "serial: 8250: Fix clearing FIFOs in RS485 mode again")
Merging usb.current/usb-linus (2419f30a4a4f USB: xhci: fix 'broken_suspend' placement in struct xchi_hcd)
Merging usb-gadget-fixes/fixes (069caf5950df USB: omap_udc: fix rejection of out transfers when DMA is used)
Merging usb-serial-fixes/usb-linus (28a86092b175 USB: serial: option: add Telit LN940 series)
Merging usb-chipidea-fixes/ci-for-usb-stable (a930d8bd94d8 usb: chipidea: Always build ULPI code)
Merging phy/fixes (c88520db18ba phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845)
Merging staging.current/staging-linus (40e020c129cf Linux 4.20-rc6)
Merging char-misc.current/char-misc-linus (55449af1a17a Merge tag 'hyperv-fixes-4.20-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux into char-misc-linus)
Merging soundwire-fixes/fixes (651022382c7f Linux 4.20-rc1)
Merging thunderbolt-fixes/fixes (7566ec393f41 Linux 4.20-rc7)
Merging input-current/for-linus (ca5047286c9c Input: synaptics - enable RMI on ThinkPad T560)
Merging crypto-current/master (e61efff4ae94 crypto: user - Disable statistics interface)
Merging ide/master (adf040ddd001 ide: Use of_node_name_eq for node name comparisons)
Merging vfio-fixes/for-linus (0e714d27786c vfio/pci: Fix potential Spectre v1)
Merging kselftest-fixes/fixes (2bd61abead58 selftests/seccomp: Remove SIGSTOP si_pid check)
Merging modules-fixes/modules-linus (be71eda5383f module: Fix display of wrong module .text address)
Merging slave-dma-fixes/fixes (ffe843b18211 dmaengine: dw: Fix FIFO size for Intel Merrifield)
Merging backlight-fixes/for-backlight-fixes (651022382c7f Linux 4.20-rc1)
Merging mtd-fixes/master (40b412897ccb mtd: nand: Fix memory allocation in nanddev_bbt_init())
Merging spi-nor-fixes/spi-nor/fixes (7928b2cbe55b Linux 4.16-rc1)
Merging mfd-fixes/for-mfd-fixes (48a2ca0ee399 Revert "mfd: cros_ec: Use devm_kzalloc for private data")
Merging v4l-dvb-fixes/fixes (078ab3ea2c3b media: Add a Kconfig option for the Request API)
Merging reset-fixes/reset/fixes (26fce0557fa6 reset: imx7: Fix always writing bits as 0)
Merging mips-fixes/mips-fixes (e8e8d449b9e6 MIPS: BCM63XX: fix switch core reset on BCM6368)
Merging at91-fixes/at91-fixes (4ab7ca092c3c ARM: dts: at91: sama5d2: use the divided clock for SMC)
Merging omap-fixes/fixes (84fb6c7feb14 ARM: dts: Fix OMAP4430 SDP Ethernet startup)
Merging kvm-fixes/master (fd65d3142f73 kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb)
Merging kvms390-fixes/master (40ebdb8e59df KVM: s390: Make huge pages unavailable in ucontrol VMs)
Merging hwmon-fixes/hwmon (2595646791c3 Linux 4.20-rc5)
Merging nvdimm-fixes/libnvdimm-fixes (2c5357c6a2f2 Merge branch 'for-4.20/dax-fixes' into libnvdimm-pending)
Merging btrfs-fixes/next-fixes (72549bc085d6 Merge branch 'misc-4.20' into next-fixes)
Merging vfs-fixes/fixes (ea5751ccd665 proc/sysctl: don't return ENOMEM on lookup when a table is unregistering)
Merging dma-mapping-fixes/for-linus (c92a54cfa025 dma-direct: do not include SME mask in the DMA supported check)
Merging i3c-fixes/master (651022382c7f Linux 4.20-rc1)
Merging drivers-x86-fixes/fixes (651022382c7f Linux 4.20-rc1)
Merging samsung-krzk-fixes/fixes (651022382c7f Linux 4.20-rc1)
Merging pinctrl-samsung-fixes/pinctrl-fixes (651022382c7f Linux 4.20-rc1)
Merging devicetree-fixes/dt/linus (cea5d45ea6d8 of: __of_detach_node() - remove node from phandle cache)
Merging scsi-fixes/fixes (61cce6f6eece scsi: sd: use mempool for discard special page)
Merging drm-fixes/drm-fixes (7566ec393f41 Linux 4.20-rc7)
Merging drm-intel-fixes/for-linux-next-fixes (7566ec393f41 Linux 4.20-rc7)
Merging mmc-fixes/fixes (e3ae3401aa19 mmc: core: Use a minimum 1600ms timeout when enabling CACHE ctrl)
Merging rtc-fixes/rtc-fixes (9bde0afb7a90 rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write)
Merging gnss-fixes/gnss-linus (40e020c129cf Linux 4.20-rc6)
Merging hyperv-fixes/hyperv-fixes (fc96df16a1ce Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels)
Merging drm-misc-fixes/for-linux-next-fixes (63238173b2fa Revert "drm/rockchip: Allow driver to be shutdown on reboot/kexec")
Merging kbuild/for-next (d411ff4a93d5 Merge branches 'kbuild', 'kbuild2', 'kconfig' and 'kconfig2' into for-next)
Merging compiler-attributes/compiler-attributes (71391bdd2e9a include/linux/compiler_types.h: don't pollute userspace with macro definitions)
Merging leaks/leaks-next (9f84a0f7f1a6 leaking_addresses: check if file name contains address)
Merging dma-mapping/for-next (664204410afb PCI: Remove unused attr variable in pci_dma_configure)
CONFLICT (content): Merge conflict in arch/alpha/Kconfig
Merging asm-generic/master (b7d624ab4312 asm-generic: unistd.h: fixup broken macro include.)
Merging arc/for-next (4fbd8d194f06 Linux 4.15-rc1)
Merging arm/for-next (eb1644e1ec8a Merge branches 'fixes', 'misc', 'sa1100-for-next' and 'spectre' into for-next)
Merging arm64/for-next/core (12f799c8c739 arm64: kaslr: print PHYS_OFFSET in dump_kernel_offset())
CONFLICT (content): Merge conflict in arch/arm64/kernel/cpu_errata.c
CONFLICT (content): Merge conflict in arch/arm64/Kconfig
CONFLICT (content): Merge conflict in Documentation/arm64/silicon-errata.txt
Merging arm-perf/for-next/perf (69c32972d593 drivers/perf: Add Cavium ThunderX2 SoC UNCORE PMU driver)
Merging arm-soc/for-next (de7cfed01ee4 ARM: Document merges)
CONFLICT (content): Merge conflict in arch/arm/mach-socfpga/Kconfig
Merging actions/for-next (fb9c1c1deb5e Merge branch 'v4.20/drivers+s900-sps' into next)
Merging alpine/alpine/for-next (7928b2cbe55b Linux 4.16-rc1)
Merging amlogic/for-next (b28b14c7c157 Merge branch 'v4.21/drivers' into tmp/aml-rebuild)
Merging aspeed/for-next (f59cffb441bc Merge branch 'dt-for-v4.21' into for-next)
Merging at91/at91-next (d3d7c4c30eb2 Merge branches 'at91-soc' and 'at91-dt' into at91-next)
Merging bcm2835/for-next (3c9d403d2fe1 Merge branch 'bcm2835-drivers-next' into for-next)
Merging imx-mxs/for-next (467e1ec42943 Merge branch 'imx8mq/dt' into for-next)
Merging keystone/next (a74cab3c7dcb Merge branch 'for_4.20/drivers-soc' into next)
Merging mediatek/for-next (c2f7a6c7e1e5 Merge branch 'v4.20-next/soc' into for-next)
Merging mvebu/for-next (50eba438c55e Merge branch 'mvebu/dt64' into mvebu/for-next)
Merging omap/for-next (ace233293086 Merge branch 'omap-for-v4.21/dt' into for-next)
Merging reset/reset/next (8a1b9fd55f25 reset: uniphier-glue: Add AHCI reset control support in glue layer)
CONFLICT (content): Merge conflict in arch/arm/mach-socfpga/socfpga.c
Merging qcom/for-next (9bf0624f555d Merge tag 'qcom-drivers-for-4.21-2' into foobar-for-4.21-2)
Merging renesas/next (9352db32dc95 Merge branch 'fixes-for-v4.21' into next)
Merging rockchip/for-next (70e6e2983473 dt-bindings: arm: Convert Rockchip board/soc bindings to json-schema)
Merging samsung/for-next (bebc6082da0a Linux 4.14)
Merging samsung-krzk/for-next (75c4a4541891 Merge branch 'next/dt64' into for-next)
Merging sunxi/sunxi/for-next (ef9c186f08d7 Merge branch 'sunxi/dt-for-4.21' into sunxi/for-next)
Merging tegra/for-next (2731820ce27b Merge branch for-4.21/clk into for-next)
Merging clk/clk-next (b677574bdf29 Merge branch 'clk-imx7ulp' into clk-next)
Merging clk-samsung/for-next (651022382c7f Linux 4.20-rc1)
Merging c6x/for-linux-next (8adcc59974b8 Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs)
Merging csky/linux-next (252050365823 dt-bindings: timer: gx6605s SOC timer)
Merging h8300/h8300-next (4bdf61ccbe76 h8300: fix IRQ no)
Merging ia64/next (c51836246f97 ia64: generate uapi header and system call table files)
Merging m68k/for-next (005e13a96c0e m68k: Generate uapi header and syscall table header files)
Merging m68knommu/for-next (40e020c129cf Linux 4.20-rc6)
Merging microblaze/next (19d111ccce9f microblaze: remove the explicit removal of system.dtb)
Merging mips/mips-next (ff4dd232ec45 MIPS: Expand MIPS32 ASIDs to 64 bits)
CONFLICT (content): Merge conflict in arch/mips/Kconfig
Merging nds32/next (e2f3f8b4a497 nds32: support hardware prefetcher)
Merging nios2/for-next (1c286267aedf nios2: update_mmu_cache preload the TLB with the new PTE)
Merging openrisc/for-next (5600779ea5f3 openrisc: use generic dma_noncoherent_ops)
Merging parisc-hd/for-next (930e12992ed3 parisc: syscalls: ignore nfsservctl for other architectures)
Merging powerpc/next (7c91efce1608 powerpc/mm: dump block address translation on book3s/32)
Merging fsl/next (b6ae3550c8e2 powerpc/8xx: add missing header in 8xx_mmu.c)
Merging risc-v-pjw/for-next (467e050e9760 Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux)
Merging risc-v/for-next (9e821587b1c0 automerging branch "kernel.org-palmer-linux/next-tracepoints" into "for-next")
CONFLICT (modify/delete): Documentation/features/io/sg-chain/arch-support.txt deleted in HEAD and modified in risc-v/for-next. Version risc-v/for-next of Documentation/features/io/sg-chain/arch-support.txt left in tree.
$ git rm -f Documentation/features/io/sg-chain/arch-support.txt
Merging sifive/for-next (467e050e9760 Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux)
Merging s390/features (ec10574d00da Merge tag 'vfio-ccw-20181213' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/vfio-ccw into features)
Merging sparc-next/master (c23b8e7acea3 ALSA: sparc: Use of_node_name_eq for node name comparisons)
CONFLICT (content): Merge conflict in arch/sparc/kernel/ioport.c
Merging sh/for-next (ac21fc2dcb40 sh: switch to NO_BOOTMEM)
Merging uml/linux-next (917e2fd2c53e um: Make line/tty semantics use true write IRQ)
Merging xtensa/xtensa-for-next (cf991521b736 Merge branch 'xtensa-cleanups' into xtensa-for-next)
Merging fscrypt/master (cc0146d0bce0 fscrypt: remove CRYPTO_CTR dependency)
Merging befs/for-next (55d945e2e4aa fs: befs: btree: Fixed some coding standard issues)
Merging btrfs/next (29dcea88779c Linux 4.17)
Merging btrfs-kdave/for-next (630d835a66f8 Merge branch 'for-next-current-v4.19-20181217' into for-next-20181217)
Merging ceph/master (6f9718fe41c3 ceph: make 'nocopyfrom' a default mount option)
Merging cifs/for-next (a73308891100 cifs: update for current_kernel_time64() removal)
Merging configfs/for-next (cc57c07343bd configfs: fix registered group removal)
Merging ecryptfs/next (5dcea554d5ce eCryptfs: fix a couple type promotion bugs)
Merging ext3/for_next (8bda6f7815a9 Pull fix for UDF BUG due to corrupted inode.)
Merging ext4/dev (7d3485c5e875 ext4: avoid declaring fs inconsistent due to invalid file handles)
Merging f2fs/dev (ac3c962cc168 f2fs: clear PG_writeback if IPU failed)
CONFLICT (content): Merge conflict in fs/f2fs/dir.c
Merging fuse/for-next (2e64ff154ce6 fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS)
Merging jfs/jfs-next (a83722f45c5b jfs: fix spelling mistake, EACCESS -> EACCES)
Merging nfs/linux-next (8795358eb42d sunrpc: Be sure to clear XPRT_WRITE_SPACE when resetting the transport)
Merging nfs-anna/linux-next (bae47e41c9ea sunrpc: Be sure to clear XPRT_WRITE_SPACE when resetting the transport)
Merging nfsd/nfsd-next (19f25957be17 nfsd: keep a tally of RECLAIM_COMPLETE operations when using nfsdcld)
Merging orangefs/for-next (22fc9db296fc orangefs: no need to check for service_operation returns > 0)
Merging overlayfs/overlayfs-next (ec7ba118b940 Revert "ovl: relax permission checking on underlying layers")
Merging ubifs/linux-next (e58725d51fa8 ubifs: Handle re-linking of inodes correctly while recovery)
CONFLICT (content): Merge conflict in fs/ubifs/Kconfig
Merging v9fs/9p-next (7373bc7654c1 9p/net: put a lower bound on msize)
Merging xfs/for-next (8f67b5adc030 iomap: partially revert 4721a601099 (simulated directio short read on EFAULT))
Merging file-locks/locks-next (052b8cfa4070 locks: Use inode_is_open_for_write)
Merging vfs/for-next (c6e2c0d2aa9a Merge branches 'work.mount', 'work.misc', 'misc.misc' and 'work.iov_iter' into for-next)
CONFLICT (content): Merge conflict in include/linux/fs.h
CONFLICT (content): Merge conflict in fs/Makefile
Merging printk/for-next (1da5acbf36a3 Merge branch 'for-4.22' into for-next)
Merging pci/next (7053eeb009e0 Merge branch 'remotes/lorenzo/pci/mediatek')
Merging pstore/for-next/pstore (8665569e97dd pstore/ram: Avoid NULL deref in ftrace merging failure path)
Merging hid/for-next (246bcc481ad3 Merge branch 'for-4.20/upstream-fixes' into for-next)
Merging i2c/i2c/for-next (eb7dd4b831c0 Merge branch 'i2c/for-5.0' into i2c/for-next)
Merging i3c/i3c/next (25ac3da61ba1 i3c: master: cdns: fix I2C transfers in Cadence I3C master driver)
Merging dmi/master (57361846b52b Linux 4.19-rc2)
Merging hwmon-staging/hwmon-next (f9facc24a644 hwmon: (asus_atk0110) Fix debugfs_simple_attr.cocci warnings)
Merging jc_docs/docs-next (f77af637f29d doc:process: add links where missing)
CONFLICT (content): Merge conflict in Documentation/filesystems/index.rst
Merging v4l-dvb/master (daad52c8aa4f media: drxk_hard: check if parameter is not NULL)
Applying: media: ddbridge: Move asm includes after linux ones
Merging v4l-dvb-next/master (76097fe1aee6 media: staging/ipu3-imgu: Add MAINTAINERS entry)
Merging fbdev/fbdev-for-next (217188d9f985 video: fbdev: remove redundant 'default n' from Kconfig-s)
Merging pm/linux-next (8e10d25f1db2 Merge branches 'pm-qos', 'pm-devfreq', 'pm-sleep' and 'pm-avs' into linux-next)
Merging cpupower/cpupower (901d32bc69f3 cpupower : Auto-completion for cpupower tool)
Merging opp/opp/linux-next (ade0c9493e97 Merge branch 'opp/genpd/propagation' into opp/linux-next)
Merging thermal/next (eaaa598c0a28 Merge branches 'for-rc' and 'thermal-core' into next)
CONFLICT (content): Merge conflict in drivers/thermal/Kconfig
Applying: drivers: thermal: fixup for Kconfig string parsing tightening up
Merging thermal-soc/next (760eea43f8c6 thermal: da9062/61: Prevent hardware access during system suspend)
Merging ieee1394/for-next (c820518f6ca1 firewire: Remove depends on HAS_DMA in case of platform dependency)
Merging dlm/next (3595c559326d dlm: fix invalid cluster name warning)
Merging swiotlb/linux-next (da689221f952 xen/blkfront: avoid NULL blkfront_info dereference on device removal)
Merging rdma/for-next (9af3f5cf9d64 RDMA/core: Validate port number in query_pkey verb)
CONFLICT (content): Merge conflict in include/linux/mlx5/mlx5_ifc.h
Applying: RDMA/mlx5: Delete unreachable handle_atomic code by simplifying SW completion
Merging net-next/master (a28777f25031 ucc_geth: Add change_carrier() for Fixed PHYs)
CONFLICT (content): Merge conflict in tools/testing/selftests/bpf/test_verifier.c
CONFLICT (content): Merge conflict in net/ipv6/ip6_output.c
CONFLICT (content): Merge conflict in drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
CONFLICT (content): Merge conflict in drivers/crypto/chelsio/chtls/chtls_cm.c
CONFLICT (content): Merge conflict in arch/mips/include/uapi/asm/inst.h
CONFLICT (content): Merge conflict in MAINTAINERS
Merging bpf-next/master (07a09d1b73c9 bpf: libbpf: fix memleak by freeing line_info)
Merging ipsec-next/master (77990464bb39 xfrm: clean an indentation issue, remove a space)
Merging mlx5-next/mlx5-next (199fa087dc6b net/mlx5: Continue driver initialization despite debugfs failure)
Merging netfilter-next/master (241faeceb849 netfilter: nf_tables: Speed up selective rule dumps)
Merging nfc-next/master (1f008cfec5d5 NFC: fdp: Fix unused variable warnings)
Merging ipvs-next/master (26a1ccc6c117 bpf: test: fix spelling mistake "REUSEEPORT" -> "REUSEPORT")
Merging wireless-drivers-next/master (30ed3c6c0922 Merge tag 'iwlwifi-next-for-kalle-2018-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next)
Merging bluetooth/master (ae6750e0a5ef Merge branch 'mlxsw-spectrum_acl-Add-Bloom-filter-support')
Merging mac80211-next/master (f6c7f03f69f7 mac80211: fix deauth TX when we disconnect)
Merging gfs2/for-next (27a2660f1ef9 gfs2: Dump nrpages for inodes and their glocks)
Merging mtd/mtd/next (7677ea0e8843 MAINTAINERS: Update my email address)
Merging nand/nand/next (732774437ae0 mtd: rawnand: sunxi: Write pageprog related opcodes to WCMD_SET)
Merging spi-nor/spi-nor/next (b422847877e3 mtd: spi-nor: Add support for is25lp016d)
Merging crypto/master (00c9fe37a7f2 crypto: adiantum - fix leaking reference to hash algorithm)
Merging drm/drm-next (272c1a9b4939 Merge tag 'exynos-drm-next-for-v4.21-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next)
CONFLICT (content): Merge conflict in drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/msm/msm_drv.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/meson/meson_crtc.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/intel_workarounds.h
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/intel_workarounds.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/intel_ringbuffer.h
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/intel_lrc.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/intel_engine_cs.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/i915_gem.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/i915_drv.h
CONFLICT (content): Merge conflict in drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
Merging drm-intel/for-linux-next (cb6f4c2c3478 Merge tag 'gvt-next-2018-12-07' of https://github.com/intel/gvt-linux into drm-intel-next-fixes)
Merging drm-tegra/drm/tegra/for-next (180b46ecdc9f drm/tegra: sor: Reset the SOR if possible)
Merging drm-misc/for-linux-next (0b258ed1a219 drm: revert "expand replace_fence to support timeline point v2")
Merging drm-msm/msm-next (ba0ede185ef4 drm/msm/dpu: Fix clock issue after bind failure)
Merging hdlcd/for-upstream/hdlcd (d664b851eb2b drm/arm/hdlcd: Reject atomic commits that disable only the plane)
Merging mali-dp/for-upstream/mali-dp (fd99bd8b805c drm: malidp: Add the size of the superblocks when calculating total size for AFBC buffers)
Merging imx-drm/imx-drm/next (6cec571b70ec drm/imx: ipuv3-plane: add function to query atomic update status)
Merging etnaviv/etnaviv/next (dea492e0cfcb drm/etnaviv: remove lastctx member from gpu struct)
CONFLICT (content): Merge conflict in drivers/gpu/drm/etnaviv/etnaviv_drv.c
Merging kconfig/for-next (bebc6082da0a Linux 4.14)
Merging regmap/for-next (cefbade458fb Merge remote-tracking branch 'regmap/topic/irq' into regmap-next)
Merging sound/for-next (40906ebe3af6 ALSA: hda: add mute LED support for HP EliteBook 840 G4)
Merging sound-asoc/for-next (ba26f635bf72 Merge branch 'asoc-4.21' into asoc-next)
Merging modules/modules-next (93d77e7f1410 ARM: module: Fix function kallsyms on Thumb-2)
Merging input/next (0832e93632c6 Input: rotary-encoder - don't log EPROBE_DEFER to kernel log)
Merging block/for-next (6a252f2772c0 Merge branch 'for-4.21/block' into for-next)
CONFLICT (content): Merge conflict in drivers/scsi/sd.c
Merging device-mapper/for-next (7bdbba78481e Merge branch 'dm-4.20' into dm-next)
Merging pcmcia/pcmcia-next (95691e3eddc4 pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges)
Merging mmc/next (ca804a5615a7 mmc: renesas_sdhi_internal_dmac: Whitelist r8a774c0)
Merging kgdb/kgdb-next (3bd67b37e350 kdb: print real address of pointers instead of hashed addresses)
Merging md/for-next (cac09f066f0f md: remvoe redundant condition check)
Merging mfd/for-mfd-next (d0c97d5a721b mfd: tps65218: Use devm_regmap_add_irq_chip and clean up error path in probe())
Merging backlight/for-backlight-next (3cee7a7d05b1 backlight: 88pm860x_bl: Use of_node_name_eq for node name comparisons)
Merging battery/for-next (958091396648 power: supply: bq25890: fix BAT_COMP field definition)
Merging regulator/for-next (abb94ade6c67 Merge remote-tracking branch 'regulator/topic/coupled' into regulator-next)
Merging security/next-testing (e5a7e9283f51 Merge branch 'next-integrity' into next-testing)
Merging apparmor/apparmor-next (43aa09fee2f0 apparmor: Fix warning about unused function apparmor_ipv6_postroute)
Merging integrity/next-integrity (eed9de3b4f47 ima: Use inode_is_open_for_write)
Merging selinux/next (ee1a84fdfeed selinux: overhaul sidtab to fix bug and improve performance)
CONFLICT (content): Merge conflict in security/selinux/hooks.c
Applying: update for "selinux: always allow mounting submounts"
Merging tpmdd/next (9488585b21be tpm: add support for partial reads)
Merging watchdog/master (31eb42bd9353 watchdog: w83627hf_wdt: Add quirk for Inves system)
Merging iommu/next (30045592fe54 Merge branches 'arm/renesas', 'arm/mediatek', 'arm/tegra', 'arm/omap', 'arm/smmu', 'x86/vt-d', 'x86/amd' and 'core' into next)
Merging dwmw2-iommu/master (d8a5b80568a9 Linux 4.15)
Merging vfio/next (8ba35b3a0046 vfio-mdev/samples: Use u8 instead of char for handle functions)
Merging trivial/for-next (75a24b822d38 kfifo: fix inaccurate comment)
Merging audit/next (d406db524c32 audit: remove duplicated include from audit.c)
Merging devicetree/for-next (acc2038738bd Merge branch 'yaml-bindings-for-v4.21' into dt/next)
Merging mailbox/mailbox-for-next (e2affdbef2ac mailbox: bcm2835: Switch to SPDX identifier)
Merging spi/for-next (b72514463f44 Merge remote-tracking branches 'spi/topic/mem' and 'spi/topic/mtd' into spi-next)
Merging tip/auto-latest (0f494f739abd Merge branch 'x86/urgent')
CONFLICT (content): Merge conflict in net/bridge/br_multicast.c
CONFLICT (content): Merge conflict in net/bridge/br_mdb.c
CONFLICT (content): Merge conflict in drivers/hwmon/k10temp.c
CONFLICT (content): Merge conflict in arch/x86/kernel/cpu/resctrl/rdtgroup.c
CONFLICT (content): Merge conflict in MAINTAINERS
Merging clockevents/clockevents/next (ded414ebcd58 clocksource/drivers/fttmr010: Fix invalid interrupt register access)
Merging edac-amd/for-next (bd4473541822 EDAC, i5000: Remove set but not used local variables)
Merging irqchip/irq/irqchip-next (893b0aff9a7a irqchip/irq-imx-gpcv2: Silence "fall through" warning)
Merging ftrace/for-next (dbc3f042fbc8 selftests/ftrace: Add testcases for dynamic event)
Merging rcu/rcu/next (06aa5694f870 Merge LKMM and RCU commits)
CONFLICT (add/add): Merge conflict in tools/memory-model/scripts/runlitmushist.sh
CONFLICT (add/add): Merge conflict in tools/memory-model/scripts/parseargs.sh
CONFLICT (add/add): Merge conflict in tools/memory-model/scripts/newlitmushist.sh
CONFLICT (add/add): Merge conflict in tools/memory-model/scripts/judgelitmus.sh
CONFLICT (add/add): Merge conflict in tools/memory-model/scripts/initlitmushist.sh
CONFLICT (add/add): Merge conflict in tools/memory-model/scripts/checklitmushist.sh
CONFLICT (add/add): Merge conflict in tools/memory-model/scripts/checkghlitmus.sh
Merging kvm/linux-next (5132411985e1 kvm: selftests: ucall: improve ucall placement in memory, fix unsigned comparison)
CONFLICT (modify/delete): arch/x86/kvm/vmx.c deleted in kvm/linux-next and modified in HEAD. Version HEAD of arch/x86/kvm/vmx.c left in tree.
$ git rm -f arch/x86/kvm/vmx.c
Applying: update to "x86: Fix various typos in comments"
Merging kvm-arm/next (e4e11cc0f81e KVM: arm64: Safety check PSTATE when entering guest and handle IL)
Merging kvm-ppc/kvm-ppc-next (95d386c2d2e7 KVM: PPC: Book3S HV: Allow passthrough of an emulated device to an L3 guest)
Merging kvms390/next (ed3054a30258 Merge branch 'apv11' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into kernelorgnext)
Merging xen-tip/linux-next (1669907e3d1a xen/pciback: Check dev_data before using it)
Merging percpu/for-next (ad19ef010db1 Merge branch 'for-4.19-fixes' into for-next)
Merging workqueues/for-next (87915adc3f0a workqueue: re-add lockdep dependencies for flushing)
Merging drivers-x86/for-next (fb7255a92311 platform/x86: mlx-platform: Convert to use SPDX identifier)
Merging chrome-platform/for-next (2a70a4cda0da MAINTAINERS: platform/chrome: Add Enric as a maintainer)
CONFLICT (content): Merge conflict in MAINTAINERS
Merging hsi/for-next (3a658e09a215 HSI: omap_ssi: Change to use DEFINE_SHOW_ATTRIBUTE macro)
Merging leds/for-next (8146aace60c7 led: triggers: Initialize LED_INIT_DEFAULT_TRIGGER if trigger is brought after class)
Merging ipmi/for-next (5e6ddecfc90b ipmi:ssif: Change some pr_xxx to dev_xxx calls)
Merging driver-core/driver-core-next (df44b479654f kobject: return error code if writing /sys/.../uevent fails)
CONFLICT (content): Merge conflict in drivers/base/platform.c
Merging usb/usb-next (1d6e81a288e2 usb: renesas_usbhs: add support for RZ/G2E)
Merging usb-gadget/next (4fe4f9fecc36 usb: dwc2: Fix disable all EP's on disconnect)
Merging usb-serial/usb-next (01688a6d66b5 USB: serial: mos7840: remove set but not used variables 'number, serial')
Merging usb-chipidea-next/ci-for-usb-next (9049fce897ed usb: chipidea: imx: allow to configure oc polarity on i.MX25)
Merging phy-next/next (2e38c2e7026a phy: qcom-qmp: Expose provided clocks to DT)
Merging tty/tty-next (ec18f48bbc41 tty: serial: samsung: Increase maximum baudrate)
Merging char-misc/char-misc-next (2701e804f00f Merge tag 'extcon-next-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next)
CONFLICT (content): Merge conflict in drivers/misc/Makefile
Merging extcon/extcon-next (a2dc50914744 extcon: max8997: Fix lack of path setting in USB device mode)
Merging soundwire/next (b1635596860d soundwire: intel: constify snd_soc_dai_ops structures)
Merging thunderbolt/next (dcc3c9e37fbd thunderbolt: Export IOMMU based DMA protection support to userspace)
Merging staging/staging-next (d464b7dba1b8 staging: most: Documentation: add information to driver_usage file)
CONFLICT (content): Merge conflict in drivers/staging/vboxvideo/vbox_ttm.c
CONFLICT (content): Merge conflict in drivers/staging/media/tegra-vde/tegra-vde.c
Merging mux/for-next (a1ad5ff63944 Merge branch 'i2c-mux/for-next' into for-next)
Merging icc/icc-next (f8325633fbae MAINTAINERS: add a maintainer for the interconnect API)
Merging slave-dma/next (8fc4a3d104a3 Merge branch 'topic/fsl' into next)
Merging cgroup/for-next (87f902fab430 Merge branch 'for-4.21' into for-next)
Merging scsi/for-next (dd94e7f59f63 Merge branch 'misc' into for-next)
Merging scsi-mkp/for-next (6c8d5f051251 scsi: ufs: Fix platform_no_drv_owner.cocci warnings)
Merging target-updates/for-next (1c130ae00b76 iscsi-target: make sure to wake up sleeping login worker)
Merging target-bva/for-next (60cc43fc8884 Linux 4.17-rc1)
Merging vhost/linux-next (37d1246af2d5 virtio_net: bulk free tx skbs)
Merging rpmsg/for-next (9099a252d44c Merge branches 'hwspinlock-next', 'rpmsg-next' and 'rproc-next' into for-next)
Merging gpio/for-next (62bcb6773bd4 Merge branch 'devel' into for-next)
CONFLICT (content): Merge conflict in arch/arm/mach-omap1/board-ams-delta.c
Merging pinctrl/for-next (a0d2f28f58d3 Merge branch 'devel' into for-next)
Merging pinctrl-samsung/for-next (651022382c7f Linux 4.20-rc1)
Merging pwm/for-next (46275577b86a pwm: bcm2835: Switch to SPDX identifier)
Merging userns/for-next (1e9c75fb9c47 mnt: fix __detach_mounts infinite loop)
Merging ktest/for-next (6cd110a91f52 ktest: Take submenu into account for grub2 menus)
Merging random/dev (05cbbb6f9ed5 drivers/char/random.c: make primary_crng static)
Merging kselftest/next (283ac6d5fb2a selftests: Fix test errors related to lib.mk khdr target)
Merging y2038/y2038 (ccea641b6742 timekeeping: remove obsolete time accessors)
Merging livepatching/for-next (c72a7f515329 Merge branch 'for-4.18/upstream' into for-next)
Merging coresight/next (7ff8957175d6 coresight: Use of_node_name_eq for node name comparisons)
Merging rtc/rtc-next (fc979933bcf1 rtc: pcf85363: Add support for NXP pcf85263 rtc)
Merging nvdimm/libnvdimm-for-next (594861215c83 acpi, nfit: Further restrict userspace ARS start requests)
Merging at24/at24/for-next (37cf28d3b5bc eeprom: at24: add support for 24c2048)
Merging ntb/ntb-next (d9842b39e9ec ntb_hw_switchtec: Added support of >=4G memory windows)
Merging kspp/for-next/kspp (be1944712d8e Merge branch 'for-next/gcc-plugin/arm-stackprotector' into for-next/kspp)
Merging init_task/init_task (e1e871aff3de Expand INIT_STRUCT_PID and remove)
Merging cisco/for-next (84a401a27506 Merge branch 'for-x86' into for-next)
CONFLICT (content): Merge conflict in arch/x86/kernel/setup.c
Merging gnss/gnss-next (2595646791c3 Linux 4.20-rc5)
Merging fsi/master (d20810530b71 fsi: fsi-scom.c: Remove duplicate header)
Merging siox/siox/next (1e4b044d2251 Linux 4.18-rc4)
Merging slimbus/for-next (39a577fe6163 slimbus: ngd: fix spelling mistake "exeeds" -> "exceeds")
Merging nvmem/for-next (5035d66cc629 nvmem: meson-efuse: add peripheral clock)
CONFLICT (content): Merge conflict in include/linux/nvmem-provider.h
Merging xarray/xarray (48483614de97 XArray: Fix xa_alloc when id exceeds max)
Merging hyperv/hyperv-next (651022382c7f Linux 4.20-rc1)
Merging auxdisplay/auxdisplay (d4683eee8cd6 auxdisplay: charlcd: fix x/y command parsing)
Merging akpm-current/current (78d626e0374e ipc: conserve sequence numbers in extended IPCMNI mode)
CONFLICT (content): Merge conflict in mm/page_io.c
CONFLICT (content): Merge conflict in arch/arm64/mm/proc.S
CONFLICT (content): Merge conflict in arch/arm64/mm/mmu.c
CONFLICT (content): Merge conflict in arch/arm64/include/asm/memory.h
$ git checkout -b akpm remotes/origin/akpm/master
Applying: scripts/atomic/check-atomics.sh: don't assume that scripts are executable
Applying: mm: treewide: remove unused address argument from pte_alloc functions
Applying: mm: speed up mremap by 20x on large regions
Applying: mm/mremap: fix 'move_normal_pmd' unused function warning
Applying: mm: select HAVE_MOVE_PMD on x86 for faster mremap
Applying: kernel/async.c: remove some duplicated includes
Applying: kernel/signal.c: remove some duplicated includes
Applying: locking/atomics: build atomic headers as required
Applying: mm: balloon: update comment about isolation/migration/compaction
Applying: mm: convert PG_balloon to PG_offline
Applying: mm-convert-pg_balloon-to-pg_offline-fix
Applying: kexec: export PG_offline to VMCOREINFO
Applying: xen/balloon: mark inflated pages PG_offline
Applying: hv_balloon: mark inflated pages PG_offline
Applying: vmw_balloon: mark inflated pages PG_offline
Applying: vmw_balloon-mark-inflated-pages-pg_offline-v2
Applying: PM/Hibernate: use pfn_to_online_page()
Applying: PM/Hibernate: exclude all PageOffline() pages
Applying: pm-hibernate-exclude-all-pageoffline-pages-v2
Applying: kernel/locking/mutex.c: remove caller signal_pending branch predictions
Applying: kernel/sched/: remove caller signal_pending branch predictions
Applying: arch/arc/mm/fault.c: remove caller signal_pending_branch predictions
Applying: mm/: remove caller signal_pending branch predictions
Applying: fs/: remove caller signal_pending branch predictions
Applying: fs-remove-caller-signal_pending-branch-predictions-fix
Applying: include/linux/sched/signal.h: replace `tsk' with `task'
Applying: fs: don't open code lru_to_page()
Applying: drivers/base/platform.c: kmemleak ignore a known leak
Applying: drivers/media/platform/sti/delta/delta-ipc.c: fix read buffer overflow
Merging akpm/master (d73c3117a5a6 drivers/media/platform/sti/delta/delta-ipc.c: fix read buffer overflow)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply
* Re: [-next] lots of messages due to "mm, memory_hotplug: be more verbose for memory offline failures"
From: Heiko Carstens @ 2018-12-18 7:55 UTC (permalink / raw)
To: Michal Hocko
Cc: Andrew Morton, Oscar Salvador, Anshuman Khandual,
Stephen Rothwell, linux-mm, linux-kernel, linux-next, linux-s390
In-Reply-To: <20181217163949.GX30879@dhcp22.suse.cz>
On Mon, Dec 17, 2018 at 05:39:49PM +0100, Michal Hocko wrote:
> On Mon 17-12-18 17:03:50, Michal Hocko wrote:
> > On Mon 17-12-18 16:59:22, Heiko Carstens wrote:
> > > Hi Michal,
> > >
> > > with linux-next as of today on s390 I see tons of messages like
> > >
> > > [ 20.536664] page dumped because: has_unmovable_pages
> > > [ 20.536792] page:000003d081ff4080 count:1 mapcount:0 mapping:000000008ff88600 index:0x0 compound_mapcount: 0
> > > [ 20.536794] flags: 0x3fffe0000010200(slab|head)
> > > [ 20.536795] raw: 03fffe0000010200 0000000000000100 0000000000000200 000000008ff88600
> > > [ 20.536796] raw: 0000000000000000 0020004100000000 ffffffff00000001 0000000000000000
> > > [ 20.536797] page dumped because: has_unmovable_pages
> > > [ 20.536814] page:000003d0823b0000 count:1 mapcount:0 mapping:0000000000000000 index:0x0
> > > [ 20.536815] flags: 0x7fffe0000000000()
> > > [ 20.536817] raw: 07fffe0000000000 0000000000000100 0000000000000200 0000000000000000
> > > [ 20.536818] raw: 0000000000000000 0000000000000000 ffffffff00000001 0000000000000000
> > >
> > > bisect points to b323c049a999 ("mm, memory_hotplug: be more verbose for memory offline failures")
> > > which is the first commit with which the messages appear.
> >
> > I would bet this is CMA allocator. How much is tons? Maybe we want a
> > rate limit or the other user is not really interested in them at all?
Yes, the system in question has a 4NB CMA area. "tons" translates to several hundred.
> In other words, this should silence those messages.
Yes, with the patch below applied the messages don't appear anymore.
> diff --git a/include/linux/page-isolation.h b/include/linux/page-isolation.h
> index 4ae347cbc36d..4eb26d278046 100644
> --- a/include/linux/page-isolation.h
> +++ b/include/linux/page-isolation.h
> @@ -30,8 +30,11 @@ static inline bool is_migrate_isolate(int migratetype)
> }
> #endif
>
> +#define SKIP_HWPOISON 0x1
> +#define REPORT_FAILURE 0x2
> +
> bool has_unmovable_pages(struct zone *zone, struct page *page, int count,
> - int migratetype, bool skip_hwpoisoned_pages);
> + int migratetype, int flags);
> void set_pageblock_migratetype(struct page *page, int migratetype);
> int move_freepages_block(struct zone *zone, struct page *page,
> int migratetype, int *num_movable);
> @@ -44,10 +47,14 @@ int move_freepages_block(struct zone *zone, struct page *page,
> * For isolating all pages in the range finally, the caller have to
> * free all pages in the range. test_page_isolated() can be used for
> * test it.
> + *
> + * The following flags are allowed (they can be combined in a bit mask)
> + * SKIP_HWPOISON - ignore hwpoison pages
> + * REPORT_FAILURE - report details about the failure to isolate the range
> */
> int
> start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
> - unsigned migratetype, bool skip_hwpoisoned_pages);
> + unsigned migratetype, int flags);
>
> /*
> * Changes MIGRATE_ISOLATE to MIGRATE_MOVABLE.
> diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
> index c82193db4be6..8537429d33a6 100644
> --- a/mm/memory_hotplug.c
> +++ b/mm/memory_hotplug.c
> @@ -1226,7 +1226,7 @@ static bool is_pageblock_removable_nolock(struct page *page)
> if (!zone_spans_pfn(zone, pfn))
> return false;
>
> - return !has_unmovable_pages(zone, page, 0, MIGRATE_MOVABLE, true);
> + return !has_unmovable_pages(zone, page, 0, MIGRATE_MOVABLE, SKIP_HWPOISON);
> }
>
> /* Checks if this range of memory is likely to be hot-removable. */
> @@ -1577,7 +1577,8 @@ static int __ref __offline_pages(unsigned long start_pfn,
>
> /* set above range as isolated */
> ret = start_isolate_page_range(start_pfn, end_pfn,
> - MIGRATE_MOVABLE, true);
> + MIGRATE_MOVABLE,
> + SKIP_HWPOISON | REPORT_FAILURE);
> if (ret) {
> mem_hotplug_done();
> reason = "failure to isolate range";
> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index ec2c7916dc2d..ee4043419791 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -7754,8 +7754,7 @@ void *__init alloc_large_system_hash(const char *tablename,
> * race condition. So you can't expect this function should be exact.
> */
> bool has_unmovable_pages(struct zone *zone, struct page *page, int count,
> - int migratetype,
> - bool skip_hwpoisoned_pages)
> + int migratetype, int flags)
> {
> unsigned long pfn, iter, found;
>
> @@ -7818,7 +7817,7 @@ bool has_unmovable_pages(struct zone *zone, struct page *page, int count,
> * The HWPoisoned page may be not in buddy system, and
> * page_count() is not 0.
> */
> - if (skip_hwpoisoned_pages && PageHWPoison(page))
> + if ((flags & SKIP_HWPOISON) && PageHWPoison(page))
> continue;
>
> if (__PageMovable(page))
> @@ -7845,7 +7844,8 @@ bool has_unmovable_pages(struct zone *zone, struct page *page, int count,
> return false;
> unmovable:
> WARN_ON_ONCE(zone_idx(zone) == ZONE_MOVABLE);
> - dump_page(pfn_to_page(pfn+iter), "unmovable page");
> + if (flags & REPORT_FAILURE)
> + dump_page(pfn_to_page(pfn+iter), "unmovable page");
> return true;
> }
>
> @@ -7972,8 +7972,7 @@ int alloc_contig_range(unsigned long start, unsigned long end,
> */
>
> ret = start_isolate_page_range(pfn_max_align_down(start),
> - pfn_max_align_up(end), migratetype,
> - false);
> + pfn_max_align_up(end), migratetype, 0);
> if (ret)
> return ret;
>
> diff --git a/mm/page_isolation.c b/mm/page_isolation.c
> index 43e085608846..ce323e56b34d 100644
> --- a/mm/page_isolation.c
> +++ b/mm/page_isolation.c
> @@ -15,8 +15,7 @@
> #define CREATE_TRACE_POINTS
> #include <trace/events/page_isolation.h>
>
> -static int set_migratetype_isolate(struct page *page, int migratetype,
> - bool skip_hwpoisoned_pages)
> +static int set_migratetype_isolate(struct page *page, int migratetype, int isol_flags)
> {
> struct zone *zone;
> unsigned long flags, pfn;
> @@ -60,8 +59,7 @@ static int set_migratetype_isolate(struct page *page, int migratetype,
> * FIXME: Now, memory hotplug doesn't call shrink_slab() by itself.
> * We just check MOVABLE pages.
> */
> - if (!has_unmovable_pages(zone, page, arg.pages_found, migratetype,
> - skip_hwpoisoned_pages))
> + if (!has_unmovable_pages(zone, page, arg.pages_found, migratetype, flags))
> ret = 0;
>
> /*
> @@ -185,7 +183,7 @@ __first_valid_page(unsigned long pfn, unsigned long nr_pages)
> * prevents two threads from simultaneously working on overlapping ranges.
> */
> int start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
> - unsigned migratetype, bool skip_hwpoisoned_pages)
> + unsigned migratetype, int flags)
> {
> unsigned long pfn;
> unsigned long undo_pfn;
> @@ -199,7 +197,7 @@ int start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
> pfn += pageblock_nr_pages) {
> page = __first_valid_page(pfn, pageblock_nr_pages);
> if (page &&
> - set_migratetype_isolate(page, migratetype, skip_hwpoisoned_pages)) {
> + set_migratetype_isolate(page, migratetype, flags)) {
> undo_pfn = pfn;
> goto undo;
> }
> --
> Michal Hocko
> SUSE Labs
>
^ permalink raw reply
* Re: [-next] strace tests fail because of "y2038: socket: Add compat_sys_recvmmsg_time64"
From: Heiko Carstens @ 2018-12-18 7:56 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Linux-Next Mailing List, Linux Kernel Mailing List, linux-s390,
Martin Schwidefsky
In-Reply-To: <CAK8P3a3buLM8aKdN8PATzx_mQqFrrLcJmPjbeiJ8uCzx2GwS2Q@mail.gmail.com>
On Mon, Dec 17, 2018 at 11:05:06PM +0100, Arnd Bergmann wrote:
> On Mon, Dec 17, 2018 at 10:40 PM Arnd Bergmann <arnd@arndb.de> wrote:
> >
> > On Mon, Dec 17, 2018 at 2:06 PM Heiko Carstens
> > <heiko.carstens@de.ibm.com> wrote:
> > >
> > > Hi Arnd,
> > >
> > > in linux-next as of today 16 strace self tests fail on s390. I could
> > > bisect this to b136972b063b ("y2038: socket: Add compat_sys_recvmmsg_time64").
> > >
> > > The following tests fail:
> >
> > Hi Heiko,
> >
> > Thanks for the report and sorry I broke things. I'll have a closer look
> > tomorrow if I don't find it right away. I suppose the regression was in
> > native system calls, not the compat syscalls with 31-bit user space,
> > right?
Yes, I was talking about 64 bit native system calls.
> I found a bug in my patch by inspection. Can you try if the patch
> below makes it all work (apologies for the garbled whitespace),
> I'm considering a rewrite of that function now (to split it into two
> again), but want to make sure there isn't another problem in my
> original patch.
With your patch below applied, the tests pass again.
Thanks!
> ----
> diff --git a/net/socket.c b/net/socket.c
> index 3bb2ee083f97..7f9f225d0b6c 100644
> --- a/net/socket.c
> +++ b/net/socket.c
> @@ -2486,12 +2486,12 @@ int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg,
> return -EFAULT;
>
> if (!timeout && !timeout32)
> - do_recvmmsg(fd, mmsg, vlen, flags, NULL);
> + return do_recvmmsg(fd, mmsg, vlen, flags, NULL);
>
> datagrams = do_recvmmsg(fd, mmsg, vlen, flags, &timeout_sys);
>
> - if (!datagrams)
> - return 0;
> + if (datagrams <= 0)
> + return datagrams;
>
> if (timeout && put_timespec64(&timeout_sys, timeout))
> datagrams = -EFAULT;
>
^ permalink raw reply
* Re: linux-next: Signed-off-by missing for commit in the printk tree
From: Petr Mladek @ 2018-12-18 8:42 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Linux Next Mailing List, Linux Kernel Mailing List
In-Reply-To: <20181218070807.07cb795d@canb.auug.org.au>
On Tue 2018-12-18 07:08:07, Stephen Rothwell wrote:
> Hi Petr,
>
> Commit
>
> 503283fa006d ("printk: Add caller information to printk() output.")
>
> is missing a Signed-off-by from its committer.
>
> Moreover, that patch appears twice in the tree (the other time properly
> signed-off),
Thanks a lot for the report. I have fixed it.
Sigh, I guess that I left there the duplicated patch from testing.
It is pity that git did not complain. I need to be more careful.
Best Regards,
Petr
^ permalink raw reply
* Re: [-next] lots of messages due to "mm, memory_hotplug: be more verbose for memory offline failures"
From: Michal Hocko @ 2018-12-18 9:09 UTC (permalink / raw)
To: Heiko Carstens
Cc: Andrew Morton, Oscar Salvador, Anshuman Khandual,
Stephen Rothwell, linux-mm, linux-kernel, linux-next, linux-s390
In-Reply-To: <20181218075538.GA3590@osiris>
On Tue 18-12-18 08:55:38, Heiko Carstens wrote:
> On Mon, Dec 17, 2018 at 05:39:49PM +0100, Michal Hocko wrote:
> > On Mon 17-12-18 17:03:50, Michal Hocko wrote:
> > > On Mon 17-12-18 16:59:22, Heiko Carstens wrote:
> > > > Hi Michal,
> > > >
> > > > with linux-next as of today on s390 I see tons of messages like
> > > >
> > > > [ 20.536664] page dumped because: has_unmovable_pages
> > > > [ 20.536792] page:000003d081ff4080 count:1 mapcount:0 mapping:000000008ff88600 index:0x0 compound_mapcount: 0
> > > > [ 20.536794] flags: 0x3fffe0000010200(slab|head)
> > > > [ 20.536795] raw: 03fffe0000010200 0000000000000100 0000000000000200 000000008ff88600
> > > > [ 20.536796] raw: 0000000000000000 0020004100000000 ffffffff00000001 0000000000000000
> > > > [ 20.536797] page dumped because: has_unmovable_pages
> > > > [ 20.536814] page:000003d0823b0000 count:1 mapcount:0 mapping:0000000000000000 index:0x0
> > > > [ 20.536815] flags: 0x7fffe0000000000()
> > > > [ 20.536817] raw: 07fffe0000000000 0000000000000100 0000000000000200 0000000000000000
> > > > [ 20.536818] raw: 0000000000000000 0000000000000000 ffffffff00000001 0000000000000000
> > > >
> > > > bisect points to b323c049a999 ("mm, memory_hotplug: be more verbose for memory offline failures")
> > > > which is the first commit with which the messages appear.
> > >
> > > I would bet this is CMA allocator. How much is tons? Maybe we want a
> > > rate limit or the other user is not really interested in them at all?
>
> Yes, the system in question has a 4NB CMA area. "tons" translates to several hundred.
OK, I guess these messages on their own without a wider context are not
that helpful. It is still surprising to see slab pages or non-movable
pages in the CMA area. The later might be an CMA allocation I guess but
slab pages shouldn't be there at all AFAIU.
> > In other words, this should silence those messages.
>
> Yes, with the patch below applied the messages don't appear anymore.
OK, I will post an official patch. Even if CMA allocator decides to
report failures it can simply add the flag.
Thanks!
> > diff --git a/include/linux/page-isolation.h b/include/linux/page-isolation.h
> > index 4ae347cbc36d..4eb26d278046 100644
> > --- a/include/linux/page-isolation.h
> > +++ b/include/linux/page-isolation.h
> > @@ -30,8 +30,11 @@ static inline bool is_migrate_isolate(int migratetype)
> > }
> > #endif
> >
> > +#define SKIP_HWPOISON 0x1
> > +#define REPORT_FAILURE 0x2
> > +
> > bool has_unmovable_pages(struct zone *zone, struct page *page, int count,
> > - int migratetype, bool skip_hwpoisoned_pages);
> > + int migratetype, int flags);
> > void set_pageblock_migratetype(struct page *page, int migratetype);
> > int move_freepages_block(struct zone *zone, struct page *page,
> > int migratetype, int *num_movable);
> > @@ -44,10 +47,14 @@ int move_freepages_block(struct zone *zone, struct page *page,
> > * For isolating all pages in the range finally, the caller have to
> > * free all pages in the range. test_page_isolated() can be used for
> > * test it.
> > + *
> > + * The following flags are allowed (they can be combined in a bit mask)
> > + * SKIP_HWPOISON - ignore hwpoison pages
> > + * REPORT_FAILURE - report details about the failure to isolate the range
> > */
> > int
> > start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
> > - unsigned migratetype, bool skip_hwpoisoned_pages);
> > + unsigned migratetype, int flags);
> >
> > /*
> > * Changes MIGRATE_ISOLATE to MIGRATE_MOVABLE.
> > diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
> > index c82193db4be6..8537429d33a6 100644
> > --- a/mm/memory_hotplug.c
> > +++ b/mm/memory_hotplug.c
> > @@ -1226,7 +1226,7 @@ static bool is_pageblock_removable_nolock(struct page *page)
> > if (!zone_spans_pfn(zone, pfn))
> > return false;
> >
> > - return !has_unmovable_pages(zone, page, 0, MIGRATE_MOVABLE, true);
> > + return !has_unmovable_pages(zone, page, 0, MIGRATE_MOVABLE, SKIP_HWPOISON);
> > }
> >
> > /* Checks if this range of memory is likely to be hot-removable. */
> > @@ -1577,7 +1577,8 @@ static int __ref __offline_pages(unsigned long start_pfn,
> >
> > /* set above range as isolated */
> > ret = start_isolate_page_range(start_pfn, end_pfn,
> > - MIGRATE_MOVABLE, true);
> > + MIGRATE_MOVABLE,
> > + SKIP_HWPOISON | REPORT_FAILURE);
> > if (ret) {
> > mem_hotplug_done();
> > reason = "failure to isolate range";
> > diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> > index ec2c7916dc2d..ee4043419791 100644
> > --- a/mm/page_alloc.c
> > +++ b/mm/page_alloc.c
> > @@ -7754,8 +7754,7 @@ void *__init alloc_large_system_hash(const char *tablename,
> > * race condition. So you can't expect this function should be exact.
> > */
> > bool has_unmovable_pages(struct zone *zone, struct page *page, int count,
> > - int migratetype,
> > - bool skip_hwpoisoned_pages)
> > + int migratetype, int flags)
> > {
> > unsigned long pfn, iter, found;
> >
> > @@ -7818,7 +7817,7 @@ bool has_unmovable_pages(struct zone *zone, struct page *page, int count,
> > * The HWPoisoned page may be not in buddy system, and
> > * page_count() is not 0.
> > */
> > - if (skip_hwpoisoned_pages && PageHWPoison(page))
> > + if ((flags & SKIP_HWPOISON) && PageHWPoison(page))
> > continue;
> >
> > if (__PageMovable(page))
> > @@ -7845,7 +7844,8 @@ bool has_unmovable_pages(struct zone *zone, struct page *page, int count,
> > return false;
> > unmovable:
> > WARN_ON_ONCE(zone_idx(zone) == ZONE_MOVABLE);
> > - dump_page(pfn_to_page(pfn+iter), "unmovable page");
> > + if (flags & REPORT_FAILURE)
> > + dump_page(pfn_to_page(pfn+iter), "unmovable page");
> > return true;
> > }
> >
> > @@ -7972,8 +7972,7 @@ int alloc_contig_range(unsigned long start, unsigned long end,
> > */
> >
> > ret = start_isolate_page_range(pfn_max_align_down(start),
> > - pfn_max_align_up(end), migratetype,
> > - false);
> > + pfn_max_align_up(end), migratetype, 0);
> > if (ret)
> > return ret;
> >
> > diff --git a/mm/page_isolation.c b/mm/page_isolation.c
> > index 43e085608846..ce323e56b34d 100644
> > --- a/mm/page_isolation.c
> > +++ b/mm/page_isolation.c
> > @@ -15,8 +15,7 @@
> > #define CREATE_TRACE_POINTS
> > #include <trace/events/page_isolation.h>
> >
> > -static int set_migratetype_isolate(struct page *page, int migratetype,
> > - bool skip_hwpoisoned_pages)
> > +static int set_migratetype_isolate(struct page *page, int migratetype, int isol_flags)
> > {
> > struct zone *zone;
> > unsigned long flags, pfn;
> > @@ -60,8 +59,7 @@ static int set_migratetype_isolate(struct page *page, int migratetype,
> > * FIXME: Now, memory hotplug doesn't call shrink_slab() by itself.
> > * We just check MOVABLE pages.
> > */
> > - if (!has_unmovable_pages(zone, page, arg.pages_found, migratetype,
> > - skip_hwpoisoned_pages))
> > + if (!has_unmovable_pages(zone, page, arg.pages_found, migratetype, flags))
> > ret = 0;
> >
> > /*
> > @@ -185,7 +183,7 @@ __first_valid_page(unsigned long pfn, unsigned long nr_pages)
> > * prevents two threads from simultaneously working on overlapping ranges.
> > */
> > int start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
> > - unsigned migratetype, bool skip_hwpoisoned_pages)
> > + unsigned migratetype, int flags)
> > {
> > unsigned long pfn;
> > unsigned long undo_pfn;
> > @@ -199,7 +197,7 @@ int start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
> > pfn += pageblock_nr_pages) {
> > page = __first_valid_page(pfn, pageblock_nr_pages);
> > if (page &&
> > - set_migratetype_isolate(page, migratetype, skip_hwpoisoned_pages)) {
> > + set_migratetype_isolate(page, migratetype, flags)) {
> > undo_pfn = pfn;
> > goto undo;
> > }
> > --
> > Michal Hocko
> > SUSE Labs
> >
--
Michal Hocko
SUSE Labs
^ permalink raw reply
* Re: linux-next: Tree for Dec 17 (regulator/mcp16502.c)
From: Andrei.Stefanescu @ 2018-12-18 9:28 UTC (permalink / raw)
To: rdunlap, sfr, linux-next, broonie; +Cc: linux-kernel
In-Reply-To: <c7bd09d3-3c04-327e-6c0b-89ee058cced8@infradead.org>
Hi Randy,
Thank you for the email. The error should be fixed with this patch [1].
Best regards,
Andrei
[1] -
http://lists.infradead.org/pipermail/linux-arm-kernel/2018-December/621292.html
On 17.12.2018 18:03, Randy Dunlap wrote:
> On 12/17/18 3:09 AM, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20181214:
>>
> on i386:
> # CONFIG_SUSPEND is not set
> CONFIG_PM=y
>
> CC drivers/regulator/mcp16502.o
> In file included from ../include/linux/device.h:23:0,
> from ../include/linux/gpio/driver.h:5,
> from ../include/asm-generic/gpio.h:13,
> from ../include/linux/gpio.h:62,
> from ../drivers/regulator/mcp16502.c:11:
> ../drivers/regulator/mcp16502.c:527:32: error: 'mcp16502_suspend_noirq' undeclared here (not in a function)
> SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(mcp16502_suspend_noirq,
> ^
> ../include/linux/pm.h:342:19: note: in definition of macro 'SET_NOIRQ_SYSTEM_SLEEP_PM_OPS'
> .suspend_noirq = suspend_fn, \
> ^
> ../drivers/regulator/mcp16502.c:528:10: error: 'mcp16502_resume_noirq' undeclared here (not in a function)
> mcp16502_resume_noirq)
> ^
> ../include/linux/pm.h:343:18: note: in definition of macro 'SET_NOIRQ_SYSTEM_SLEEP_PM_OPS'
> .resume_noirq = resume_fn, \
> ^
>
>
>
^ permalink raw reply
* Re: [-next] strace tests fail because of "y2038: socket: Add compat_sys_recvmmsg_time64"
From: Arnd Bergmann @ 2018-12-18 15:14 UTC (permalink / raw)
To: Heiko Carstens
Cc: Linux-Next Mailing List, Linux Kernel Mailing List, linux-s390,
Martin Schwidefsky
In-Reply-To: <20181218075653.GB3590@osiris>
On Tue, Dec 18, 2018 at 8:57 AM Heiko Carstens
<heiko.carstens@de.ibm.com> wrote:
>
> On Mon, Dec 17, 2018 at 11:05:06PM +0100, Arnd Bergmann wrote:
> > On Mon, Dec 17, 2018 at 10:40 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > >
> > > On Mon, Dec 17, 2018 at 2:06 PM Heiko Carstens
> > > <heiko.carstens@de.ibm.com> wrote:
> > > >
> > > > Hi Arnd,
> > > >
> > > > in linux-next as of today 16 strace self tests fail on s390. I could
> > > > bisect this to b136972b063b ("y2038: socket: Add compat_sys_recvmmsg_time64").
> > > >
> > > > The following tests fail:
> > >
> > > Hi Heiko,
> > >
> > > Thanks for the report and sorry I broke things. I'll have a closer look
> > > tomorrow if I don't find it right away. I suppose the regression was in
> > > native system calls, not the compat syscalls with 31-bit user space,
> > > right?
>
> Yes, I was talking about 64 bit native system calls.
>
> > I found a bug in my patch by inspection. Can you try if the patch
> > below makes it all work (apologies for the garbled whitespace),
> > I'm considering a rewrite of that function now (to split it into two
> > again), but want to make sure there isn't another problem in my
> > original patch.
>
> With your patch below applied, the tests pass again.
Ok, thanks for testing, I've pushed out the fixed version of that
branch now.
Arnd
^ permalink raw reply
* Re: [PATCH v3 7/9] arm64: defconfig: Enable FSL_MC_BUS and FSL_MC_DPIO
From: Stefan Wahren @ 2018-12-18 20:10 UTC (permalink / raw)
To: Horia Geanta
Cc: Stephen Rothwell, arm-soc, Marc Gonzalez, LKML, linux-next,
Olof Johansson, Linux ARM
In-Reply-To: <VI1PR0402MB3485A452549CF37694720A7B98BC0@VI1PR0402MB3485.eurprd04.prod.outlook.com>
Hi Horia,
> Horia Geanta <horia.geanta@nxp.com> hat am 17. Dezember 2018 um 16:33 geschrieben:
>
>
> On 12/15/2018 11:44 PM, Stefan Wahren wrote:
> > Hi,
> >
> >> Olof Johansson <olof@lixom.net> hat am 13. Dezember 2018 um 07:48 geschrieben:
> >>
> >>
> >> On Fri, Nov 09, 2018 at 06:05:24AM +0000, Horia Geanta wrote:
> >>> On 11/9/2018 3:11 AM, Marc Gonzalez wrote:
> >>>> Commit e8342cc7954e ("enable CAAM crypto engine on QorIQ DPAA2 SoCs")
> >>>> enabled CRYPTO_DEV_FSL_DPAA2_CAAM, which depends on FSL_MC_DPIO,
> >>>> which is not set. Enable FSL_MC_BUS, and build FSL_MC_DPIO and
> >>>> CRYPTO_DEV_FSL_DPAA2_CAAM as modules.
> >>>>
> >>>> Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
> >>> Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
> >>
> >> I had to redo this one, and when I did I noticed that there's also an ethernet
> >> driver. Should that be enabled as well?
> >>
> >
> > this patch in next-20181214 breaks "make modules_install" for arm64/defconfig on my Ubuntu machine:
> >
> > DEPMOD 4.20.0-rc6-next-20181214
> > depmod: ERROR: Found 6 modules in dependency cycles!
> > depmod: ERROR: Cycle detected: caamalg_desc -> dpaa2_caam -> authenc
> > depmod: ERROR: Cycle detected: caamalg_desc -> dpaa2_caam -> fsl_mc_dpio
> > depmod: ERROR: Cycle detected: dpaa2_caam -> caamhash_desc -> dpaa2_caam
> > depmod: ERROR: Cycle detected: caamalg_desc -> dpaa2_caam -> caamhash_desc -> error
> > depmod: ERROR: Cycle detected: caamalg_desc -> dpaa2_caam -> caamhash_desc -> caamalg_desc
> >
> > After reverting of this patch the issue disappeared.
> >
> Seems there's a dependency cycle b/w dpaa2_caam and caam{alg,hash}_desc, as follows:
>
> A->B
> ---
> dpaa2_caam needs cnstr_* exported by caam{alg,hash}_desc
>
> B->A
> ---
> caam{alg,hash}_desc need caam_imx, caam_little_end:
> caam{hash,alg}_desc.c
> --> desc_constr.h (included for descriptors generation functions)
> --> regs.h (included for endianness helpers)
> --> extern bool caam_imx, caam_little_end
> caam_imx, caam_little_end are exported by dpaa2_caam - caamalg_qi2.c (when
> CONFIG_CRYPTO_DEV_FSL_CAAM=n)
>
> Could we drop this patch, until CAAM driver gets a proper fix (which is not
> straightforward)?
this issue still persists in 4.20.0-rc7-next-20181218. Could you please send a patch to revert this change?
Thanks Stefan
>
> Thanks,
> Horia
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply
* mmotm 2018-12-18-15-09 uploaded
From: akpm @ 2018-12-18 23:09 UTC (permalink / raw)
To: broonie, mhocko, sfr, linux-next, linux-fsdevel, linux-mm,
linux-kernel, mm-commits
The mm-of-the-moment snapshot 2018-12-18-15-09 has been uploaded to
http://www.ozlabs.org/~akpm/mmotm/
mmotm-readme.txt says
README for mm-of-the-moment:
http://www.ozlabs.org/~akpm/mmotm/
This is a snapshot of my -mm patch queue. Uploaded at random hopefully
more than once a week.
You will need quilt to apply these patches to the latest Linus release (4.x
or 4.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
http://ozlabs.org/~akpm/mmotm/series
The file broken-out.tar.gz contains two datestamp files: .DATE and
.DATE-yyyy-mm-dd-hh-mm-ss. Both contain the string yyyy-mm-dd-hh-mm-ss,
followed by the base kernel version against which this patch series is to
be applied.
This tree is partially included in linux-next. To see which patches are
included in linux-next, consult the `series' file. Only the patches
within the #NEXT_PATCHES_START/#NEXT_PATCHES_END markers are included in
linux-next.
A git tree which contains the memory management portion of this tree is
maintained at git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git
by Michal Hocko. It contains the patches which are between the
"#NEXT_PATCHES_START mm" and "#NEXT_PATCHES_END" markers, from the series
file, http://www.ozlabs.org/~akpm/mmotm/series.
A full copy of the full kernel tree with the linux-next and mmotm patches
already applied is available through git within an hour of the mmotm
release. Individual mmotm releases are tagged. The master branch always
points to the latest release, so it's constantly rebasing.
http://git.cmpxchg.org/cgit.cgi/linux-mmotm.git/
To develop on top of mmotm git:
$ git remote add mmotm git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git
$ git remote update mmotm
$ git checkout -b topic mmotm/master
<make changes, commit>
$ git send-email mmotm/master.. [...]
To rebase a branch with older patches to a new mmotm release:
$ git remote update mmotm
$ git rebase --onto mmotm/master <topic base> topic
The directory http://www.ozlabs.org/~akpm/mmots/ (mm-of-the-second)
contains daily snapshots of the -mm tree. It is updated more frequently
than mmotm, and is untested.
A git copy of this tree is available at
http://git.cmpxchg.org/cgit.cgi/linux-mmots.git/
and use of this tree is similar to
http://git.cmpxchg.org/cgit.cgi/linux-mmotm.git/, described above.
This mmotm tree contains the following patches against 4.20-rc7:
(patches marked "*" will be included in linux-next)
origin.patch
* checkpatch-dont-interpret-stack-dumps-as-commit-ids.patch
* mm-thp-fix-flags-for-pmd-migration-when-split.patch
* forkmemcg-fix-crash-in-free_thread_stack-on-memcg-charge-fail.patch
* mm-thp-always-specify-disabled-vmas-as-nh-in-smaps.patch
* mm-memcg-fix-reclaim-deadlock-with-writeback.patch
* mm-page_alloc-fix-has_unmovable_pages-for-hugepages.patch
* arm-arch-arm-include-asm-pageh-needs-personalityh.patch
* kasan-mm-change-hooks-signatures.patch
* kasan-slub-handle-pointer-tags-in-early_kmem_cache_node_alloc.patch
* kasan-move-common-generic-and-tag-based-code-to-commonc.patch
* kasan-rename-source-files-to-reflect-the-new-naming-scheme.patch
* kasan-add-config_kasan_generic-and-config_kasan_sw_tags.patch
* kasan-arm64-adjust-shadow-size-for-tag-based-mode.patch
* kasan-rename-kasan_zero_page-to-kasan_early_shadow_page.patch
* kasan-initialize-shadow-to-0xff-for-tag-based-mode.patch
* arm64-move-untagged_addr-macro-from-uaccessh-to-memoryh.patch
* kasan-add-tag-related-helper-functions.patch
* kasan-arm64-untag-address-in-_virt_addr_is_linear.patch
* kasan-preassign-tags-to-objects-with-ctors-or-slab_typesafe_by_rcu.patch
* kasan-arm64-fix-up-fault-handling-logic.patch
* kasan-arm64-enable-top-byte-ignore-for-the-kernel.patch
* kasan-mm-perform-untagged-pointers-comparison-in-krealloc.patch
* kasan-split-out-generic_reportc-from-reportc.patch
* kasan-add-bug-reporting-routines-for-tag-based-mode.patch
* mm-move-obj_to_index-to-include-linux-slab_defh.patch
* kasan-add-hooks-implementation-for-tag-based-mode.patch
* kasan-arm64-add-brk-handler-for-inline-instrumentation.patch
* kasan-mm-arm64-tag-non-slab-memory-allocated-via-pagealloc.patch
* kasan-add-__must_check-annotations-to-kasan-hooks.patch
* kasan-arm64-select-have_arch_kasan_sw_tags.patch
* kasan-update-documentation.patch
* kasan-add-spdx-license-identifier-mark-to-source-files.patch
* bloat-o-meter-ignore-__addressable_-symbols.patch
* scripts-decodecode-set-arch-when-running-natively-on-arm-arm64.patch
* scripts-decode_stacktrace-only-strip-base-path-when-a-prefix-of-the-path.patch
* checkstackpl-dynamic-stack-growth-for-aarch64.patch
* scripts-add-spdxcheckpy-self-test.patch
* scripts-tags-add-more-declarations.patch
* arch-sh-mach-kfr2r09-fix-struct-mtd_oob_ops-build-warning.patch
* sh-kfr2r09-drop-pointless-static-qualifier-in-kfr2r09_usb0_gadget_setup.patch
* sh-boards-convert-to-spdx-identifiers.patch
* sh-drivers-convert-to-spdx-identifiers.patch
* sh-include-convert-to-spdx-identifiers.patch
* sh-sh2-convert-to-spdx-identifiers.patch
* sh-sh2a-convert-to-spdx-identifiers.patch
* sh-sh3-convert-to-spdx-identifiers.patch
* sh-sh4-convert-to-spdx-identifiers.patch
* sh-sh4a-convert-to-spdx-identifiers.patch
* sh-sh5-convert-to-spdx-identifiers.patch
* sh-shmobile-convert-to-spdx-identifiers.patch
* sh-cpu-convert-to-spdx-identifiers.patch
* sh-kernel-convert-to-spdx-identifiers.patch
* sh-lib-convert-to-spdx-identifiers.patch
* debugobjects-call-debug_objects_mem_init-eariler.patch
* debugobjects-move-printk-out-of-db-lock-critical-sections.patch
* ocfs2-optimize-the-reading-of-heartbeat-data.patch
* ocfs2-dlmfs-remove-set-but-not-used-variable-status.patch
* ocfs2-remove-set-but-not-used-variable-lastzero.patch
* ocfs2-improve-ocfs2-makefile.patch
* ocfs2-fix-panic-due-to-unrecovered-local-alloc.patch
* ocfs2-clear-journal-dirty-flag-after-shutdown-journal.patch
* ocfs2-dont-clear-bh-uptodate-for-block-read.patch
* ocfs2-clear-zero-in-unaligned-direct-io.patch
* ocfs2-clear-zero-in-unaligned-direct-io-checkpatch-fixes.patch
* ocfs2-dlm-clean-dlm_lksb_get_lvb-and-dlm_lksb_put_lvb-when-the-cancel_pending-is-set.patch
* ocfs2-dlm-return-dlm_cancelgrant-if-the-lock-is-on-granted-list-and-the-operation-is-canceled.patch
* block-restore-proc-partitions-to-not-display-non-partitionable-removable-devices.patch
mm.patch
* mm-slab-remove-unnecessary-unlikely.patch
* mm-slab-remove-unnecessary-unlikely-fix.patch
* mm-slub-remove-validation-on-cpu_slab-in-__flush_cpu_slab.patch
* mm-slub-page-is-always-non-null-for-node_match.patch
* mm-slub-record-final-state-of-slub-action-in-deactivate_slab.patch
* mm-slub-record-final-state-of-slub-action-in-deactivate_slab-fix.patch
* mm-slub-improve-performance-by-skipping-checked-node-in-get_any_partial.patch
* mm-slub-improve-performance-by-skipping-checked-node-in-get_any_partial-fix.patch
* mm-slab-fix-sparse-warning-in-kmalloc_type.patch
* mm-page_owner-clamp-read-count-to-page_size.patch
* mm-page_owner-clamp-read-count-to-page_size-fix.patch
* mm-hotplug-optimize-clear_hwpoisoned_pages.patch
* mm-hotplug-optimize-clear_hwpoisoned_pages-fix.patch
* mm-mmu_notifier-remove-mmu_notifier_synchronize.patch
* writeback-dont-decrement-wb-refcnt-if-wb-bdi.patch
* mm-simplify-get_next_ra_size.patch
* mm-vmscan-skip-ksm-page-in-direct-reclaim-if-priority-is-low.patch
* mm-ksm-do-not-block-on-page-lock-when-searching-stable-tree.patch
* mm-ksm-do-not-block-on-page-lock-when-searching-stable-tree-fix.patch
* mm-print-more-information-about-mapping-in-__dump_page.patch
* mm-print-more-information-about-mapping-in-__dump_page-fix.patch
* mm-print-more-information-about-mapping-in-__dump_page-fix-2.patch
* mm-lower-the-printk-loglevel-for-__dump_page-messages.patch
* mm-lower-the-printk-loglevel-for-__dump_page-messages-fix.patch
* mm-lower-the-printk-loglevel-for-__dump_page-messages-fix-fix.patch
* mm-memory_hotplug-drop-pointless-block-alignment-checks-from-__offline_pages.patch
* mm-memory_hotplug-print-reason-for-the-offlining-failure.patch
* mm-memory_hotplug-print-reason-for-the-offlining-failure-fix.patch
* mm-memory_hotplug-be-more-verbose-for-memory-offline-failures.patch
* mm-memory_hotplug-be-more-verbose-for-memory-offline-failures-fix.patch
* mm-memory_hotplug-be-more-verbose-for-memory-offline-failures-update.patch
* mm-only-report-isolation-failures-when-offlining-memory.patch
* xxhash-create-arch-dependent-32-64-bit-xxhash.patch
* ksm-replace-jhash2-with-xxhash.patch
* mm-mmap-remove-verify_mm_writelocked.patch
* mm-memory_hotplug-do-not-clear-numa_node-association-after-hot_remove.patch
* mm-add-an-f_seal_future_write-seal-to-memfd.patch
* mm-add-an-f_seal_future_write-seal-to-memfd-fix.patch
* mm-add-an-f_seal_future_write-seal-to-memfd-fix-2.patch
* selftests-memfd-add-tests-for-f_seal_future_write-seal.patch
* selftests-memfd-add-tests-for-f_seal_future_write-seal-fix.patch
* mm-remove-reset-of-pcp-counter-in-pageset_init.patch
* mm-reference-totalram_pages-and-managed_pages-once-per-function.patch
* mm-convert-zone-managed_pages-to-atomic-variable.patch
* mm-convert-totalram_pages-and-totalhigh_pages-variables-to-atomic.patch
* mm-convert-totalram_pages-and-totalhigh_pages-variables-to-atomic-checkpatch-fixes.patch
* mm-remove-managed_page_count-spinlock.patch
* vmscan-return-node_reclaim_noscan-in-node_reclaim-when-config_numa-is-n.patch
* mm-swap-use-nr_node_ids-for-avail_lists-in-swap_info_struct.patch
* userfaultfd-convert-userfaultfd_ctx-refcount-to-refcount_t.patch
* mm-change-the-order-of-migrate_reclaimable-migrate_movable-in-fallbacks.patch
* mm-devm_memremap_pages-mark-devm_memremap_pages-export_symbol_gpl.patch
* mm-devm_memremap_pages-kill-mapping-system-ram-support.patch
* mm-devm_memremap_pages-fix-shutdown-handling.patch
* mm-devm_memremap_pages-add-memory_device_private-support.patch
* mm-hmm-use-devm-semantics-for-hmm_devmem_add-remove.patch
* mm-hmm-replace-hmm_devmem_pages_create-with-devm_memremap_pages.patch
* mm-hmm-mark-hmm_devmem_add-add_resource-export_symbol_gpl.patch
* mm-hmm-mark-hmm_devmem_add-add_resource-export_symbol_gpl-fix.patch
* mm-page_alloc-free-order-0-pages-through-pcp-in-page_frag_free.patch
* mm-page_alloc-free-order-0-pages-through-pcp-in-page_frag_free-fix.patch
* mm-page_alloc-use-a-single-function-to-free-page.patch
* make-__memblock_free_early-a-wrapper-of-memblock_free-rather-dup-it.patch
* memblock-replace-usage-of-__memblock_free_early-with-memblock_free.patch
* drivers-base-memoryc-remove-an-unnecessary-check-on-nr_mem_sections.patch
* mm-memory_hotplug-drop-online-parameter-from-add_memory_resource.patch
* mm-page_alloc-spread-allocations-across-zones-before-introducing-fragmentation.patch
* mm-move-zone-watermark-accesses-behind-an-accessor.patch
* mm-use-alloc_flags-to-record-if-kswapd-can-wake.patch
* mm-use-alloc_flags-to-record-if-kswapd-can-wake-fix.patch
* mm-reclaim-small-amounts-of-memory-when-an-external-fragmentation-event-occurs.patch
* mm-make-migratetype_names-const-char.patch
* mm-make-migrate_reason_names-const-char.patch
* mm-make-free_reserved_area-return-const-char.patch
* reorganize-the-oom-report-in-dump_header.patch
* add-oom-victims-memcg-to-the-oom-context-information.patch
* mm-put_and_wait_on_page_locked-while-page-is-migrated.patch
* mm-put_and_wait_on_page_locked-while-page-is-migrated-fix.patch
* mm-check-nr_initialised-with-pages_per_section-directly-in-defer_init.patch
* mm-memory_hotplug-add-nid-parameter-to-arch_remove_memory.patch
* kernel-resource-check-for-ioresource_sysram-in-release_mem_region_adjustable.patch
* mm-memory_hotplug-move-zone-pages-handling-to-offline-stage.patch
* mm-memory-hotplug-rework-unregister_mem_sect_under_nodes.patch
* mm-memory_hotplug-refactor-shrink_zone-pgdat_span.patch
* mm-memblock-skip-kmemleak-for-kasan_init.patch
* zram-fix-lockdep-warning-of-free-block-handling.patch
* zram-fix-double-free-backing-device.patch
* zram-refactoring-flags-and-writeback-stuff.patch
* zram-introduce-zram_idle-flag.patch
* zram-support-idle-huge-page-writeback.patch
* zram-add-bd_stat-statistics.patch
* zram-add-bd_stat-statistics-v4.patch
* zram-writeback-throttle.patch
* zram-writeback-throttle-v4.patch
* mm-remove-pte_lock_deinit.patch
* mm-sparse-drop-pgdat_resize_lock-in-sparse_add-remove_one_section.patch
* mm-sparse-drop-pgdat_resize_lock-in-sparse_add-remove_one_section-v4.patch
* mm-sparse-pass-nid-instead-of-pgdat-to-sparse_add_one_section.patch
* mm-hotplug-move-init_currently_empty_zone-under-zone_span_lock-protection.patch
* mm-refactor-swap-in-logic-out-of-shmem_getpage_gfp.patch
* mm-rid-swapoff-of-quadratic-complexity.patch
* mm-rid-swapoff-of-quadratic-complexity-fix-1.patch
* mm-rid-swapoff-of-quadratic-complexity-fix-2.patch
* mm-hmm-remove-set-but-not-used-variable-devmem.patch
* mm-show_mem-drop-pgdat_resize_lock-in-show_mem.patch
* mm-dont-break-integrity-writeback-on-writepage-error.patch
* mm-dont-break-integrity-writeback-on-writepage-error-fix.patch
* mm-page_alloc-drop-uneeded-__meminit-and-__meminitdata.patch
* mm-use-mm_zero_struct_page-from-sparc-on-all-64b-architectures.patch
* mm-drop-meminit_pfn_in_nid-as-it-is-redundant.patch
* mm-implement-new-zone-specific-memblock-iterator.patch
* mm-initialize-max_order_nr_pages-at-a-time-instead-of-doing-larger-sections.patch
* mm-move-hot-plug-specific-memory-init-into-separate-functions-and-optimize.patch
* mm-add-reserved-flag-setting-to-set_page_links.patch
* mm-use-common-iterator-for-deferred_init_pages-and-deferred_free_pages.patch
* mm-use-common-iterator-for-deferred_init_pages-and-deferred_free_pages-fix.patch
* tools-vm-page-typesc-fix-kpagecount-returned-fewer-pages-than-expected-failures.patch
* proc-kpagecount-return-0-for-special-pages-that-are-never-mapped.patch
* proc-kpagecount-return-0-for-special-pages-that-are-never-mapped-v2.patch
* mm-remove-useless-check-in-pagecache_get_page.patch
* mm-page_alloc-calculate-first_deferred_pfn-directly.patch
* ioremap-rework-pxd_free_pyd_page-api.patch
* arm64-mmu-drop-pxd_present-checks-from-pxd_free_pyd_table.patch
* x86-pgtable-drop-pxd_none-checks-from-pxd_free_pyd_table.patch
* lib-ioremap-ensure-phys_addr-actually-corresponds-to-a-physical-address.patch
* lib-ioremap-ensure-break-before-make-is-used-for-huge-p4d-mappings.patch
* mm-kmemleak-little-optimization-while-scanning.patch
* mm-kmemleak-little-optimization-while-scanning-fix.patch
* hwpoison-memory_hotplug-allow-hwpoisoned-pages-to-be-offlined.patch
* mm-mmu_notifier-use-structure-for-invalidate_range_start-end-callback.patch
* mm-mmu_notifier-use-structure-for-invalidate_range_start-end-callback-fix-fix.patch
* mm-mmu_notifier-use-structure-for-invalidate_range_start-end-calls-v2.patch
* mm-mmu_notifier-use-structure-for-invalidate_range_start-end-calls-v3.patch
* mm-mmu_notifier-use-structure-for-invalidate_range_start-end-calls-v2-checkpatch-fixes.patch
* mm-mmu_notifier-contextual-information-for-event-triggering-invalidation-v2.patch
* mm-mmu_notifier-contextual-information-for-event-triggering-invalidation-v2-fix.patch
* memory_hotplug-remove-duplicate-declaration-of-offline_pages.patch
* filemap-kill-page_cache_read-usage-in-filemap_fault.patch
* filemap-kill-page_cache_read-usage-in-filemap_fault-fix.patch
* filemap-pass-vm_fault-to-the-mmap-ra-helpers.patch
* filemap-drop-the-mmap_sem-for-all-blocking-operations.patch
* filemap-drop-the-mmap_sem-for-all-blocking-operations-v6.patch
* filemap-drop-the-mmap_sem-for-all-blocking-operations-checkpatch-fixes.patch
* mm-proc-be-more-verbose-about-unstable-vma-flags-in-proc-pid-smaps.patch
* mm-thp-proc-report-thp-eligibility-for-each-vma.patch
* mm-proc-report-pr_set_thp_disable-in-proc.patch
* mm-memory_hotplug-try-to-migrate-full-pfn-range.patch
* mm-memory_hotplug-deobfuscate-migration-part-of-offlining.patch
* mm-memory_hotplug-deobfuscate-migration-part-of-offlining-fix.patch
* mm-fault_around-do-not-take-a-reference-to-a-locked-page.patch
* mm-memory_hotplug-dont-bail-out-in-do_migrate_range-prematurely.patch
* ksm-react-on-changing-sleep_millisecs-parameter-faster.patch
* mm-pageblock-throw-compiling-time-error-if-pageblock_bits-can-not-hold-migrate_types.patch
* userfaultfd-clear-flag-if-remap-event-not-enabled.patch
* mm-page_alloc-dont-call-kasan_free_pages-at-deferred-mem-init.patch
* mm-memory_hotplug-initialize-struct-pages-for-the-full-memory-section.patch
* kmemleak-add-config-to-select-auto-scan.patch
* mm-page_alloc-enable-pcpu_drain-with-zone-capability.patch
* mm-page_alloc-enable-pcpu_drain-with-zone-capability-fix.patch
* mm-migration-factor-out-code-to-compute-expected-number-of-page-references.patch
* mm-migration-factor-out-code-to-compute-expected-number-of-page-references-fix.patch
* mm-migrate-lock-buffers-before-migrate_page_move_mapping.patch
* mm-migrate-move-migrate_page_lock_buffers.patch
* mm-migrate-provide-buffer_migrate_page_norefs.patch
* mm-migrate-provide-buffer_migrate_page_norefs-fix.patch
* blkdev-avoid-migration-stalls-for-blkdev-pages.patch
* mm-migrate-drop-unused-argument-of-migrate_page_move_mapping.patch
* mm-page_allocc-allow-error-injection.patch
* mm-remove-unused-page-state-adjustment-macro.patch
* mm-remove-__hugepage_set_anon_rmap.patch
* memory_hotplug-add-missing-newlines-to-debugging-output.patch
* memory_hotplug-free-pages-as-higher-order.patch
* memory_hotplug-free-pages-as-higher-order-fix.patch
* memory_hotplug-free-pages-as-higher-order-fix-fix.patch
* mm-page_alloc-remove-software-prefetching-in-__free_pages_core.patch
* mm-swap-fix-race-between-swapoff-and-some-swap-operations.patch
* mm-swap-fix-race-between-swapoff-and-some-swap-operations-v6.patch
* mm-fix-race-between-swapoff-and-mincore.patch
* mm-dont-expose-page-to-fast-gup-before-its-ready.patch
* mm-page_owner-align-with-pageblock_nr_pages.patch
* mm-page_owner-align-with-pageblock_nr-pages.patch
* info-task-hung-in-generic_file_write_iter.patch
* proc-use-ns_capable-instead-of-capable-for-timerslack_ns.patch
* fs-proc-utilc-include-fs-proc-internalh-for-name_to_int.patch
* proc-delete-unnecessary-variable-in-proc_alloc_inode.patch
* proc-slightly-faster-proc-limits.patch
* proc-sysctl-fix-return-error-for-proc_doulongvec_minmax.patch
* coding-style-dont-use-extern-with-function-prototypes.patch
* build_bugh-remove-negative-array-fallback-for-build_bug_on.patch
* build_bugh-remove-most-of-dummy-build_bug_on-stubs-for-sparse.patch
* kernel-hung_taskc-force-console-verbose-before-panic.patch
* kernel-hung_taskc-break-rcu-locks-based-on-jiffies.patch
* udmabuf-convert-to-use-vm_fault_t.patch
* drop-silly-static-inline-asmlinkage-from-dump_stack.patch
* fls-change-parameter-to-unsigned-int.patch
* lib-genaloc-fix-allocation-of-aligned-buffer-from-non-aligned-chunk.patch
* find_bit_benchmark-align-test_find_next_and_bit-with-others.patch
* checkpatch-warn-on-const-char-foo-=-bar-declarations.patch
* fs-epoll-remove-max_nests-argument-from-ep_call_nested.patch
* fs-epoll-simplify-ep_send_events_proc-ready-list-loop.patch
* fs-epoll-drop-ovflist-branch-prediction.patch
* fs-epoll-robustify-ep-mtx-held-checks.patch
* fs-epoll-reduce-the-scope-of-wq-lock-in-epoll_wait.patch
* fs-epoll-reduce-the-scope-of-wq-lock-in-epoll_wait-fix.patch
* fs-epoll-avoid-barrier-after-an-epoll_wait2-timeout.patch
* fs-epoll-avoid-barrier-after-an-epoll_wait2-timeout-fix.patch
* fs-epoll-rename-check_events-label-to-send_events.patch
* fs-epoll-deal-with-wait_queue-only-once.patch
* fs-epoll-deal-with-wait_queue-only-once-fix.patch
* make-initcall_level_names-const-char.patch
* autofs-improve-ioctl-sbi-checks.patch
* autofs-improve-ioctl-sbi-checks-fix.patch
* autofs-simplify-parse_options-function-call.patch
* autofs-change-catatonic-setting-to-a-bit-flag.patch
* autofs-add-strictexpire-mount-option.patch
* hfsplus-return-file-attributes-on-statx.patch
* fat-replaced-11-magic-to-msdos_name-for-volume-label.patch
* fat-removed-fat_first_ent-macro.patch
* fat-moved-max_fat-to-fath-and-changed-it-to-inline-function.patch
* fat-new-inline-functions-to-determine-the-fat-variant-32-16-or-12.patch
* ptrace-take-into-account-saved_sigmask-in-ptrace_getsetsigmask.patch
* fork-fix-some-wmissing-prototypes-warnings.patch
* exec-load_script-dont-blindly-truncate-shebang-string.patch
* exec-increase-binprm_buf_size-to-256.patch
* exec-separate-mm_anonpages-and-rlimit_stack-accounting.patch
* exec-separate-mm_anonpages-and-rlimit_stack-accounting-fix.patch
* exec-separate-mm_anonpages-and-rlimit_stack-accounting-checkpatch-fixes.patch
* bfs-extra-sanity-checking-and-static-inode-bitmap.patch
* panic-add-options-to-print-system-info-when-panic-happens.patch
* kernel-sysctl-add-panic_print-into-sysctl.patch
* kernel-kcovc-mark-func-write_comp_data-as-notrace.patch
* scripts-gdb-fix-lx-version-string-output.patch
* initramfs-cleanup-incomplete-rootfs.patch
* ipc-allow-boot-time-extension-of-ipcmni-from-32k-to-8m.patch
* ipc-allow-boot-time-extension-of-ipcmni-from-32k-to-8m-checkpatch-fixes.patch
* ipc-conserve-sequence-numbers-in-extended-ipcmni-mode.patch
linux-next.patch
linux-next-rejects.patch
* scripts-atomic-check-atomicssh-dont-assume-that-scripts-are-executable.patch
* lib-fix-build-failure-in-config_debug_virtual-test.patch
* mm-treewide-remove-unused-address-argument-from-pte_alloc-functions-v2.patch
* mm-treewide-remove-unused-address-argument-from-pte_alloc-functions-v2-fix.patch
* mm-speed-up-mremap-by-20x-on-large-regions-v5.patch
* mm-speed-up-mremap-by-20x-on-large-regions-v5-fix.patch
* mm-select-have_move_pmd-in-x86-for-faster-mremap.patch
* async-remove-some-duplicated-includes.patch
* signal-remove-some-duplicated-includes.patch
* locking-atomics-build-atomic-headers-as-required.patch
* mm-balloon-update-comment-about-isolation-migration-compaction.patch
* mm-convert-pg_balloon-to-pg_offline.patch
* mm-convert-pg_balloon-to-pg_offline-fix.patch
* kexec-export-pg_offline-to-vmcoreinfo.patch
* xen-balloon-mark-inflated-pages-pg_offline.patch
* hv_balloon-mark-inflated-pages-pg_offline.patch
* vmw_balloon-mark-inflated-pages-pg_offline.patch
* vmw_balloon-mark-inflated-pages-pg_offline-v2.patch
* pm-hibernate-use-pfn_to_online_page.patch
* pm-hibernate-exclude-all-pageoffline-pages.patch
* pm-hibernate-exclude-all-pageoffline-pages-v2.patch
* locking-mutex-remove-caller-signal_pending-branch-predictions.patch
* kernel-sched-remove-caller-signal_pending-branch-predictions.patch
* arch-arc-remove-caller-signal_pending_branch-predictions.patch
* mm-remove-caller-signal_pending-branch-predictions.patch
* fs-remove-caller-signal_pending-branch-predictions.patch
* fs-remove-caller-signal_pending-branch-predictions-fix.patch
* include-replace-tsk-to-task-in-linux-sched-signalh.patch
* fs-dont-opencode-lru_to_page.patch
* drivers-base-kmemleak-ignore-a-known-leak.patch
* docs-fix-co-developed-by-docs.patch
* checkpatch-add-co-developed-by-to-signature-tags.patch
* mm-fix-polled-swap-page-in.patch
* fork-remove-duplicated-include-from-forkc.patch
* fix-read-buffer-overflow-in-delta-ipc.patch
* openvswitch-convert-to-kvmalloc.patch
* md-convert-to-kvmalloc.patch
* selinux-convert-to-kvmalloc.patch
* generic-radix-trees.patch
* proc-commit-to-genradix.patch
* sctp-convert-to-genradix.patch
* drop-flex_arrays.patch
make-sure-nobodys-leaking-resources.patch
releasing-resources-with-children.patch
mutex-subsystem-synchro-test-module.patch
kernel-forkc-export-kernel_thread-to-modules.patch
slab-leaks3-default-y.patch
workaround-for-a-pci-restoring-bug.patch
^ permalink raw reply
* Re: linux-next: build warning after merge of the tip tree
From: Stephen Rothwell @ 2018-12-19 0:55 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra
Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Mark Rutland
In-Reply-To: <20181106114612.7de37ce1@canb.auug.org.au>
[-- Attachment #1: Type: text/plain, Size: 605 bytes --]
Hi all,
On Tue, 6 Nov 2018 11:46:12 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the tip tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> warning: include/asm-generic/atomic-instrumented.h is out-of-date.
> warning: include/asm-generic/atomic-long.h is out-of-date.
> warning: include/linux/atomic-fallback.h is out-of-date.
>
> Exposed by commit
>
> 8d32588077bd ("locking/atomics: Check generated headers are up-to-date")
I am still getting these. Are they expected? To be ignored?
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply
* Re: linux-next: build warning after merge of the net-next tree
From: Stephen Rothwell @ 2018-12-19 2:42 UTC (permalink / raw)
To: David Miller, Networking
Cc: Linux Next Mailing List, Linux Kernel Mailing List,
Ioana Ciocoi Radulescu, Kees Cook, Gustavo A. R. Silva
In-Reply-To: <20181129112428.45287471@canb.auug.org.au>
[-- Attachment #1: Type: text/plain, Size: 1332 bytes --]
Hi all,
On Thu, 29 Nov 2018 11:24:28 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the net-next tree, today's linux-next build
> (x86_64_allmodconfig) produced this warning:
>
> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c: In function 'run_xdp':
> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:324:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
> bpf_warn_invalid_xdp_action(xdp_act);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:325:2: note: here
> case XDP_ABORTED:
> ^~~~
> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:326:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
> trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:327:2: note: here
> case XDP_DROP:
> ^~~~
>
> Introduced by commit
>
> 7e273a8ebdd3 ("dpaa2-eth: Add basic XDP support")
>
> This due to my use of -Wimplicit-fallthrough. This is new code. The
> warning can be suppressed by adding a comment like /* fall through */
> at the appropriate places to indicate that the fallthrough is intended.
I am still seeing these warnings.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox