Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-04 Thread Greg Kroah-Hartman
On Mon, Aug 03, 2020 at 11:33:39PM -0700, Linus Torvalds wrote:
> On Mon, Aug 3, 2020 at 10:59 PM Guenter Roeck  wrote:
> >
> > Tested-by: Guenter Roeck 
> 
> Thanks.
> 
> Greg, I updated my internal commit with Guenter's tested-by and some
> more commentary (I had tried to break out that file entirely, it gets
> ugly).
> 
> So it's now commit c0842fbc1b18 ("random32: move the pseudo-random
> 32-bit definitions to prandom.h") in my tree, and I've pushed it out.

Great, I see it now and will grab it from there, thanks!

greg k-h


Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-04 Thread Linus Torvalds
On Mon, Aug 3, 2020 at 10:59 PM Guenter Roeck  wrote:
>
> Tested-by: Guenter Roeck 

Thanks.

Greg, I updated my internal commit with Guenter's tested-by and some
more commentary (I had tried to break out that file entirely, it gets
ugly).

So it's now commit c0842fbc1b18 ("random32: move the pseudo-random
32-bit definitions to prandom.h") in my tree, and I've pushed it out.

   Linus


Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-04 Thread Greg Kroah-Hartman
On Mon, Aug 03, 2020 at 10:58:55PM -0700, Guenter Roeck wrote:
> On Mon, Aug 03, 2020 at 08:12:51PM -0700, Linus Torvalds wrote:
> > On Mon, Aug 3, 2020 at 8:01 PM Guenter Roeck  wrote:
> > >
> > > The bisect log below applies to both the sparc and the powerpc build
> > > failures.
> > 
> > Does the attached fix it?
> > 
> >  Linus
> 
> > From 780c8591bce09bbdd2908b7c07b3baba883a1ce6 Mon Sep 17 00:00:00 2001
> > From: Linus Torvalds 
> > Date: Fri, 31 Jul 2020 07:51:14 +0200
> > Subject: [PATCH] random32: move the pseudo-random 32-bit definitions to 
> > prandom.h
> > 
> > The addition of percpu.h to the list of includes in random.h revealed
> > some circular dependencies on arm64 and possibly other platforms.  This
> > include was added solely for the pseudo-random definitions, which have
> > nothing to do with the rest of the definitions in this file but are
> > still there for legacy reasons.
> > 
> > This patch moves the pseudo-random parts to linux/prandom.h and the
> > percpu.h include with it, which is now guarded by _LINUX_PRANDOM_H and
> > protected against recursive inclusion.
> > 
> > A further cleanup step would be to remove this from 
> > entirely, and make people who use the prandom infrastructure include
> > just the new header file.  That's a bit of a churn patch, but grepping
> > for "prandom_" and "next_pseudo_random32" should catch most users.
> > 
> > Acked-by: Willy Tarreau 
> > Signed-off-by: Linus Torvalds 
> 
> With this patch applied on top of v5.8:
> 
> Build results:
>   total: 151 pass: 151 fail: 0
> Qemu test results:
>   total: 430 pass: 430 fail: 0
> 
> Tested-by: Guenter Roeck 

Thanks for this, I'll go queue it up in a bit and push out some new
-rc2 releases.

greg k-h


Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-04 Thread Guenter Roeck
On Mon, Aug 03, 2020 at 08:12:51PM -0700, Linus Torvalds wrote:
> On Mon, Aug 3, 2020 at 8:01 PM Guenter Roeck  wrote:
> >
> > The bisect log below applies to both the sparc and the powerpc build
> > failures.
> 
> Does the attached fix it?
> 
>  Linus

