[PATCH v11 0/2] ARMv8.5-RNG support

Will Deacon will at kernel.org
Fri Jan 17 08:43:31 PST 2020

On Fri, Jan 17, 2020 at 04:17:44PM +0000, Will Deacon wrote:
> On Fri, Jan 17, 2020 at 03:26:40PM +0000, Mark Brown wrote:
> > This series is based on Richard Henderson's previous v7, it addresses
> > review comments from that version by dropping the boot time RNG
> > support and adds a new change that uses the v8.5-RNG extension to
> > seed KASLR when ARCH_RANDOM is enabled.  The boot time support
> > will be re-added later, there are awkward potential interactons
> > with CPU feature enumeration which need a bit more thought.
> Thanks, but this fails an allmodconfig build for me:
> arch/arm64/kernel/kaslr.c: In function ‘kaslr_early_init’:
> arch/arm64/kernel/kaslr.c:127:6: error: implicit declaration of function ‘__early_cpu_has_rndr’; did you mean ‘__early_pfn_to_nid’? [-Werror=implicit-function-declaration]
>   if (__early_cpu_has_rndr()) {
>       ^~~~~~~~~~~~~~~~~~~~
>       __early_pfn_to_nid
> cc1: some warnings being treated as errors
> (no gcc, we didn't mean that!)

Also fails on defconfig, so should save you a bit of time.


More information about the linux-arm-kernel mailing list