[PATCH] powerpc/powernv: delay rng of node creation until later in boot
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Jul 4 21:57:22 AEST 2022
On Thu, 30 Jun 2022 14:16:54 +0200, Jason A. Donenfeld wrote:
> The of node for the rng must be created much later in boot. Otherwise it
> tries to connect to a parent that doesn't yet exist, resulting on this
> splat:
>
> [ 0.000478] kobject: '(null)' ((____ptrval____)): is not initialized, yet kobject_get() is being called.
> [ 0.002925] [c000000002a0fb30] [c00000000073b0bc] kobject_get+0x8c/0x100 (unreliable)
> [ 0.003071] [c000000002a0fba0] [c00000000087e464] device_add+0xf4/0xb00
> [ 0.003194] [c000000002a0fc80] [c000000000a7f6e4] of_device_add+0x64/0x80
> [ 0.003321] [c000000002a0fcb0] [c000000000a800d0] of_platform_device_create_pdata+0xd0/0x1b0
> [ 0.003476] [c000000002a0fd00] [c00000000201fa44] pnv_get_random_long_early+0x240/0x2e4
> [ 0.003623] [c000000002a0fe20] [c000000002060c38] random_init+0xc0/0x214
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/powernv: delay rng of node creation until later in boot
https://git.kernel.org/powerpc/c/887502826549caa7e4215fd9e628f48f14c0825a
cheers
More information about the Linuxppc-dev
mailing list