[PATCH] clocksource: omit seeding of RNG in PBL

Sascha Hauer s.hauer at pengutronix.de
Tue Apr 29 08:03:32 PDT 2025


On Tue, Apr 29, 2025 at 11:53:07AM +0200, Ahmad Fatoum wrote:
> Hello Sascha,
> 
> On 4/25/25 07:39, Sascha Hauer wrote:
> > 
> > On Thu, 24 Apr 2025 10:48:33 +0200, Ahmad Fatoum wrote:
> >> We do not maintain a PRNG in the PBL, so we should omit the call to
> >> srand_xor in PBL, otherwise it expands to BUG() and breaks the newly
> >> introduced PBL clocksource support.
> >>
> >>
> > 
> > Applied, thanks!
> 
> While the patch is correct, I think it would be better to just drop the
> BUG() in the header instead of littering IN_PROPER around.
> 
> If the patch isn't pushed yet, can you drop it?
> I just sent out an alternative.

I dropped it.

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list