mbox series

[v4,0/2] powerpc rng cleanups

Message ID 20220701084946.225357-1-Jason@zx2c4.com (mailing list archive)
Headers show
Series powerpc rng cleanups | expand

Message

Jason A. Donenfeld July 1, 2022, 8:49 a.m. UTC
These are two small cleanups for -next.

This is meant to be atop
https://lore.kernel.org/all/20220630121654.1939181-1-Jason@zx2c4.com/
which is expected to land first.

v4 fixes up an inversion of thr DR flag.

Jason A. Donenfeld (2):
  powerpc/powernv: rename remaining rng powernv_ functions to pnv_
  powerpc/kvm: don't crash on missing rng, and use darn

 arch/powerpc/include/asm/archrandom.h |  7 +--
 arch/powerpc/kvm/book3s_hv_builtin.c  |  7 +--
 arch/powerpc/platforms/powernv/rng.c  | 66 ++++++++++-----------------
 drivers/char/hw_random/powernv-rng.c  |  2 +-
 4 files changed, 30 insertions(+), 52 deletions(-)

Comments

Sachin Sant July 2, 2022, 10:30 a.m. UTC | #1
> On 01-Jul-2022, at 2:19 PM, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> 
> These are two small cleanups for -next.
> 
> This is meant to be atop
> https://lore.kernel.org/all/20220630121654.1939181-1-Jason@zx2c4.com/
> which is expected to land first.
> 
> v4 fixes up an inversion of thr DR flag.
> 
> Jason A. Donenfeld (2):
>  powerpc/powernv: rename remaining rng powernv_ functions to pnv_
>  powerpc/kvm: don't crash on missing rng, and use darn
> 

Boot tested this series and can successfully boot a Power8 server.

fwiw Tested-by: Sachin Sant <sachinp@linux.ibm.com>

- Sachin
Jason A. Donenfeld July 2, 2022, 10:44 a.m. UTC | #2
On Sat, Jul 02, 2022 at 04:00:03PM +0530, Sachin Sant wrote:
> > On 01-Jul-2022, at 2:19 PM, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> > 
> > These are two small cleanups for -next.
> > 
> > This is meant to be atop
> > https://lore.kernel.org/all/20220630121654.1939181-1-Jason@zx2c4.com/
> > which is expected to land first.
> > 
> > v4 fixes up an inversion of thr DR flag.
> > 
> > Jason A. Donenfeld (2):
> >  powerpc/powernv: rename remaining rng powernv_ functions to pnv_
> >  powerpc/kvm: don't crash on missing rng, and use darn
> > 
> 
> Boot tested this series and can successfully boot a Power8 server.
> 
> fwiw Tested-by: Sachin Sant <sachinp@linux.ibm.com>

Oh good. 4th time's a charm then. I had assumed this would be for 5.20,
but maybe it'll hit 5.19-rcx instead.

Jason