Re: [PATCH 17/34] brcmfmac: pcie: Provide a buffer of random bytes to the device

From: Linus Walleij
Date: Sun Jan 02 2022 - 01:00:11 EST


On Sun, Dec 26, 2021 at 4:38 PM Hector Martin <marcan@xxxxxxxxx> wrote:

> Newer Apple firmwares on chipsets without a hardware RNG require the
> host to provide a buffer of 256 random bytes to the device on
> initialization. This buffer is present immediately before NVRAM,
> suffixed by a footer containing a magic number and the buffer length.
>
> This won't affect chips/firmwares that do not use this feature, so do it
> unconditionally.
>
> Signed-off-by: Hector Martin <marcan@xxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij