#asahi-dev · 2023-11-21 11:22
marcanmaz: and on a t8112 running 6.3.0-asahi-13-1-edge-ARCH it's backwards - I only get counts on the ecores, not the pcores#asahi-dev · 2023-11-21 11:14
marcanhaven't tested 6.6 yet though#asahi-dev · 2023-11-21 11:08
marcanmaz: repros everywhere for me, including an Arch ARM m1 mini currently running a random kernel (6.5.0-asahi-00774-g0f47112a2d71) and another M1 machine running 6.5.0-asahi-11-1-edge-ARCH#asahi-dev · 2023-11-21 10:59
mazwent back to 6.5 on M1 mini, and it works fine.#asahi-dev · 2023-11-21 10:58
mazis it*#asahi-dev · 2023-11-21 10:58
mazis a universal problem on all machines, or something specific to t600x?#asahi-dev · 2023-11-21 10:54
marcanyeah I dunno :)#asahi-dev · 2023-11-21 10:54
mazhow? they are per-CPU.#asahi-dev · 2023-11-21 10:54
marcanit's more like the counters are being read from the wrong CPUs?#asahi-dev · 2023-11-21 10:54
mazactually, my reasoning doesn't hold. there are no interrupts firing for such a test.#asahi-dev · 2023-11-21 10:52
marcanit's just a support flag#asahi-dev · 2023-11-21 10:52
marcanarm64 always selects IRQ_FORCED_THREADING#asahi-dev · 2023-11-21 10:51
maznull: I'd hope so. but on the other hand I never test anything with this option.#asahi-dev · 2023-11-21 10:51
marcanwhich I don't have#asahi-dev · 2023-11-21 10:51
marcanalso that still needs the bootarg right?#asahi-dev · 2023-11-21 10:51
nullmaz: they're requested with IRQF_NO_THREAD, which should take effect regardless?#asahi-dev · 2023-11-21 10:50
marcanyeah that sounds likely#asahi-dev · 2023-11-21 10:50
mazyup.#asahi-dev · 2023-11-21 10:50
marcanthat?#asahi-dev · 2023-11-21 10:50
marcanCONFIG_IRQ_FORCED_THREADING=y#asahi-dev · 2023-11-21 10:49
mazthat's the only thing I can think of that could affect the affinity of the interrupt.#asahi-dev · 2023-11-21 10:48
mazare you using threaded interrupts?#asahi-dev · 2023-11-21 10:48
marcanbut I get the same as you on an Ultra#asahi-dev · 2023-11-21 10:48
marcanno, the first one was on M1 Pro#asahi-dev · 2023-11-21 10:48
mazare you missing half of the CPUs?#asahi-dev · 2023-11-21 10:47
marcanyes, same here#asahi-dev · 2023-11-21 10:47
mazthat's M1 Ultra.#asahi-dev · 2023-11-21 10:47
maz2-9,12-19#asahi-dev · 2023-11-21 10:47
marcan2-9#asahi-dev · 2023-11-21 10:47
marcan$ cat /sys/devices/apple_firestorm_pmu/cpus#asahi-dev · 2023-11-21 10:47
mazcat /sys/devices/apple_firestorm_pmu/cpus #asahi-dev · 2023-11-21 10:47
marcanwell, we just had a case where a kernel config exposed uninitialized stack memory usage in brcmfmac we'd never noticed before so... :)#asahi-dev · 2023-11-21 10:46
mazcan't really see how a kernel config would impact this, as these are per-CPU events. Unless the interrupt affinity is out of wack, it shouldn't change.#asahi-dev · 2023-11-21 10:46
marcan/sys does show the PMUs assigned to the right CPUs though#asahi-dev · 2023-11-21 10:44
marcanmaz: this repros on M1 Ultra (6.5.0-asahi-00777-g9bf71751b732-dirty) and M1 Pro (6.5.11-404.asahi.fc39.aarch64+16k) on Fedora. maybe it's something about the Fedora kernel config?#asahi-dev · 2023-11-21 08:53
mazcould be CPU affinity problem in the DT.#asahi-dev · 2023-11-21 08:52
mazmarcan: https://paste.debian.net/1298826/#asahi-dev · 2023-11-21 08:50
mazmarcan: I'm not seeing this on either M1 Ultra (running 6.6) or M2 Pro (running 6.7-rc2)#asahi-dev · 2023-11-21 07:12
Nefsen402Sorry for being a bother#asahi-dev · 2023-11-21 07:11
marcanNefsen402: once it's ready for testing we'll say so, it's not useful for people to jump on dev branches and report all the same issues#asahi-dev · 2023-11-21 06:34
Nefsen402journalctl -kr shows nothing but I don't think I'm running the right command#asahi-dev · 2023-11-21 06:33
Nefsen402If I connect the HDMI into my laptop while the HDMI is already plugged into my monitor while tuned into DP (from an amdgpu system) the monitor detects an hdmi signal shows me on the osd to swich over, and once it does it's just black screen before some kind of timeout and it goes back to the amdgpu system#asahi-dev · 2023-11-21 06:32
Nefsen402It would be nice to have some documnation on what to collect and document in a bug report, or even if asahi-wip is what I want either#asahi-dev · 2023-11-21 06:31
Nefsen402I actually pulled down asahi-wip yesterday to try that out but still no dice#asahi-dev · 2023-11-21 06:26
marcanNefsen402: that branch is broken and not what you want.#asahi-dev · 2023-11-21 06:23
marcanI get counts for *both* PMUs (~identical) when pinned to a P-core, and zero everywhere when pinned to an E-core#asahi-dev · 2023-11-21 06:22
marcanmaz: I think something is wacky with the PMUs again. On t600x 6.5.11-404.asahi.fc39.aarch64+16k, using sudo taskset -c 2 perf stat -e apple_icestorm_pmu/cycles/ -e apple_firestorm_pmu/cycles/ -e cycles echo#asahi-dev · 2023-11-20 00:05
andymandiasI'm hoping to work on the keyboard layout cleanup (XKB/hid_apple) from the github yak shaving list, is that a yak that's still in need of shaving?