#asahi-dev · 2023-05-01 20:41
jannauit still has the explicit cs-gpio property#asahi-dev · 2023-05-01 20:41
ChaosPrincessprobably not rebased#asahi-dev · 2023-05-01 20:40
jannauChaosPrincess: is the touchbar mt pull request up to date?#asahi-dev · 2023-05-01 20:38
jannauI guess users of xf86-input-evdev are out of luck#asahi-dev · 2023-05-01 20:36
jannaumarcan: both plasma and gnome ignore touchbar (display/mt) with non-desktop and the udev rule in https://github.com/AsahiLinux/PKGBUILDs/pull/35#asahi-dev · 2023-05-01 17:51
mazah, m1n1 of course have them. sorted.#asahi-dev · 2023-05-01 17:45
mazdoes someone have the part numbers of M2 max CPUs? I'm adding the -pro versions to the vgic SError shit-list, and I might as well do the full M2 range, since it is likely to be the same old story.#asahi-dev · 2023-05-01 16:08
mazmarcan: in any case, I'd love the person with the problem to show up on the list. if they are experiencing issues, they probable aren't the only ones (and there's a long list of details I need to know about...)#asahi-dev · 2023-05-01 16:01
mazcould be cpufreq, as I'm not using any PM on my boxes (frequencies set at boot time).#asahi-dev · 2023-05-01 16:00
mazeven if an IRQ ends up on the "wrong" core, we can service the interrupt in about 1000 cycles, which wouldn't register at all, so something else must be at odds.#asahi-dev · 2023-05-01 15:58
mazmarcan: it'd be good to have some details. I'm running my desktop in a VM on the Studio, and otherwise compiling on the host. the host definitely doesn't feel sluggish...#asahi-dev · 2023-05-01 15:28
kettenisindeed, it tries to solve a different problem (and largely fails at doing so)#asahi-dev · 2023-05-01 15:27
jannauTom Rini pointed me to https://lists.denx.de/pipermail/u-boot-custodians/2023-May/001004.html w.r.t the ESP selection problem but I think it is mostly unrelated#asahi-dev · 2023-05-01 15:22
sam_but in any case you may still have opinions so hopefully it's not pure noise#asahi-dev · 2023-05-01 15:22
sam_marcan: meh I might have misremembered wrt the thing I just cc'd you on for gdb#asahi-dev · 2023-05-01 15:12
ChaosPrincessthe rust for linux crowd really needs to work on kernel build ux. just too many things that can cause a random "you aren't getting gpu drivers this kernel build"#asahi-dev · 2023-05-01 14:52
marcancould also be we screwed something up in lower core machines, though I haven't found anything yet#asahi-dev · 2023-05-01 14:50
marcanreason being that I believe AIC2 will always try to deliver IRQs to CPUs that are alive instead of waking up CPUs that are asleep, and then will prefer e-clusters by default or if all CPUs are asleep, and it has a fallback where if the IRQ is not acked in a while it broadcasts to all CPUs, which would explain lag if a guest is busy but its CPUs are not properly handling host IRQs#asahi-dev · 2023-05-01 14:49
marcanbut it could also be something completely unrelated#asahi-dev · 2023-05-01 14:49
marcanI *think* those symptoms could be explained by some kind of pathological IRQ routing in KVM, like as if host IRQs don't get handled when they arrive at CPUs that are in the guest#asahi-dev · 2023-05-01 14:48
marcanmaz: so I saw this on reddit and I'm wondering whether it rings any bells: https://www.reddit.com/r/AsahiLinux/comments/134g00u/strange_scheduling_latency_on_the_host_when_kvm/#asahi-dev · 2023-05-01 14:36
marcan(hope we never have to deal with the complex firmware trees in uboot, those need hard/symlinks :p)#asahi-dev · 2023-05-01 14:36
marcanjust to make it clear this is for uboot and not the kernel#asahi-dev · 2023-05-01 14:36
marcanI think as a one-off we can do that, maybe <esp>/vendorfw/uboot/<filename>?#asahi-dev · 2023-05-01 14:35
kettenisstandalone would be easier#asahi-dev · 2023-05-01 14:35
marcancan you load it from the vendorfw.cpio directly? or do you want it standalone?#asahi-dev · 2023-05-01 14:35
marcanI figured an initramfs would be easier but if you think all that can work... :p#asahi-dev · 2023-05-01 14:35
kettenisyes, but I think I can pull all that off#asahi-dev · 2023-05-01 14:34
marcankettenis: works for me, but then we need the magic ESP selection stuff upstream too, and all that has to run before PCIe/USB init which means NVMe has to come first#asahi-dev · 2023-05-01 14:25
kettenisloading the firmware directly from the ESP would make updating u-boot easier and I suspect it would result in less resistence upstream#asahi-dev · 2023-05-01 14:15
marcanjannau: ok, nothing unexpected there#asahi-dev · 2023-05-01 14:13
kettenishmm, u-boot actually has some infrastructure to load firmware from a filesystem#asahi-dev · 2023-05-01 14:09
jannaumarcan: https://jannau.net/asahi/j474_dev_13.2.txt cpu 7,11 missing#asahi-dev · 2023-05-01 14:01
marcancan you throw the ADT somewhere? at least /cpus#asahi-dev · 2023-05-01 13:57
jannauI have a down-binned m2 pro mac mini#asahi-dev · 2023-05-01 13:47
marcanthough I guess I could probably emulate it on my j314 with ADT hacks#asahi-dev · 2023-05-01 13:47
marcancould be completely unrelated of course, but might as well check...#asahi-dev · 2023-05-01 13:46
marcansince that kind of thing could be explained by IRQs getting delivered to nonexistent CPUs first (AIC2 will fallback to all CPUs after a timeout if no CPU acks the IRQ)#asahi-dev · 2023-05-01 13:46
marcanthere's a reddit post about bad interactivity on an 8-core j314 and now I'm wondering if we're doing something wrong with the AIC2 or cpustart setup...#asahi-dev · 2023-05-01 13:45
marcandid anyone around here have a CPU-downbinned machine?#asahi-dev · 2023-05-01 11:37
kettenismaybe I should introduce a tiny abstraction layer in u-boot that prepends vendorfw/ such that the firmware name in the driver matches what Linux has#asahi-dev · 2023-05-01 11:34
marcankettenis: might as well, for consistency#asahi-dev · 2023-05-01 11:30
ketteniss/pauths/paths (I've been playing around with pointer authentication last week)#asahi-dev · 2023-05-01 11:28
kettenismarcan: when we change the installer to produce a .cpio with just the firmwares that u-boot cares about, it will still have pauths that start with vendorfw/ ?#asahi-dev · 2023-05-01 11:08
chadmed"i'll just add a few zeroes to the maximum ~weight~ heap size"#asahi-dev · 2023-05-01 11:06
chadmedif you search the logs you can find me bumbling around with a 300mb initramfs that decompresses to like a few bytes above 1gb, which broke payload.c and the hypervisor's default heap#asahi-dev · 2023-05-01 11:04
maz... and I thought my 12MB mini+firmware+dt+u-boot was big... :D#asahi-dev · 2023-05-01 11:01
chadmedooh does that mean people are going to call it bloated now :P#asahi-dev · 2023-05-01 10:59
marcanso I guess the last few commits just made m1n1 slightly larger enough that the kernel lost something more critical :p#asahi-dev · 2023-05-01 10:58
marcanyeah, for the HV that is somewhat recent