> From 780c8591bce09bbdd2908b7c07b3baba883a1ce6 Mon Sep 17 00:00:00 2001
> From: Linus Torvalds 
> Date: Fri, 31 Jul 2020 07:51:14 +0200
> Subject: [PATCH] random32: move the pseudo-random 32-bit definitions to 
> prandom.h
> 
> The addition of percpu.h to the list of includes in random.h revealed
> some circular dependencies on arm64 and possibly other platforms.  This
> include was added solely for the pseudo-random definitions, which have
> nothing to do with the rest of the definitions in this file but are
> still there for legacy reasons.
> 
> This patch moves the pseudo-random parts to linux/prandom.h and the
> percpu.h include with it, which is now guarded by _LINUX_PRANDOM_H and
> protected against recursive inclusion.
> 
> A further cleanup step would be to remove this from 
> entirely, and make people who use the prandom infrastructure include
> just the new header file.  That's a bit of a churn patch, but grepping
> for "prandom_" and "next_pseudo_random32" should catch most users.
> 
> Acked-by: Willy Tarreau 
> Signed-off-by: Linus Torvalds 

With this patch applied on top of v5.8:

Build results:
total: 151 pass: 151 fail: 0
Qemu test results:
total: 430 pass: 430 fail: 0

Tested-by: Guenter Roeck 

Thanks,
Guenter

> ---
>  include/linux/prandom.h | 78 +
>  include/linux/random.h  | 66 +++---
>  2 files changed, 82 insertions(+), 62 deletions(-)
>  create mode 100644 include/linux/prandom.h
> 
> diff --git a/include/linux/prandom.h b/include/linux/prandom.h
> new file mode 100644
> index ..968c4287a277
> --- /dev/null
> +++ b/include/linux/prandom.h
> @@ -0,0 +1,78 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +/*
> + * include/linux/prandom.h
> + *
> + * Include file for the fast pseudo-random 32-bit
> + * generation.
> + */
> +#ifndef _LINUX_PRANDOM_H
> +#define _LINUX_PRANDOM_H
> +
> +#include 
> +#include 
> +
> +u32 prandom_u32(void);
> +void prandom_bytes(void *buf, size_t nbytes);
> +void prandom_seed(u32 seed);
> +void prandom_reseed_late(void);
> +
> +struct rnd_state {
> + __u32 s1, s2, s3, s4;
> +};
> +
> +DECLARE_PER_CPU(struct rnd_state, net_rand_state);
> +
> +u32 prandom_u32_state(struct rnd_state *state);
> +void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes);
> +void prandom_seed_full_state(struct rnd_state __percpu *pcpu_state);
> +
> +#define prandom_init_once(pcpu_state)\
> + DO_ONCE(prandom_seed_full_state, (pcpu_state))
> +
> +/**
> + * prandom_u32_max - returns a pseudo-random number in interval [0, ep_ro)
> + * @ep_ro: right open interval endpoint
> + *
> + * Returns a pseudo-random number that is in interval [0, ep_ro). Note
> + * that the result depends on PRNG being well distributed in [0, ~0U]
> + * u32 space. Here we use maximally equidistributed combined Tausworthe
> + * generator, that is, prandom_u32(). This is useful when requesting a
> + * random index of an array containing ep_ro elements, for example.
> + *
> + * Returns: pseudo-random number in interval [0, ep_ro)
> + */
> +static inline u32 prandom_u32_max(u32 ep_ro)
> +{
> + return (u32)(((u64) prandom_u32() * ep_ro) >> 32);
> +}
> +
> +/*
> + * Handle minimum values for seeds
> + */
> +static inline u32 __seed(u32 x, u32 m)
> +{
> + return (x < m) ? x + m : x;
> +}
> +
> +/**
> + * prandom_seed_state - set seed for prandom_u32_state().
> + * @state: pointer to state structure to receive the seed.
> + * @seed: arbitrary 64-bit value to use as a seed.
> + */
> +static inline void prandom_seed_state(struct rnd_state *state, u64 seed)
> +{
> + u32 i = (seed >> 32) ^ (seed << 10) ^ seed;
> +
> + state->s1 = __seed(i,   2U);
> + state->s2 = __seed(i,   8U);
> + state->s3 = __seed(i,  16U);
> + state->s4 = __seed(i, 128U);
> +}
> +
> +/* Pseudo random number generator from numerical recipes. */
> +static inline u32 next_pseudo_random32(u32 seed)
> +{
> + return seed * 1664525 + 1013904223;
> +}
> +
> +#endif
> diff --git a/include/linux/random.h b/include/linux/random.h
> index 9ab7443bd91b..f45b8be3e3c4 100644
> --- a/include/linux/random.h
> +++ b/include/linux/random.h
> @@ -11,7 +11,6 @@
>  #include 
>  #include 
>  #include 
> -#include 
>  
>  #include 
>  
> @@ -111,63 +110,12 @@ declare_get_random_var_wait(long)
>  
>  unsigned long randomize_page(unsigned long start, unsigned long range);
>  
> -u32 prandom_u32(void);
> -void prandom_bytes(void *buf, size_t nbytes);
> -void prandom_seed(u32 seed);
> -void prandom_reseed_late(void);
> -
> -struct rnd_state {
> - __u32 s1, s2, s3, s4;
> -};
> -
> -DECLARE_PER_CPU(struct rnd_state, net_rand_state);
> -

Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-03 Thread Guenter Roeck
On 8/3/20 8:12 PM, Linus Torvalds wrote:
> On Mon, Aug 3, 2020 at 8:01 PM Guenter Roeck  wrote:
>>
>> The bisect log below applies to both the sparc and the powerpc build
>> failures.
> 
> Does the attached fix it?
> 

