Re: [PATCH v2 3/5] ARM: implement support for SMCCC TRNG entropy source

2020-11-06 Thread Marc Zyngier
On 2020-11-06 15:30, Ard Biesheuvel wrote: On Fri, 6 Nov 2020 at 16:30, Marc Zyngier wrote: [...] I don't think this cast is safe. At least not on 64bit. True, but this is arch/arm I think the glasses theme becomes recurrent. Apologies for the noise. M. -- Jazz is not dead. It

Re: [PATCH v2 3/5] ARM: implement support for SMCCC TRNG entropy source

2020-11-06 Thread Ard Biesheuvel
On Fri, 6 Nov 2020 at 16:30, Marc Zyngier wrote: > > On 2020-11-05 12:56, Andre Przywara wrote: > > From: Ard Biesheuvel > > > > Implement arch_get_random_seed_*() for ARM based on the firmware > > or hypervisor provided entropy source described in ARM DEN0098. > > > > This will make the

Re: [PATCH v2 3/5] ARM: implement support for SMCCC TRNG entropy source

2020-11-06 Thread Marc Zyngier
On 2020-11-05 12:56, Andre Przywara wrote: From: Ard Biesheuvel Implement arch_get_random_seed_*() for ARM based on the firmware or hypervisor provided entropy source described in ARM DEN0098. This will make the kernel's random number generator consume entropy provided by this interface, at

Re: [PATCH v2 3/5] ARM: implement support for SMCCC TRNG entropy source

2020-11-05 Thread André Przywara
On 05/11/2020 17:15, kernel test robot wrote: > Hi Andre, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v5.10-rc2 next-20201105] > [cannot apply to arm64/for-next/core kvmarm/next arm-perf/for-next/perf] > [If your patch

Re: [PATCH v2 3/5] ARM: implement support for SMCCC TRNG entropy source

2020-11-05 Thread kernel test robot
Hi Andre, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.10-rc2 next-20201105] [cannot apply to arm64/for-next/core kvmarm/next arm-perf/for-next/perf] [If your patch is applied to the wrong git tree, kindly drop us a note. And

Re: [PATCH v2 3/5] ARM: implement support for SMCCC TRNG entropy source

2020-11-05 Thread kernel test robot
Hi Andre, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.10-rc2 next-20201105] [cannot apply to arm64/for-next/core kvmarm/next arm-perf/for-next/perf] [If your patch is applied to the wrong git tree, kindly drop us a note. And

[PATCH v2 3/5] ARM: implement support for SMCCC TRNG entropy source

2020-11-05 Thread Andre Przywara
From: Ard Biesheuvel Implement arch_get_random_seed_*() for ARM based on the firmware or hypervisor provided entropy source described in ARM DEN0098. This will make the kernel's random number generator consume entropy provided by this interface, at early boot, and periodically at runtime when