robclark changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Chrome OS Trogdor Devices - Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630 - Lenovo ThinkPad X13s - and various other snapdragon laptops) - https://oftc.irclog.whitequark.org/aarch64-laptops
<jenneron[m]> bamse: i found one more bug, in 6.6.0 UFS sometimes dies on high disk load https://dpaste.com/F3JPKD3PN, can be reproduced with gnome-disks benchmark with sample size 1000 and big number of samples e.g. 50+
<jenneron[m]> it doesn't happen on 6.2.8
<jenneron[m]> also on 6.6.0 the UFS speed is higher but less stable
<robclark> drive by.. mmu strict the same in both cases? I could see that as something that also effects ufs..
<jenneron[m]> i use the same cmdline on both 6.6.0 and 6.2.8 https://dpaste.com/8ZB7YY55N
<robclark> try w/out iommu.strict=0
<jenneron[m]> robclark: is it supposed to fix it?
<jenneron[m]> because it can just workaround it by making UFS 10 times slower?
<jenneron[m]> i will try in a bit
<jenneron[m]> robclark: without iommu.strict=0 it still happens, even faster
<robclark> ok, good to rule that out.. with dpu safe threshold patch it shouldn't be 10x slower... but there can potentially be memory corruption issues exposed by not using iommu in strict mode so good to rule that out as a possible cause
<jenneron[m]> yeah it's not the cause
<jenneron[m]> meanwhile, i should probably try disabling strict iommu for eMMC on trogdor chromebooks in postmarketOS, like chrome os does
<jenneron[m]> it's probably not going to work though
<robclark> I think we might still be setting non-strict via udev rules.. but sc7180/sc7280 both already have the dpu bits to make strict not hurt perf as much
<jenneron[m]> robclark: on which stage do these udev rules trigger? probing? because we use initramfs without udev, so all these devices (sdhci, usb) get probed before loading udev
<jenneron[m]> also, do you mean they have dpu bits in upstream or chrome os kernel
<robclark> dpu bits are upstream... but we discovered recently that sc8180* and sc8280* missed the dpu bits.. doug posted this link to the udev rules https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/refs/heads/main/baseboard-trogdor/chromeos-base/chromeos-bsp-baseboard-trogdor/files/98-qcom-nonstrict-iommu.rules
<jenneron[m]> i see, so i don't have to do anything for sc7180 devices
<robclark> https://patchwork.freedesktop.org/series/125778/ is sc8280xp dpu part.. sc8180xp needs something similar still.. otherwise all upstream
<robclark> no kernel patches needed.. you might want udev rules to eek out that last bit of perf (but the already upstream dpu bits should get you 95% of the way there)
<jenneron[m]> well, it's not a big deal to add udev rules to the package, but i'm afraid it won't work because of udev loading after initramfs when these peripherals had already been probed
Ablu has quit [Remote host closed the connection]
<jenneron[m]> also, i'm not sure i can include that file in a package under MIT license...
Ablu has joined #aarch64-laptops
<robclark> I won't claim to be udev expert.. maybe there is another way to accomplish the same thing?
<robclark> I'm mostly the 2ndhand messenger here ;-)
<jenneron[m]> it increases eMMC read rate from 203 MB/s to 231 MB/s
<jenneron[m]> so +15%
<robclark> hmm, ok so 85% of the way there (but IIRC it was 0% to 15 or maybe 20% depending on benchmark)
<jenneron[m]> <robclark> "I won't claim to be udev expert...." <- yep, doing it another way https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4526, without udev
<jenneron[m]> basically running 2 commands in initramfs script
<jenneron[m]> do you know if sc7180, sc8180* sc8280* are all SoCs affected or are there more?
<bamse> jenneron[m]: is that with the iommu.strict=0?
<bamse> jenneron[m]: the ufs issue above that is
<jenneron[m]> bamse: with and without
<bamse> wonder if it's the undervolt issue i spotted on some other platform...
<bamse> jenneron[m]: please copy the power-domains and required-opps from the ufs_mem_hc node in sc8280xp.dtsi...looks like they should be the same
<bamse> i mean, that is missing in sc8180x and the information should be the same across the two platforms
<jenneron[m]> will do
<jenneron[m]> bamse: it still happens
alpernebbi has quit [Ping timeout: 480 seconds]
alpernebbi has joined #aarch64-laptops
<bamse> jenneron[m]: :( thanks for checking though
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
Ablu has quit [Remote host closed the connection]
Ablu has joined #aarch64-laptops
Ablu has quit [Remote host closed the connection]
Ablu has joined #aarch64-laptops
Ablu has quit [Remote host closed the connection]
Ablu has joined #aarch64-laptops
Ablu has quit [Remote host closed the connection]
Ablu has joined #aarch64-laptops
Ablu has quit [Remote host closed the connection]
Ablu has joined #aarch64-laptops
srinik has quit [Killed (NickServ (Too many failed password attempts.))]
srinik has joined #aarch64-laptops
suihkulo1ki is now known as suihkulokki
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #aarch64-laptops
Lucanis has quit [Ping timeout: 480 seconds]
jlinton_ has joined #aarch64-laptops
broonie_ has joined #aarch64-laptops
lvrp16_ has joined #aarch64-laptops
ardb_ has joined #aarch64-laptops
pundir_ has joined #aarch64-laptops
ldts___ has joined #aarch64-laptops
steev_ has joined #aarch64-laptops
jhugo_ has joined #aarch64-laptops
sibis0 has joined #aarch64-laptops
echanude_ has joined #aarch64-laptops
_alice_ has joined #aarch64-laptops
exit70_ has joined #aarch64-laptops
apalos_ has joined #aarch64-laptops
vkoul| has joined #aarch64-laptops
DanaG has quit [resistance.oftc.net weber.oftc.net]
broonie has quit [resistance.oftc.net weber.oftc.net]
vkoul has quit [resistance.oftc.net weber.oftc.net]
exit70 has quit [resistance.oftc.net weber.oftc.net]
apalos has quit [resistance.oftc.net weber.oftc.net]
ndec has quit [resistance.oftc.net weber.oftc.net]
echanude has quit [resistance.oftc.net weber.oftc.net]
pneuhardt has quit [resistance.oftc.net weber.oftc.net]
steev has quit [resistance.oftc.net weber.oftc.net]
ardb has quit [resistance.oftc.net weber.oftc.net]
dgilmore has quit [resistance.oftc.net weber.oftc.net]
pundir has quit [resistance.oftc.net weber.oftc.net]
zspec has quit [resistance.oftc.net weber.oftc.net]
jhugo has quit [resistance.oftc.net weber.oftc.net]
ldts__ has quit [resistance.oftc.net weber.oftc.net]
jlinton has quit [resistance.oftc.net weber.oftc.net]
_alice has quit [resistance.oftc.net weber.oftc.net]
lvrp16 has quit [resistance.oftc.net weber.oftc.net]
sibis has quit [resistance.oftc.net weber.oftc.net]
jlinton_ is now known as jlinton
ardb_ is now known as ardb
steev_ is now known as steev
ndec has joined #aarch64-laptops
zspec has joined #aarch64-laptops
pneuhardt has joined #aarch64-laptops
dgilmore has joined #aarch64-laptops
DanaG has joined #aarch64-laptops
pundir_ is now known as pundir
DanaG has quit [Server closed connection]
DanaG has joined #aarch64-laptops
dgilmore has quit [Server closed connection]
dgilmore has joined #aarch64-laptops
martiert has quit [Remote host closed the connection]
martiert has joined #aarch64-laptops
zspec has quit [Server closed connection]
zspec has joined #aarch64-laptops
mkrawczuk_ has quit [Ping timeout: 480 seconds]
ndec has quit [Server closed connection]
ndec has joined #aarch64-laptops
sibis0 has quit []
sibis0 has joined #aarch64-laptops
sibis0 is now known as sibis
sibis has quit []
sibis has joined #aarch64-laptops
mkrawczuk has joined #aarch64-laptops
pneuhardt has quit [Server closed connection]
pneuhardt has joined #aarch64-laptops
xroumegue has quit [Ping timeout: 480 seconds]
broonie_ is now known as broonie
iivanov has joined #aarch64-laptops
xroumegue has joined #aarch64-laptops
iivanov__ has joined #aarch64-laptops
iivanov__ has quit [Remote host closed the connection]
hightower2 has quit [Ping timeout: 480 seconds]
jhugo_ is now known as jhugo
<jenneron[m]> we have this piece of ACPI tables for lenovo flex 5g touchscreen https://dpaste.com/9PX98KG2A, i understand the regulators part and i can see this operating with gpios 53 and 54, but i don't understand where is setting gpio to active state and where is to low. can someone give me insight on this?
hexdump01 has quit []
hexdump0815 has joined #aarch64-laptops
agl7 is now known as moria
moria is now known as agl7
agl7 is now known as moria
moria is now known as agl7
agl7 is now known as moria
<moria> I have changed my Nick from "agl7" to "moria"
moria has left #aarch64-laptops [Leaving]
agl7 has joined #aarch64-laptops
agl7 has left #aarch64-laptops [Leaving]
agl7 has joined #aarch64-laptops