[PATCH v5 0/2] powerpc rng cleanups

Jason A. Donenfeld posted 2 patches 3 years, 9 months ago
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(-)
[PATCH v5 0/2] powerpc rng cleanups
Posted by Jason A. Donenfeld 3 years, 9 months ago
These are two small cleanups for -next. This v5 rebases on the latest
git master, as some whitespace was added that made v4 no longer apply.

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(-)

-- 
2.35.1
Re: [PATCH v5 0/2] powerpc rng cleanups
Posted by Jason A. Donenfeld 3 years, 9 months ago
Hey again,

On Tue, Jul 12, 2022 at 01:24:46AM +0200, Jason A. Donenfeld wrote:
> These are two small cleanups for -next. This v5 rebases on the latest
> git master, as some whitespace was added that made v4 no longer apply.
> 
> 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(-)

I think v5 has reached a completion point. Could you queue these up in
some PPC tree for 5.20?

Thanks,
Jason
Re: [PATCH v5 0/2] powerpc rng cleanups
Posted by Jason A. Donenfeld 3 years, 9 months ago
Hi Michael,

On Mon, Jul 18, 2022 at 3:09 PM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>
> Hey again,
>
> On Tue, Jul 12, 2022 at 01:24:46AM +0200, Jason A. Donenfeld wrote:
> > These are two small cleanups for -next. This v5 rebases on the latest
> > git master, as some whitespace was added that made v4 no longer apply.
> >
> > 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(-)
>
> I think v5 has reached a completion point. Could you queue these up in
> some PPC tree for 5.20?

Just paging again. Do you think you could queue these up for 5.20?
This trivial series is over a month old now.

Thanks,
Jason
Re: [PATCH v5 0/2] powerpc rng cleanups
Posted by Michael Ellerman 3 years, 9 months ago
"Jason A. Donenfeld" <Jason@zx2c4.com> writes:
> On Mon, Jul 18, 2022 at 3:09 PM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>> On Tue, Jul 12, 2022 at 01:24:46AM +0200, Jason A. Donenfeld wrote:
>> > These are two small cleanups for -next. This v5 rebases on the latest
>> > git master, as some whitespace was added that made v4 no longer apply.
>> >
>> > 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(-)
>>
>> I think v5 has reached a completion point. Could you queue these up in
>> some PPC tree for 5.20?
>
> Just paging again. Do you think you could queue these up for 5.20?
> This trivial series is over a month old now.

It can't claim to fix a guest-triggerable hypervisor crash and also be
"trivial" :)

But yes I plan to queue it for v5.20.

cheers
Re: [PATCH v5 0/2] powerpc rng cleanups
Posted by Jason A. Donenfeld 3 years, 9 months ago
Hi Michael,

On Wed, Jul 27, 2022 at 01:54:07PM +1000, Michael Ellerman wrote:
> "Jason A. Donenfeld" <Jason@zx2c4.com> writes:
> > On Mon, Jul 18, 2022 at 3:09 PM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> >> On Tue, Jul 12, 2022 at 01:24:46AM +0200, Jason A. Donenfeld wrote:
> >> > These are two small cleanups for -next. This v5 rebases on the latest
> >> > git master, as some whitespace was added that made v4 no longer apply.
> >> >
> >> > 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(-)
> >>
> >> I think v5 has reached a completion point. Could you queue these up in
> >> some PPC tree for 5.20?
> >
> > Just paging again. Do you think you could queue these up for 5.20?
> > This trivial series is over a month old now.
> 
> It can't claim to fix a guest-triggerable hypervisor crash and also be
> "trivial" :)

:)

> 
> But yes I plan to queue it for v5.20.

Okay great. Would be nice to see this in -next sooner rather than later.

Jason