Yes, for the failing file with both ppc64 and sparc64. I started a full test
for all architectures with the patch applied on top of v5.8. It should take
about 1-2 hours to finish. I'll let you know when I have a complete
set of results.

Guenter


Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-03 Thread Linus Torvalds
On Mon, Aug 3, 2020 at 8:01 PM Guenter Roeck  wrote:
>
> The bisect log below applies to both the sparc and the powerpc build
> failures.

Does the attached fix it?

 Linus
From 780c8591bce09bbdd2908b7c07b3baba883a1ce6 Mon Sep 17 00:00:00 2001
From: Linus Torvalds 
Date: Fri, 31 Jul 2020 07:51:14 +0200
Subject: [PATCH] random32: move the pseudo-random 32-bit definitions to prandom.h

The addition of percpu.h to the list of includes in random.h revealed
some circular dependencies on arm64 and possibly other platforms.  This
include was added solely for the pseudo-random definitions, which have
nothing to do with the rest of the definitions in this file but are
still there for legacy reasons.

This patch moves the pseudo-random parts to linux/prandom.h and the
percpu.h include with it, which is now guarded by _LINUX_PRANDOM_H and
protected against recursive inclusion.

A further cleanup step would be to remove this from 
entirely, and make people who use the prandom infrastructure include
just the new header file.  That's a bit of a churn patch, but grepping
for "prandom_" and "next_pseudo_random32" should catch most users.

Acked-by: Willy Tarreau 
Signed-off-by: Linus Torvalds 
---
 include/linux/prandom.h | 78 +
 include/linux/random.h  | 66 +++---
 2 files changed, 82 insertions(+), 62 deletions(-)
 create mode 100644 include/linux/prandom.h

