ChanServ 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
zdykstra has quit [Quit: WeeChat 4.5.1]
zdykstra has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
weirdtreething has quit [Read error: Connection reset by peer]
weirdtreething has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
weirdtreething_ has joined #aarch64-laptops
weirdtreething has quit [Ping timeout: 480 seconds]
weirdtreething_ is now known as weirdtreething
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
tobhe has joined #aarch64-laptops
tobhe_ has quit [Ping timeout: 480 seconds]
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
pabs has quit [Remote host closed the connection]
pabs has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
ungeskriptet_ has joined #aarch64-laptops
ungeskriptet has quit [Ping timeout: 480 seconds]
ungeskriptet_ is now known as ungeskriptet
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
landwork has quit [Ping timeout: 480 seconds]
landwork has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<jhovold> anthony25: yes, dp altmode works fine with my rc3 wip branch on both the crd and t14s
<jhovold> robclark: ok, but good that you seem to have a reliable reproducer for the pcie probe failure
<jhovold> it appears to be a race of sorts so you're probably just unlucky with the timings
srinik has joined #aarch64-laptops
<jhovold> robclark: regarding the audio probe failure you mentioned, don't you have the yoga slim7x?
<jhovold> that one doesn't have the wcd codec that was failing described in dt, so not sure what's going on there
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<JensGlathe[m]> It has the codec in my definition. I guess it may not be complete or erroneous
kettenis has quit [Remote host closed the connection]
<jhovold> JensGlathe[m]: ok, thanks for explaining
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #aarch64-laptops
landwork has quit [Read error: No route to host]
landwork has joined #aarch64-laptops
landwork has quit [Quit: Leaving.]
landwork has joined #aarch64-laptops
landwork has quit []
landwork has joined #aarch64-laptops
<albsen[m]> just installed the ubuntu 6.14.0.5 kernel it's booting and appears to be working. haven't encountered the random restarts/crashes yet that I've been seeing with the previous kernels. thx.
<albsen[m]> maybe should mentioned, this is on t14s 64gb (limited to 32gb)
<tobhe> great :) thanks for the feedback
landwork has quit [Quit: Leaving.]
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #aarch64-laptops
<albsen[m]> tobhe: first thing I noticed, bluetooth is not working anymore
<tobhe> I'll have a look at that
<albsen[m]> I'll link the dmesg here in a second, also I can see a lot "qcom-iris aa00000.video-codec: core init failed"
<robclark> JensGlathe[m], jhovold: oh.. it is possible that JensGlathe[m]'s patch to add dp/retimer dts bits introduced that codec and broke audio.. I guess I can try to back out the audio related bits. (Would be nice to get proper external display support in place for 7x)
<JensGlathe[m]> See, I was nervous when it compiled on first try
<tobhe> albsen[m]: I can reproduce it on mine too
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #aarch64-laptops
<albsen[m]> great, let me know if I can do anything else to help
pabs has quit [Remote host closed the connection]
pabs has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<robclark> jhovold: do we know anything about what is the actual codec used for external display on 7x? I'm guestimating that JensGlathe[m] patch (which does work for the display side of things) is just copying the setup on CRD?
<sibis> jhovold: I'll make sure I post the cpufreq quirks for the perf protocol over the next 2 days so that I get feedback from Cristian
<jhovold> sibis: sounds good, thanks!
<jhovold> robclark: that was my impression as well, I'll see if I can dig something out
chrisl has joined #aarch64-laptops
<robclark> yeah, reverting the dp retimer patch gets wifi and audio back.. idk what the connection is to wifi, but I'll try to trim the patch down to just the retimer stuff in a bit.. hopefully I can have external display + sound + wifi at the same time ;-)
<jhovold> so it was also involved in triggering the pci probe issue? make sure to save that branch in case it was just due to (un)lucky timing of events
<robclark> well, either that or really lucky random odds that ath12k hadn't been working across a number of reboots and started working on first reboot after reverting patch ;-)
jglathe_ has joined #aarch64-laptops
<JensGlathe[m]> This hints to the pwrseq stuff...
<jhovold> thanks, but we're gonna need your help to track it down since you have a yoga :)
<anthony25> the wifi works for me with JensGlathe[m]'s patch
<robclark> stripping out the codec stuff from that gets audio working... now lets see if I can figure out which part breaks ath12k
<robclark> hmm, wcn7850-pmu doesn't seem display related
<jhovold> that's bluetooth
<jhovold> and wifi
<JensGlathe[m]> and WiFi
<robclark> hmm, never tried bt before or after
jglathe_angrybox has quit [Ping timeout: 480 seconds]
<anthony25> let me try bluetooth again with this patch
<anthony25> it used to work with 6.14-rc2
<anthony25> wifi and bluetooth work for me
<anthony25> I had to adapt the patch as I had some merge conflicts, let me see if there's something different with yours
<robclark> ok, after backing out those changes, I have wifi working again as well
<anthony25> bluetooth still has some disconnections with my earplugs, however (that I don't have on my desktop PC)
<robclark> ok, here is slimmed down patch that has external display working without breaking audio/wifi:
<robclark> I've not gone thru to cross check that all the regulators/etc are required/used
<robclark> oh, and I guess there is a 3rd retimer on 7x.. the two left usb-c ports work, the one port on the right has no display (but usb seems to work)
<JensGlathe[m]> There are three retimers configured
<anthony25> yeah I saw that last time, displayport was detected but I was hitting another error
<JensGlathe[m]> The port on the right doesn't work on Windows, either (?)
<JensGlathe[m]> for dp
<anthony25> I need to look at the logs of our conversation about it last time, but I think it didn't work (even on 1080p 60Hz)
<robclark> hmm.. so abelvesa posted dp support for 7x early on (before the retimer driver)... and pretty sure the situation at the time was the right port and one of the two left ports worked
<JensGlathe[m]> that was what I remember
<anthony25> this is what I'm using: https://bpa.st/7REA
<anthony25> I don't know if it changes anything, but I have the EC enabled
<anthony25> full dts: https://bpa.st/WLSA
<anthony25> ha, actually, DP altmode works
<anthony25> I don't know why it stopped working on my 4K@60Hz, but it works on my 1080p screen
<anthony25> the right port still fails with a "failed DP link training", but the 2 left ports work
<robclark> at a minimum, the bt and wifi should be separate patches.. I'm not entirely sure what the implications of the wifi changes since it was working before (but maybe some regulators were not getting shut down when wifi suspends?
<robclark> oh, I am getting spammed with:
<robclark> [ +0.959334] ath12k_pci 0004:01:00.0: failed to transmit frame -12
<robclark> hmm, so maybe wifi is not in fact working (but I do at least see the ath12k device).. I have ethernet connected via external display which was masking the issue
<anthony25> I'm talking about the EC because if I understand correctly, it can shutdown the wifi and bluetooth (through the airplane mode key)
<robclark> and some splats:
<anthony25> JensGlathe[m]: on windows, the 3 ports work with display port
<robclark> oh, neat, fn-f8 (airplane key) locks things up solid
<JensGlathe[m]> Okay. Sounds like there is another oddity with regulators and/or gpio
<anthony25> just windows can only push 4K@120 on one port (2nd port on the left), the rest are failing
<robclark> trimmed a few more thigns out and ath12k is working again
<anthony25> what did you change?
<robclark> delta from original patch:
<robclark> basically just removing everything that was not actually related to retimer/dp
<anthony25> ha so you have no bluetooth now, no?
srinik has quit [Ping timeout: 480 seconds]
<robclark> anthony25: no bt.. I'd never used it before.. (but bt shouldn't be part of the same patch as dp/retimer ;-))
cyrinux has quit []
cyrinux has joined #aarch64-laptops
jglathe_ has quit [Ping timeout: 480 seconds]
rz_ has joined #aarch64-laptops
rz has quit [Ping timeout: 480 seconds]
rz has joined #aarch64-laptops
rz_ has quit [Ping timeout: 480 seconds]
rz has quit [Ping timeout: 480 seconds]
akaWolf has joined #aarch64-laptops
rz has joined #aarch64-laptops
rz has quit [Ping timeout: 480 seconds]
weirdtreething has quit [Ping timeout: 480 seconds]
weirdtreething has joined #aarch64-laptops
rz has joined #aarch64-laptops
rz has quit [Ping timeout: 480 seconds]
<d0pefish> Surface Pro 11 / Arch Linux ARM with 6.14-rc3: https://github.com/dwhinham/linux-surface-pro-11/releases/tag/2025-02-18
<JensGlathe[m]> Do you get touchscreen / keyboard/ touchpad to run?
<d0pefish> type cover keyboard with its touchpad mouse is working but still need to get touchscreen+pen working
<d0pefish> I have the kernel module for touchscreen as it's supposed to be spi-hid but I need to try and write some device tree bits for it
<JensGlathe[m]> are these behind an extra controller ore is it a matter of scanning the i2c buses? DSDT looks really weird
<d0pefish> Yeah, the detachable keyboard/trackpad comes via surface aggregator module
<d0pefish> the drivers are in-tree and at least partially work, some unhandled events are being logged but at least it's usable
jhovold has quit [Ping timeout: 480 seconds]
<JensGlathe[m]> so we need a device tree definition for them
<bamse> perhaps i've missed something, but i think we're missing support for geni spi-hid
<bamse> konradybcio: ^^
<d0pefish> I tried to enable an spi device with &spi1 { status = "okay"; }; in my device tree but I get a crash in spi_geni_probe()
<bamse> crash or it just wouldn't work?
icecream95 has joined #aarch64-laptops
<icecream95> Has anyone else been seeing occasional memory corruption with 6.14? (I'm using the Ubuntu kernel)
<d0pefish> bamse: a crash, here's a dmesg snippet https://gist.github.com/dwhinham/365d469f894af68e9d21e254008f7ca9
<d0pefish> No idea if it should work at all or not, I just tried to enable one of the SPI devices with "okay" in the DT
<icecream95> Unfortunately I haven't managed to find a way to reliably reproduce the corruption, but I've seen it twice over the past few days
<konradybcio> d0pefish: bamse we need some geni bits and some hid-spi bits.. hopefully it's not far away but as always, no promises
<d0pefish> thanks :)
<bamse> konradybcio: and that's still stuck in endianess purgatory?
<bamse> d0pefish: hmm, sync ext abort would imply some other issue...are you sure that spi1 is what you're looking for?
<bamse> i.e. it's some indication of access of unavailable resources... the protocol issue should be a cleaner reject by the driver
<konradybcio> bamse I haven't checked out the latest updates yet, been busy working on some other fun stuff
<konradybcio> at least on SL7, GENI talks pure QSPI and we still need to borrow a driver from surface duo's android kernel & clean it up to the point of upstreamability
<konradybcio> unfortunately though, it's not conformant with microsoft's pdf-described hidspi (it seems to be like a pre-release version)
rz has joined #aarch64-laptops
<d0pefish> bamse: I'm actually not sure :) I just found spi0 and 1 in the base x1e dtsi and tried to enable them. My goal was to try the surface duo spi-hid driver Konrad mentioned, but I can't do that until I can get spi to come up
<d0pefish> was hoping that once spi was successfully enabled I could poke around with some userspace tools e.g. on i2c you have i2cdetect and so on
<konradybcio> we should be able to do something about spi in the not very distant future..