Re: [PATCH] arm64: kaslr: Use standard early random function

From: Linus Torvalds
Date: Thu Aug 06 2020 - 22:18:04 EST


On Thu, Aug 6, 2020 at 5:49 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
> Use arch_get_random_seed_long_early() instead of arm64 specific functions
> to solve the problem. As a side effect of this change, the code no longer
> bypasses ARCH_RANDOM, which I consider desirable (after all, ARCH_RANDOM
> was disabled for a reason).

This patch looks sane to me, but let's see what the arm64 people say
in case they have preferences..

Linus