#
#asahi-dev · 2023-05-09 18:44
alyssahow does this work
#asahi-dev · 2023-05-09 18:42
j`eynice trick
#asahi-dev · 2023-05-09 18:40
jannauis watching the TSO stream on demand
#asahi-dev · 2023-05-09 18:39
jannaumarcan: you can do `git add -N $FILE`, git add -p will work then
#asahi-dev · 2023-05-09 16:35
mazremoved the driver for the time being, I have other things to debug! ;-)
#asahi-dev · 2023-05-09 16:34
mazyeah. I have a ton of things like this https://paste.debian.net/1279776/
#asahi-dev · 2023-05-09 16:32
j`eysomething else then :)
#asahi-dev · 2023-05-09 16:32
mazj`ey: # CONFIG_PROVE_RAW_LOCK_NESTING is not set
#asahi-dev · 2023-05-09 16:28
j`eyhttps://oftc.irclog.whitequark.org/asahi-dev/2023-04-28#32104692;
#asahi-dev · 2023-05-09 16:28
j`eyit was brought up, and he linked https://lore.kernel.org/linux-arm-kernel/20220726145430.bfwidmw6xmeppbfb@bogus/
#asahi-dev · 2023-05-09 16:25
mazmarcan: not sure you're already aware, but the apple cpuidle driver screams like mad when used with lockdep.
#asahi-dev · 2023-05-09 15:31
marcanbecause of course it's on NVMe :p
#asahi-dev · 2023-05-09 15:31
marcanthe funny thing is once it's all set up and the default boot partition, you can unplug the disk and it still boots into m1n1
#asahi-dev · 2023-05-09 15:31
marcanthis is already PoCed in expert mode, you can do a USB install of just m1n1
#asahi-dev · 2023-05-09 15:30
marcanso you end up with source files in Preboot (on USB) and the actual boot/ folder on iSCPreboot
#asahi-dev · 2023-05-09 15:30
marcanit basically does the actual bootability provisioning in iSCPreboot instead of the Preboot partition itself
#asahi-dev · 2023-05-09 15:30
marcanyes
#asahi-dev · 2023-05-09 15:30
j`eyoh right, that's the thing where it copies it for you
#asahi-dev · 2023-05-09 15:30
marcani.e. it works like macOS on USB
#asahi-dev · 2023-05-09 15:29
marcanso no repartitioning of nvme at all
#asahi-dev · 2023-05-09 15:29
marcanwhen your stub partition is on USB
#asahi-dev · 2023-05-09 15:29
marcanj`ey: yes, which is done automatically by bputil/kmutil
#asahi-dev · 2023-05-09 15:29
j`eyxhci in m1n1 means that the only thing we'll need on the nvme is the m1n1 stage1/stub? (compared to usb booting now which needs stage2 and uboot on the nvme)
#asahi-dev · 2023-05-09 15:27
svenlol
#asahi-dev · 2023-05-09 15:27
svenif you really want some pain you can always pick up fixing the pcie hotplug mess as well :>
#asahi-dev · 2023-05-09 15:27
marcanxHCI has lovely things like "the buffer is full message goes in the buffer"
#asahi-dev · 2023-05-09 15:27
marcanright...
#asahi-dev · 2023-05-09 15:27
sventhough you ofc access registers of all the crap on the path to the device via those ringer buffer commands
#asahi-dev · 2023-05-09 15:26
svenat least it’s mostly ring buffers there and not much mixing between registers and ring buffers
#asahi-dev · 2023-05-09 15:26
marcanfair
#asahi-dev · 2023-05-09 15:26
svennhi/thunderbolt does that dma ring buffer thing as well but it doesn’t seem to be as bad xhci
#asahi-dev · 2023-05-09 15:25
marcanI dread the day I get back to figuring out why dwc3 has broken port sleep...
#asahi-dev · 2023-05-09 15:25
marcanyeah but xHCI takes the standard level of USB insanity and wraps it in a mixed register/ring buffer/DMA interface ;)
#asahi-dev · 2023-05-09 15:24
sventhat dwc3 mode switch race was pretty bad as well ;)
#asahi-dev · 2023-05-09 15:24
marcansven: this is worse, this is USB core stuff. you're lucky you just have to sequence PHYs :p
#asahi-dev · 2023-05-09 15:23
svenmarcan: at least someone else gets to share my usb pain :p
#asahi-dev · 2023-05-09 14:57
marcanyeah, they're orthogonal
#asahi-dev · 2023-05-09 14:48
povikyeah, then the balance makes sense
#asahi-dev · 2023-05-09 14:48
povikbut the fallback can be w/ dsp still
#asahi-dev · 2023-05-09 14:47
povikah, i wanted to write it's weird to start with, without dsp
#asahi-dev · 2023-05-09 14:46
marcanalso it would be mildly simpler to have a single global cap instead of per-speaker caps
#asahi-dev · 2023-05-09 14:46
marcanbut I'd defer to chadmed's opinion on that since he knows how that'd sound
#asahi-dev · 2023-05-09 14:46
marcanmeans it just gets quieter, not weird
#asahi-dev · 2023-05-09 14:45
povikmarcan: i don't get in what sense keeping the speakers in balance is of advantage with the fallback cap
#asahi-dev · 2023-05-09 14:42
marcanI guess this is why people pay me ;)
#asahi-dev · 2023-05-09 14:41
marcanI'll fix this before the next update
#asahi-dev · 2023-05-09 14:41
povikjust so we stop users hitting boot loops today
#asahi-dev · 2023-05-09 14:41
povikisn't there some quick workaround we can do, returning some scratch structure from that function?
#asahi-dev · 2023-05-09 14:41
marcanglobal pros: the speakers remain in balance. global cons: quieter
#asahi-dev · 2023-05-09 14:41
marcanchadmed: practical issue: do you think we should have the kernel safe fallback volume cap global, or per-speaker?

plus ›