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)
<hail_eris>
Also when testing, it looks like you're using the chromium .config file, when testing if you haven't already just in case make sure to add to your kernel cmdline so that modules can load: loadpin.enforce=0 lsm.module_locking=""
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
jhovold has joined #aarch64-laptops
carmen has joined #aarch64-laptops
klardotsh has quit [Read error: Connection reset by peer]
matthias_bgg has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
iivanov has quit []
leezu has quit [Ping timeout: 480 seconds]
alpernebbi has quit [Ping timeout: 480 seconds]
alpernebbi has joined #aarch64-laptops
<macc24>
Dylanger: try asking on the mailing list
leezu has joined #aarch64-laptops
arnd_ has quit []
arnd has joined #aarch64-laptops
matthias_bgg has quit [Ping timeout: 480 seconds]
matthias_bgg has joined #aarch64-laptops
<steev>
qzed: i've been seeing the 1 core constant usage here but bamse does not
minecrell5 has joined #aarch64-laptops
<qzed>
steev: have you been able to pin that down to something? i'd guess it's some kernel thread but that doesn't show up in htop
<steev>
i havent' pinned down what, but at least on my flex5g, it was one of the LITTLE cores, because the time_in_state stats listed the little cores always at max freq
<qzed>
same for me, always core 0 in htop which is one of the little ones
iivanov has joined #aarch64-laptops
jwm has joined #aarch64-laptops
<bamse>
steev: not just CPU0?
<bamse>
or rather, not in particular CPU0...
<steev>
bamse: i'm not sure if mine was CPU0, i just recall that the little cores time_in_state stats said they were always at 1.7GHz and none of the other freqencies had any time in them
<steev>
pretty sure it was happening with 5.18rc too, because that's what the previous branch i was using was based on
<qzed>
fwiw, I don't see many variations in frequency on the other cores either... except if I change to the powersave governor
<steev>
i was always on schedutil, i didn't change governors
<steev>
policy4 had lots of time in state across the freqs, policy0 only ever listed time at 1.7ghz
<steev>
i stupidly cleared out my local branches recently, so i don't recall what branch i was using prior to take2 (but i know the issue existed there)
<qzed>
so with cpufreq-stats I also see a lot of lower-frequency time on the big cores... contrary to what htop would want me to believe
<qzed>
so I guess don't trust htop on cpu frequencies...
<qzed>
little cores are pretty much exclusively in the top 3 states though...
<steev>
i was just looking in sys
<qzed>
yeah sys/devices/system/cpu/cpufreq/policyN/stats is what I mean with cpufreq-stats
<qzed>
before that I was mostly gauging things with htop... somehow I assumed that was mostly reliable
<steev>
it mostly is
<steev>
iirc, there's a setting somewhere in htop to show kernel threads
<qzed>
yeah, I have that on
<steev>
armbian has a patch for htop to make it show the actual cpufreqs too
<steev>
wish it would get upstreamed
<qzed>
oh nice
<qzed>
it does show some frequencies for me... but they don't really seem to match up to the time_in_state entries
<steev>
i don't think there's a lot that does, but maybe with intel doing the big.LITTLE thing soon, that will change
<xnox>
mani_s: steev: i do have patches for grub on ubuntu to "detect and persist dtb" so if one boots with dtb, it keeps on trying to copy it to /boot and continue to generate grub.cfg with it.
<xnox>
and multiple versions of it got applied/submitted into rhboot/debian/upstream, but i think nobody has yet agreed to ship devicetree automatic support in upstream vanilla grub and elsewhere.
<xnox>
btw - i noticed that thinkpad x13s started to be available for shipping in the USA
<mani_s>
xnox, interesting
<xnox>
mani_s: so i keep on hoping to build live-desktop image that detects hardware and picks the right dtb on boot; and then if one installs from said image; it persists ongoing.
<mani_s>
steev, xnox But after going back and forth, I decided to use dtbloader in the installer itself. So it will be the first efi application to run and it will chain load grub
<mani_s>
this way, the installer kernel gets full functionality as like the boot kernel by making use of dtb
<xnox>
sure, and there are benefits and disadvantages of that too
<xnox>
i keep on hoping to add signing support to dtbs such that we can boot with secureboot and allow kernel to load the dtb.
<mani_s>
xnox, right but this seems to be the quick solution for me instead of adding the partial ACPI support to many drivers
<mani_s>
plus this gives the opportunity to use wifi during the installation that many would fancy
<mani_s>
xnox, that would be really cool!
<xnox>
yeap yeap
<xnox>
i keep on dreaming to find time to start adding more and more partial acpi support
<mani_s>
:)
<steev>
mani_s: oh that's cool too
<steev>
xnox: yes, x13s are shipping... except lenovo shipped me a t14 instead of the x13s i ordered so....
<steev>
they did mail and say a replacement order has been made and gave me the order number to enter on some website of theirs but it still doesn't show shipped yet :(
<mani_s>
steev, that's a bummer
<steev>
yeah, definitely disappointed, but not really upset
minecrell5 has quit []
minecrell has joined #aarch64-laptops
carmen has quit [Remote host closed the connection]
carmen has joined #aarch64-laptops
<qzed>
bamse: how does the "normal" usb-c display-port glink notification stuff work?
<steev>
xnox: if i want to pay for the t14, yes, but i don't want the t14 (it's a gen 1 anyway)
<steev>
i didn't even check the specs on it, i just put it back in the boxes and taped it up. but that reminds me that i need to send the label to the office and have them print it for me
<bamse>
qzed: on what transport do you see that struct usbc_event?
<qzed>
it's an event sent by SAM (the EC on Surface devices)
<bamse>
i see, it's looking similar to the message i get from the usb-c/charging firmware in the qualcomm case...
<bamse>
but it's not the same...and different transport
<qzed>
AFAIK there are some redriver ICs in-between SoC and USB-C ports on the SPX
<qzed>
so probably something that SAM captures via those
<bamse>
so what's needed is for me to figure out the remaining bug(s?) in my displayport hot-plug patches and post that
<qzed>
the whole PD stuff is also handled by SAM, probably because the battery controller is also under it's supervision
<bamse>
i was happy with the last iteration, but then continued to use them...and noticed that sometimes when i switch resolution, i get a low hpd-signal momentarily...which results to the display driver shutting things down
<bamse>
so working on that...and the dp driver is moving underneath my feet...
<bamse>
with that side in place, you'll have to implement a struct drm_bridge on the SAM side
<qzed>
hmm, yeah that doesn't sound particularly fun xD
<qzed>
okay
<bamse>
then we use a dt graph to connect the two and will magically work
<qzed>
sounds like a plan
<bamse>
but i want to post the base dtsi+dts and land the edp-patches for sc8280xp first...so expect that it'll take another 1-2 weeks before i'm back on that horse
<bamse>
as soon as i have something that doesn't crash and burn i'll post a branch for you to take a look at
<qzed>
dealing with the SAM side should be fairly flexible, as far as I can tell a basic SAM client driver that grabs some phandle from DT should do it, or alternatively link the controller as phandle to some DRM client driver/device thing
<qzed>
no worries
<bamse>
right, the first approach was for the sam-side to have a reference to the dp instance and just call a function on that handle
<bamse>
but the more i look at it the more i certain i get that it's a hack...
<bamse>
so if we instead make the sam-side look like drivers/gpu/drm/bridge/display-connector.c things should work nicely
<qzed>
that should be possible
<qzed>
what I meant with the alternative: we can also add some other driver at some other place and pick up the SAM controller device via a phandle
<qzed>
might need some more work though and might not be as clean as a "pure" SAM client driver as we'd need to deal with SAM controller lifetime stuff
<qzed>
but that's been done before with other platform drivers (before MS decided to not place them in ACPI any more)
<qzed>
so whatever works better, I guess
<qzed>
or actually a phandle to the SAM controller isn't necessary, because there's a function to get a handle to it (that's used by the ACPI/platform driver clients)
<qzed>
but I have plenty of other things still to do, so no need to hurry
<steev>
sadly, i only have 3 (4 if i buy another LCD, already have controller board) 2K displays :(
iivanov has quit []
<bamse>
robclark: it's been a few weeks, but i think my problem was that the connector status reported by the dp driver suddenly falls, and that is fed back in as a hpd state change ("external" hpd interrupt), so i tell the state machine to shut down the link
<bamse>
robclark: in other words, i screwed something up in the migration from internal to external hpd handling
<bamse>
qzed: yeah, unfortunately we need dual sspp to do 4k@60...so i'm currently limited to 4k@30, while dmitry is working on that