diff --git a/include/linux/prandom.h b/include/linux/prandom.h
new file mode 100644
index ..968c4287a277
--- /dev/null
+++ b/include/linux/prandom.h
@@ -0,0 +1,78 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * include/linux/prandom.h
+ *
+ * Include file for the fast pseudo-random 32-bit
+ * generation.
+ */
+#ifndef _LINUX_PRANDOM_H
+#define _LINUX_PRANDOM_H
+
+#include 
+#include 
+
+u32 prandom_u32(void);
+void prandom_bytes(void *buf, size_t nbytes);
+void prandom_seed(u32 seed);
+void prandom_reseed_late(void);
+
+struct rnd_state {
+	__u32 s1, s2, s3, s4;
+};
+
+DECLARE_PER_CPU(struct rnd_state, net_rand_state);
+
+u32 prandom_u32_state(struct rnd_state *state);
+void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes);
+void prandom_seed_full_state(struct rnd_state __percpu *pcpu_state);
+
+#define prandom_init_once(pcpu_state)			\
+	DO_ONCE(prandom_seed_full_state, (pcpu_state))
+
+/**
+ * prandom_u32_max - returns a pseudo-random number in interval [0, ep_ro)
+ * @ep_ro: right open interval endpoint
+ *
+ * Returns a pseudo-random number that is in interval [0, ep_ro). Note
+ * that the result depends on PRNG being well distributed in [0, ~0U]
+ * u32 space. Here we use maximally equidistributed combined Tausworthe
+ * generator, that is, prandom_u32(). This is useful when requesting a
+ * random index of an array containing ep_ro elements, for example.
+ *
+ * Returns: pseudo-random number in interval [0, ep_ro)
+ */
+static inline u32 prandom_u32_max(u32 ep_ro)
+{
+	return (u32)(((u64) prandom_u32() * ep_ro) >> 32);
+}
+
+/*
+ * Handle minimum values for seeds
+ */
+static inline u32 __seed(u32 x, u32 m)
+{
+	return (x < m) ? x + m : x;
+}
+
+/**
+ * prandom_seed_state - set seed for prandom_u32_state().
+ * @state: pointer to state structure to receive the seed.
+ * @seed: arbitrary 64-bit value to use as a seed.
+ */
+static inline void prandom_seed_state(struct rnd_state *state, u64 seed)
+{
+	u32 i = (seed >> 32) ^ (seed << 10) ^ seed;
+
+	state->s1 = __seed(i,   2U);
+	state->s2 = __seed(i,   8U);
+	state->s3 = __seed(i,  16U);
+	state->s4 = __seed(i, 128U);
+}
+
+/* Pseudo random number generator from numerical recipes. */
+static inline u32 next_pseudo_random32(u32 seed)
+{
+	return seed * 1664525 + 1013904223;
+}
+
+#endif
diff --git a/include/linux/random.h b/include/linux/random.h
index 9ab7443bd91b..f45b8be3e3c4 100644
--- a/include/linux/random.h
+++ b/include/linux/random.h
@@ -11,7 +11,6 @@
 #include 
 #include 
 #include 
-#include 
 
 #include 
 
@@ -111,63 +110,12 @@ declare_get_random_var_wait(long)
 
 unsigned long randomize_page(unsigned long start, unsigned long range);
 
