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)
<steev>
bamse: i see people doing reviewed by at the top of mails, under the signed off - would it be better for me to put my T-b there instead of at the bottom under the patch?
<steev>
in thinking about it, it does seem like it would be faster, and less time wasted
shawnguo9 has joined #aarch64-laptops
ndec_ has joined #aarch64-laptops
rfs613- has joined #aarch64-laptops
tomf_ has joined #aarch64-laptops
jhugo__ has joined #aarch64-laptops
robclark_ has joined #aarch64-laptops
pundir_ has joined #aarch64-laptops
robher_ has joined #aarch64-laptops
arnd__ has joined #aarch64-laptops
_alice_ has joined #aarch64-laptops
CosmicPenguin_ has joined #aarch64-laptops
leezu_ has joined #aarch64-laptops
tomf has quit [synthon.oftc.net larich.oftc.net]
shawnguo has quit [synthon.oftc.net larich.oftc.net]
ndec has quit [synthon.oftc.net larich.oftc.net]
leezu has quit [synthon.oftc.net larich.oftc.net]
rfs613 has quit [synthon.oftc.net larich.oftc.net]
bamse has quit [synthon.oftc.net larich.oftc.net]
pundir has quit [synthon.oftc.net larich.oftc.net]
robclark has quit [synthon.oftc.net larich.oftc.net]
dianders has quit [synthon.oftc.net larich.oftc.net]
mani_s has quit [synthon.oftc.net larich.oftc.net]
robher has quit [synthon.oftc.net larich.oftc.net]
_alice has quit [synthon.oftc.net larich.oftc.net]
arnd_ has quit [synthon.oftc.net larich.oftc.net]
CosmicPenguin has quit [synthon.oftc.net larich.oftc.net]
jhugo_ has quit [synthon.oftc.net larich.oftc.net]
ndec_ is now known as ndec
dianders has joined #aarch64-laptops
mani_s has joined #aarch64-laptops
bamse has joined #aarch64-laptops
bamse is now known as Guest6560
Guest6560 is now known as bamse
<bamse>
steev: it doesn't matter, as long as you reply inline somewhere
<leezu_>
robclark: on lazor with Chromium 97 and Wayland, the Conformance Test Runner gives Passed: 10200/27092 Timeout: 691/27092 in 15049.81 seconds
<steev>
yeah... samsung naming is... almost as good as lenovo ;)
<davidebeatrici[m]>
Yeah...
<steev>
lenovo has the "yoga c630" and the "yoga chromebook c630"
<steev>
but that dts i linked above should be quite similar to the device you have
<davidebeatrici[m]>
Very similar, except for the fact that the PiPO W12 costed less than half the price of the Galaxy Book2.
<davidebeatrici[m]>
With 256 GB of eMMC and 8 GB of RAM.
<steev>
what i'm saying is, you can use that dts as a base, not that the hardware is "close enough"
<steev>
or more as a guide
<steev>
i have the galaxybook2, the yoga c630, the flex 5g, and the thinkpad x13s, and of them, the gb2 is likely the closest to get you to booted
<davidebeatrici[m]>
I assume I should boot with that DTS and eventually change it to fix stuff that is not working, right?
<steev>
essentially, yeah
_alice_ is now known as _alice
jhovold has joined #aarch64-laptops
alpernebbi has joined #aarch64-laptops
maz has joined #aarch64-laptops
maz is now known as Guest6589
Guest6589 is now known as maz
<jhovold>
steev: wasn't loading the dsp fw before as I mentioned earlier. Tried doing so now and ran into the remoteproc regression that mani_s apparently had also fixed yesterday. Seems to work now.
<steev>
jhovold: yep :D
jhovold has quit [Ping timeout: 480 seconds]
FizzBuzz has joined #aarch64-laptops
robclark_ has quit []
robclark has joined #aarch64-laptops
FizzBuzz has quit [Quit: Leaving]
jonasbits has joined #aarch64-laptops
<clover[m]>
wow i think "LENOVO - System Hardware Update - 7/25/2022" windows update just solved my BIOS issue
<steev>
that's good!
<clover[m]>
yep, no longer seeing the TCO logo
<steev>
there's another update from a few days ago that updates MDM thermal
<steev>
whatever that is
<clover[m]>
yeah got that one
<steev>
i'm guessing that one doesn't let it get as hot
<clover[m]>
now that you mention it i haven't noticed it getting as hot lately
<AlexMarty[m]>
Should I get another ssd and install windows again to get these firmware updates?
<steev>
the bios one is definitely downloadable from their site
<steev>
i don't know about the others
<clover[m]>
i think Leo was able to do some updates from linux
<steev>
or if the others even matter
<AlexMarty[m]>
Ok I’ll try and update soon
<clover[m]>
temperature controls probably help the overall longevity of the chip, no?
<clover[m]>
i'd say that's pretty important
<steev>
if they're windows specific, they won't help us in linux
<clover[m]>
i see
<steev>
unless they write something to an eeprom or some such
<AlexMarty[m]>
I guess I’ll find out.
<steev>
i really need to go through all my stuff when 5.19 releases
<steev>
currently the thinkpad stuff is in a different directory and such
<steev>
i want to move all the c630/flex/thinkpad stuff together... i also wanna try an install on the galaxybook2
<steev>
the 5.20/next stuff is gonna be incompatible with what we've currently got
<clover[m]>
i'll probably need to change the dtb name for my ISO, right?
<steev>
yeah, currently we're using sc8280xp-thinkpad.dtb, upstream it'll properly be sc8280xp-lenovo-thinkpad-x13s.dtb
<steev>
but need to see what made it in, and what didn't, once the patches roll in to torvalds after release
<leezu_>
Unfortunately 5.19 does not resolve all hanging issues on the lazor / sc7180. The screen still freezes up completely sometimes. Connecting to the serial console is still possible and one can see some dmesg messages (eg related to the charging state), but the console is also very slow and it takes a minute for characters typed to actually be acknowledged / show up. Have you
<leezu_>
seen similar issues or have hypotheses for what's wrong? I've observed this on two separate devices, so it's very unlikely to be a hardware issue
leezu_ is now known as leezu
<leezu>
Supposedly "Alt + Volume-Up is treated as the Magic SysRq key", but when I pressed "Alt + Volume-Up + R" (as part of the REISUB SysRq sequence), the system immediately restarted. I see that "Alt + Volume-Up + R" on Chromebook also refers to "Warm AP reset". Is that supposed to restart the system?
<steev>
no ideas here, i hate the chromebook keyboard with a passion
<amstan>
ap means the cpu, so yes
<amstan>
that's unfortunate that they clash
<amstan>
if you feel adventurous i could give you pointers to what pieces of code in the ec to disable and you could flash yourself a modified copy
<robclark>
leezu: hmm, I'm still on v5.19-rc5 (plus drm things for v5.20 and `arm64: dts: qcom: Remove duplicate sc7180-trogdor include on lazor/homestar`).. but haven't had any such issues.. pastebin dmesg and I'll look at it in a bit (just heading out to store).. dianders and sboyd are probably also running upstream kernel on sc7180 chromebook things regularly
<robclark>
(I'm running on lazor, fwiw)
falk689_ has quit [Remote host closed the connection]
<leezu>
robclark: The weird thing is that there is no dmesg output when the problem occurs. At least that was the case on 5.17.15 (where I kept an intel laptop connected for many hours via SuzyQ to collect dmesg upon the hang). I've reconnected the SuzyQ now and will post here once the issue happens again. If connecting the SuzyQ after the problem happened, while I can type some
<leezu>
letters on the keyboard and they'll show up in the console after a minute, the actual terminal "login:" prompt never shows up. So debugging this issue requires being connected on SuzyQ in a root shell prior to the occurance..
falk689 has joined #aarch64-laptops
<leezu>
amstan: I think my kernel isn't configured correctly for "Alt + Volume-Up is treated as the Magic SysRq key" either. I'm able to trigger it via "echo t > /proc/sysrq-trigger" though
<leezu>
But I'm unable to send SysRq via serial console, despite CONFIG_MAGIC_SYSRQ=y CONFIG_MAGIC_SYSRQ_SERIAL=y. My expectation was that triggering BREAK via Ctrl+T Ctrl+B from pySerial miniterm and then typing a SysRq command key such as `l` for "Shows a stack backtrace for all active CPUs" would work..
<robclark>
leezu: weird, so this has been happening a while? Check `free`, maybe something is leaking memory and you are hitting swap hard or something like that? If not that, build kernel w/ lockstat and use that to see if you are hitting some lock contention issue
<leezu>
Hm, I hit the issue again and now even `free` isn't executed when triggered via SuzyQ. Memory leak is possible. Actually the system runs without swap, so I'd expect the kernel to kill processes before freezing up, but maybe something isn't working as expected
<leezu>
I'll try to repro again while running a `watch free` over serial
<leezu>
Ok, so at the time of hang we have Memory (in MB) total 4065 used 2976 free 134 shared 782 buff/cache 955 available 74
<leezu>
Most of the memory should be used by chromium tabs. I don't know why the OOM handler does not kill any processes prior to the hang
<leezu>
My understanding is that some of the memory is used by the GPU / DPU? I tried disabling memory overcommitting and noticed that starting a desktop session then would fail with "msm_dpu ae01000.mdp: [drm:get_pages] *ERROR* could not get pages: -28" so I wonder if that indicates any bug?
<steev>
5.19 is out
<HdkR>
Party time
<robclark>
leezu: hmm, I'd have expected oom to kill some things (although maybe not the things you'd want it to).. tbh I always use zram swap (which is similar to the CrOS setup) although not sure offhand why oom wouldn't kick in without swap (but I do recommend zram swap regardless)
<steev>
clover[m]: i'm gonna rip the band-aid off for the 5.19 release, and moved the dts to the same name that 5.20 will have
<steev>
it'll be easier to pull in things that might be needed to 5.19 point releases for those who don't like to live in -next
<leezu>
robclark: zram sounds pretty useful. Do you know how much zram cros would allocate on a system with 4gb ram? For now I have `apt install earlyoom` which should kill processes whenever system memory availability goes below 10%
<steev>
i usually go 100% myself with zram
<robclark>
I think we are currently going w/ 150% of ram on CrOS but want to raise it to 2x (although most of the benefit there comes with addition of MGLRU.. at least AFAIU)
<robclark>
(well, combination of MGLRU + 2x ram zram swap plus msm.enable_eviction=1 is the current ideal setup.. enable_eviction still defaults to off upstream but plan to switch the upstream default after we get a bit more hammering on that on CrOS)