Re: [PATCH 2/3] hwrng: Add Cortina Systems CS7542 TRNG driver

From: Fil Dunsky

Date: Tue Nov 24 2026 - 03:22:53 EST


Hi Uwe,

Thanks, I removed the redundant linux/mod_devicetable.h include in v2.

During the additional source review I also found the vendor's A0 reseeding
erratum workaround. The driver now checks the global SoC identification
register and limits hardware reseeding to CS7542 A1, rather than adopting
the vendor's RTC/timer-derived nonce workaround. Our Almond+ is A1; its
identification register was checked read-only as well.

The built-in and module ARM builds were repeated with COMPILE_TEST=n.
The A1 generation path is unchanged; the new guard and its error paths
were tested with the actual C code, without claiming a new entropy test.

Sent v2:
https://lore.kernel.org/all/20261124-b4-cs7542-trng-v2-0-0192937b44be@xxxxxxxxx/

Thanks,
Fil