-u32 prandom_u32(void);
-void prandom_bytes(void *buf, size_t nbytes);
-void prandom_seed(u32 seed);
-void prandom_reseed_late(void);
-
-struct rnd_state {
-	__u32 s1, s2, s3, s4;
-};
-
-DECLARE_PER_CPU(struct rnd_state, net_rand_state);
-
-u32 prandom_u32_state(struct rnd_state *state);
-void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes);
-void prandom_seed_full_state(struct rnd_state __percpu *pcpu_state);
-
-#define prandom_init_once(pcpu_state)			\
-	DO_ONCE(prandom_seed_full_state, (pcpu_state))
-
-/**
- * prandom_u32_max - returns a pseudo-random number in interval [0, ep_ro)
- * @ep_ro: right open interval endpoint
- *
- * Returns a pseudo-random number that is in interval [0, ep_ro). Note
- * that the result depends on PRNG being well distributed in [0, ~0U]
- * u32 space. Here we use maximally equidistributed 

Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-03 Thread Willy Tarreau
Hi Guenter,

On Mon, Aug 03, 2020 at 08:01:07PM -0700, Guenter Roeck wrote:
> I should have guessed. Bisect points to the random changes. Those are
> really causing an endless amount of trouble. I hope the problem they
> are solving is worth all that trouble.

I was exactly suggesting that we postpone them. I don't think the
problem is worth the trouble, and fixes are currently being proposed
so it might just be a matter of days.

Regards,
Willy


Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-03 Thread Guenter Roeck
On Mon, Aug 03, 2020 at 10:33:59PM +0200, Geert Uytterhoeven wrote:
> Hi Greg,
> 
> On Mon, Aug 3, 2020 at 7:35 PM Greg Kroah-Hartman
>  wrote:
> > On Mon, Aug 03, 2020 at 08:58:20AM -0700, Guenter Roeck wrote:
> > > On Mon, Aug 03, 2020 at 02:17:38PM +0200, Greg Kroah-Hartman wrote:
> > > > This is the start of the stable review cycle for the 5.7.13 release.  
> > > > There
> > > > are 120 patches in this series, all will be posted as a response to 
> > > > this one.
> > > > If anyone has any issues with these being applied, please let me know.
> > > >
> > > > Responses should be made by Wed, 05 Aug 2020 12:18:33 +.  Anything
> > > > received after that time might be too late.
> > > >
> > >
> > > Building sparc64:allmodconfig ... failed
> > > --
> > > Error log:
> > > :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp]
> > > In file included from arch/sparc/include/asm/percpu_64.h:11,
> > >  from arch/sparc/include/asm/percpu.h:5,
> > >  from include/linux/random.h:14,
> > >  from fs/crypto/policy.c:13:
> > > arch/sparc/include/asm/trap_block.h:54:39: error: 'NR_CPUS' undeclared 
> > > here (not in a function)
> > >54 | extern struct trap_per_cpu trap_block[NR_CPUS];
> > >
> > > Inherited from mainline. Builds are not complete yet;
> > > we may see a few more failures (powerpc:ppc64e_defconfig
> > > fails to build in mainline as well).
> >
> > If it gets fixed upstream, I'll fix it here :)
> 
> And else you'll release a known-broken v5.7.13?
> 
> Perhaps backporting should be a bit less aggressive?
> This breakage was introduced in between v5.8-rc7 and v5.8, and backported
> before people had the time to properly look into the v5.8 build bot logs.
> 

The bisect log below applies to both the sparc and the powerpc build
failures.

I should have guessed. Bisect points to the random changes. Those are
really causing an endless amount of trouble. I hope the problem they
are solving is worth all that trouble.

Guenter

---
# bad: [333e573a423b816b8b28000d6106fa52bd98e198] Linux 4.14.192-rc1
# good: [7f2c5eb458b8855655a19c44cd0043f7f83c595f] Linux 4.14.191
git bisect start 'HEAD' 'v4.14.191'
# bad: [88918f1a1f18dad31154103fa5218e714f10679e] net/x25: Fix x25_neigh refcnt 
leak when x25 disconnect
git bisect bad 88918f1a1f18dad31154103fa5218e714f10679e
# good: [1f9d268fd05887ecb6225a9452309efc3535492d] ARM: percpu.h: fix build 
error
git bisect good 1f9d268fd05887ecb6225a9452309efc3535492d
# bad: [f496bedf603212e6dbef88425680f8e137a51e27] random32: remove 
net_rand_state from the latent entropy gcc plugin
git bisect bad f496bedf603212e6dbef88425680f8e137a51e27
# good: [1e69d85c7e40051b57414953410bcee858285081] f2fs: check memory boundary 
by insane namelen
git bisect good 1e69d85c7e40051b57414953410bcee858285081
# bad: [0ea865dc4e3d93320e7103958ff041f5d7032ed5] random: fix circular include 
dependency on arm64 after addition of percpu.h
git bisect bad 0ea865dc4e3d93320e7103958ff041f5d7032ed5
# good: [e2bd43f819d770de686a904b7139bf444e96543c] f2fs: check if file namelen 
exceeds max value
git bisect good e2bd43f819d770de686a904b7139bf444e96543c
# first bad commit: [0ea865dc4e3d93320e7103958ff041f5d7032ed5] random: fix 
circular include dependency on arm64 after addition of percpu.h


Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-03 Thread Guenter Roeck
On Mon, Aug 03, 2020 at 07:33:30PM +0200, Greg Kroah-Hartman wrote:
> On Mon, Aug 03, 2020 at 08:58:20AM -0700, Guenter Roeck wrote:
> > On Mon, Aug 03, 2020 at 02:17:38PM +0200, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 5.7.13 release.  
> > > There
> > > are 120 patches in this series, all will be posted as a response to this 
> > > one.
> > > If anyone has any issues with these being applied, please let me know.
> > > 
> > > Responses should be made by Wed, 05 Aug 2020 12:18:33 +.  Anything
> > > received after that time might be too late.
> > > 
> > 
> > Building sparc64:allmodconfig ... failed
> > --
> > Error log:
> > :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp]
> > In file included from arch/sparc/include/asm/percpu_64.h:11,
> >  from arch/sparc/include/asm/percpu.h:5,
> >  from include/linux/random.h:14,
> >  from fs/crypto/policy.c:13:
> > arch/sparc/include/asm/trap_block.h:54:39: error: 'NR_CPUS' undeclared here 
> > (not in a function)
> >54 | extern struct trap_per_cpu trap_block[NR_CPUS];
> > 
> > Inherited from mainline. Builds are not complete yet;
> > we may see a few more failures (powerpc:ppc64e_defconfig
> > fails to build in mainline as well).
> 
> If it gets fixed upstream, I'll fix it here :)
> 

Are you serious ? This problem literally affects all branches, starting
with v4.4.y. And, yes, the powerpc builds fail as well for all branches.
Just like mainline. I guess that means it doesn't matter either ?

Building powerpc:ppc64e_defconfig ... failed
--
Error log:
In file included from arch/powerpc/include/asm/paca.h:22,
 from arch/powerpc/include/asm/percpu.h:13,
 from include/linux/random.h:12,
 from lib/uuid.c:22:
arch/powerpc/include/asm/mmu.h:131:22: error: unknown type name 
'next_tlbcam_idx'

Congratulations, looks like all stable releases are "bug for bug compatible"
with mainline.

Does it even make sense to provide full reports for this set of releases ?

Guenter


Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-03 Thread Geert Uytterhoeven
Hi Greg,

On Mon, Aug 3, 2020 at 7:35 PM Greg Kroah-Hartman
 wrote:
> On Mon, Aug 03, 2020 at 08:58:20AM -0700, Guenter Roeck wrote:
> > On Mon, Aug 03, 2020 at 02:17:38PM +0200, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 5.7.13 release.  
> > > There
> > > are 120 patches in this series, all will be posted as a response to this 
> > > one.
> > > If anyone has any issues with these being applied, please let me know.
> > >
> > > Responses should be made by Wed, 05 Aug 2020 12:18:33 +.  Anything
> > > received after that time might be too late.
> > >
> >
> > Building sparc64:allmodconfig ... failed
> > --
> > Error log:
> > :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp]
> > In file included from arch/sparc/include/asm/percpu_64.h:11,
> >  from arch/sparc/include/asm/percpu.h:5,
> >  from include/linux/random.h:14,
> >  from fs/crypto/policy.c:13:
> > arch/sparc/include/asm/trap_block.h:54:39: error: 'NR_CPUS' undeclared here 
> > (not in a function)
> >54 | extern struct trap_per_cpu trap_block[NR_CPUS];
> >
> > Inherited from mainline. Builds are not complete yet;
> > we may see a few more failures (powerpc:ppc64e_defconfig
> > fails to build in mainline as well).
>
> If it gets fixed upstream, I'll fix it here :)

And else you'll release a known-broken v5.7.13?

Perhaps backporting should be a bit less aggressive?
This breakage was introduced in between v5.8-rc7 and v5.8, and backported
before people had the time to properly look into the v5.8 build bot logs.

Gr{oetje,eeting}s,

Geert


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-03 Thread Greg Kroah-Hartman
On Mon, Aug 03, 2020 at 08:58:20AM -0700, Guenter Roeck wrote:
> On Mon, Aug 03, 2020 at 02:17:38PM +0200, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.7.13 release.  There
> > are 120 patches in this series, all will be posted as a response to this 
> > one.
> > If anyone has any issues with these being applied, please let me know.
> > 
> > Responses should be made by Wed, 05 Aug 2020 12:18:33 +.  Anything
> > received after that time might be too late.
> > 
> 
> Building sparc64:allmodconfig ... failed
> --
> Error log:
> :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp]
> In file included from arch/sparc/include/asm/percpu_64.h:11,
>  from arch/sparc/include/asm/percpu.h:5,
>  from include/linux/random.h:14,
>  from fs/crypto/policy.c:13:
> arch/sparc/include/asm/trap_block.h:54:39: error: 'NR_CPUS' undeclared here 
> (not in a function)
>54 | extern struct trap_per_cpu trap_block[NR_CPUS];
> 
> Inherited from mainline. Builds are not complete yet;
> we may see a few more failures (powerpc:ppc64e_defconfig
> fails to build in mainline as well).

If it gets fixed upstream, I'll fix it here :)

thanks,

greg k-h


Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-03 Thread Guenter Roeck
On Mon, Aug 03, 2020 at 02:17:38PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.7.13 release.  There
> are 120 patches in this series, all will be posted as a response to this one.
> If anyone has any issues with these being applied, please let me know.
> 
> Responses should be made by Wed, 05 Aug 2020 12:18:33 +.  Anything
> received after that time might be too late.
> 

Building sparc64:allmodconfig ... failed
--
Error log:
:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp]
In file included from arch/sparc/include/asm/percpu_64.h:11,
 from arch/sparc/include/asm/percpu.h:5,
 from include/linux/random.h:14,
 from fs/crypto/policy.c:13:
arch/sparc/include/asm/trap_block.h:54:39: error: 'NR_CPUS' undeclared here 
(not in a function)
   54 | extern struct trap_per_cpu trap_block[NR_CPUS];

Inherited from mainline. Builds are not complete yet;
we may see a few more failures (powerpc:ppc64e_defconfig
fails to build in mainline as well).

Guenter


[PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-03 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.7.13 release.
There are 120 patches in this series, all will be posted as a response
to this one.  If anyone has any issues with these being applied, please
let me know.

Responses should be made by Wed, 05 Aug 2020 12:18:33 +.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:

https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.7.13-rc1.gz
or in the git tree and branch at:

git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git 
linux-5.7.y
and the diffstat can be found below.

thanks,

greg k-h

-
Pseudo-Shortlog of commits:

Greg Kroah-Hartman 
Linux 5.7.13-rc1

Thomas Gleixner 
x86/i8259: Use printk_deferred() to prevent deadlock

Wanpeng Li 
KVM: SVM: Fix disable pause loop exit/pause filtering capability on SVM

Wanpeng Li 
KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw 
disabled

Will Deacon 
KVM: arm64: Don't inherit exec permission across page-table levels

Atish Patra 
riscv: Parse all memory blocks to remove unusable memory

Xie He 
drivers/net/wan: lapb: Corrected the usage of skb_cow

Atish Patra 
RISC-V: Set maximum number of mapped pages correctly

Andrea Righi 
xen-netfront: fix potential deadlock in xennet_remove()

Navid Emamdoost 
cxgb4: add missing release on skb in uld_send()

Josh Poimboeuf 
x86/stacktrace: Fix reliable check for empty user task stacks

Josh Poimboeuf 
x86/unwind/orc: Fix ORC for newly forked tasks

Raviteja Narayanam 
i2c: cadence: Clear HOLD bit at correct time in Rx path

Raviteja Narayanam 
Revert "i2c: cadence: Fix the hold bit setting"

Paolo Pisati 
selftest: txtimestamp: fix net ns entry logic

Yoshihiro Shimoda 
net: ethernet: ravb: exit if re-initialization fails in tx timeout

Liam Beguin 
parisc: add support for cmpxchg on u8 pointers

Vincent Chen 
riscv: kasan: use local_tlb_flush_all() to avoid uninitialized __sbi_rfence

Ming Lei 
scsi: core: Run queue in case of I/O resource contention failure

Navid Emamdoost 
nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame

Oded Gabbay 
habanalabs: prevent possible out-of-bounds array access

Daniele Albano 
io_uring: always allow drain/link/hardlink/async sqe flags

Paolo Pisati 
selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support

Laurence Oberman 
qed: Disable "MFW indication via attention" SPAM every 5 minutes

Paolo Pisati 
selftests: fib_nexthop_multiprefix: fix cleanup() netns deletion

Geert Uytterhoeven 
usb: hso: Fix debug compile warning on sparc32

Jiri Slaby 
iwlwifi: fix crash in iwl_dbg_tlv_alloc_trigger

Lorenzo Bianconi 
mt76: mt7615: fix lmac queue debugsfs entry

Taehee Yoo 
vxlan: fix memleak of fdb

Wei Li 
perf tools: Fix record failure when mixed with ARM SPE event

Xin Xiong 
net/mlx5e: fix bpf_prog reference count leaks in mlx5e_alloc_rq

Jianbo Liu 
net/mlx5e: E-Switch, Add misc bit when misc fields changed for mirroring

Wang Hai 
net: gemini: Fix missing clk_disable_unprepare() in error path of 
gemini_ethernet_port_probe()

Shannon Nelson 
ionic: unlock queue mutex in error path

Landen Chao 
net: ethernet: mtk_eth_soc: fix MTU warnings

Lu Wei 
net: nixge: fix potential memory leak in nixge_probe()

Hangbin Liu 
selftests/bpf: fix netdevsim trap_flow_action_cookie read

Alain Michaud 
Bluetooth: fix kernel oops in store_pending_adv_report

Robin Murphy 
arm64: csum: Fix handling of bad packets

Sami Tolvanen 
arm64/alternatives: move length validation inside the subsection

Leon Romanovsky 
RDMA/core: Free DIM memory in error unwind

Leon Romanovsky 
RDMA/core: Stop DIM before destroying CQ

Remi Pommarel 
mac80211: mesh: Free pending skb when destroying a mpath

Remi Pommarel 
mac80211: mesh: Free ie data when leaving mesh

Sabrina Dubroca 
espintcp: handle short messages instead of breaking the encap socket

Andrii Nakryiko 
bpf: Fix map leak in HASH_OF_MAPS map

Thomas Falcon 
ibmvnic: Fix IRQ mapping disposal in error path

Amit Cohen 
selftests: ethtool: Fix test when only two speeds are supported

Ido Schimmel 
mlxsw: spectrum_router: Fix use-after-free in router init / de-init

Ido Schimmel 
mlxsw: core: Free EMAD transactions using kfree_rcu()

Ido Schimmel 
mlxsw: core: Increase scope of RCU read-side critical section

Christoph Hellwig 
nvme: add a Identify Namespace Identification Descriptor list quirk

Guillaume Nault 
bareudp: forbid mixing IP and MPLS in multiproto mode

Subbaraya Sundeep 
octeontx2-pf: Unregister netdev at driver remove

Subbaraya Sundeep 
octeontx2-pf: cancel reset_task work

Subbaraya Sundeep 
octeontx2-pf: Fix reset_task bugs

Jakub Kicinski 
mlx4: disable device on shutdown

Herbert Xu 
rhashtable: