ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
alpernebbi has quit [Quit: alpernebbi]
alpernebbi has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
aceridus has quit [Quit: Page closed]
miracolix has quit []
<jhovold>
bamse: are you booting with efi=noruntime? That would indeed cause a NULL-pointer derereference as the efi.set_variable pointer would be left uninitialised
Vectorboost has joined #aarch64-laptops
krzk has joined #aarch64-laptops
krzk is now known as Guest167
init1 has quit [Ping timeout: 480 seconds]
Guest167 has quit []
krzk has joined #aarch64-laptops
SSJ_GZ has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
Vectorboost has quit [Quit: Leaving]
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
init has joined #aarch64-laptops
Caterpillar has joined #aarch64-laptops
<bamse>
jhovold: ahh, yeah that i indeed do on the particular machine that failed
<jhovold>
bamse: there are too separate NULL derefs that can be hit depending on if runtime services have been disabled completely or based on the fw support mask. In the former case the callback pointers have never been set up and in the latter case, the workqueue used for the call has never been allocated
<jhovold>
good thing you were still using efi=noruntime on that machine, or this could have taken much longer to track down
<jhovold>
two separate*
<jhovold>
bamse:I assume it was the CRD as well so you had console output?
<bamse>
jhovold: the problem i ran into was that process_one had a 0x0 on the top of the callstack, with lr as refresh_nv_rng_seed
<bamse>
jhovold: it was not the CRD, so it was non-trivial to figure out
<jhovold>
right, because efi.set_variable was NULL with efi=noruntime
<bamse>
exactly
<jhovold>
wow, ok, glad you did!
<bamse>
would have been nice to be able to scroll in the efifb
<bamse>
and it would be really nice if regulators aren't blindly disabled after 30 seconds...
<bamse>
does efi_rt_services_supported(XYZ) return true when efi=noruntime? or do we need a separate check for the NULL case?
<jhovold>
bamse: I finally figured out all the dependencies needed for display in initramfs. Won't help if the display driver fails to probe after this particular bug though...
<bamse>
hmm, my display works fine when this happens...with efifb and keyboard...
<bamse>
but rather quickly the regulator framework kills the backlight
<jhovold>
bamse: yeah, but since you use efifb, regulator core will disable the display regulator, as you noticed
<jhovold>
so either we probe the msm drm driver in initramfs, or hack regulator core to disable that 30s timeout. That are the two options currently unfortunately.
<bamse>
jhovold: i think in general it would be nice if we didn't disable clocks, pds, interconnects or regulators while we're in the ramdisk console...not sure if there's a way to achieve that
<jhovold>
bamse: not currently, no
hexdump01 has quit [Quit: WeeChat 1.9.1]
hexdump0815 has joined #aarch64-laptops
laine has joined #aarch64-laptops
<javierm>
jhovold: you are using a DTB on the X13s right? I wonder if you could use the simplefb driver instead since it allows to define regulators, clocks, etc for the simple-framebuffer DT node
iivanov has quit [Quit: Leaving...]
init has quit [Read error: Connection reset by peer]