#
✕ nick:sven
#asahi-dev · 2026-01-09 21:20
svenand with m3 there was some change to the cycle counter which got switched to 1 GHz or something like that so maybe that's related?
#asahi-dev · 2026-01-09 21:19
svenokay, that's in open source xnu (at least partially) and seems to be related to timing or something
#asahi-dev · 2026-01-09 21:14
sventhat sounds cursed
#asahi-dev · 2026-01-09 21:14
svenhuh
#asahi-dev · 2026-01-09 21:14
svenokay, wait, so the msr insn executes but then it runs into a dabort later on?
#asahi-dev · 2026-01-09 21:13
sventhat sounds very weird
#asahi-dev · 2026-01-09 21:12
svenso it does a dabort at the msr instruction?
#asahi-dev · 2026-01-09 21:12
svenhuh
#asahi-dev · 2026-01-09 21:11
svenShiz: what does it run into without them? illegal instruction because the msr doesn't exist in el1?
#asahi-dev · 2026-01-09 20:48
svenand ideally debug any usb device that breaks and directly submit a patch with the fix to atcphy or dwc3 :P
#asahi-dev · 2026-01-09 16:51
sven(trying to improve usb2 phy init in m1n1 right now)
#asahi-dev · 2026-01-09 16:51
svenhrm, the entire usb.c code with the i2c vs. spmi and some other model-specific stuff could use some refactoring as well
#asahi-dev · 2026-01-09 16:45
svennice, usb dts changes on the mailing list :)
#asahi-dev · 2026-01-08 23:17
sven:-(
#asahi-dev · 2026-01-08 22:29
svendwc2 must be truly horrible then
#asahi-dev · 2026-01-08 22:23
svenluckily, we’re dealing with the horrible new DesignWare USB3 controller!
#asahi-dev · 2026-01-08 22:22
svenugh, yes, that should’ve been dwc3
#asahi-dev · 2026-01-08 20:07
svenand then all the random stuff that will go wrong once this actually hits our release kernel 😨
#asahi-dev · 2026-01-08 20:06
svenalright, so that leaves the harmless WARN because pipehandler is already up and those harmless "pipehandler not locked" messages during unplug then
#asahi-dev · 2026-01-08 16:25
svenjannau: i see the pipehandler lock message during unplug as well fwiw, i think we can just drop the pipehandler dance there. i think it's only required for that weird BIST sequence anyway
#asahi-dev · 2026-01-08 12:52
svenmaybe that's not true, no idea
#asahi-dev · 2026-01-08 12:52
svenessentially what i'm thinking is that MTP, the co-processor, exposes the dockchannel fifo interfaces. so that fifo is really part of the co-proc hw
#asahi-dev · 2026-01-08 12:48
svenmaybe it doesn't make sense
#asahi-dev · 2026-01-08 12:48
sveni'm mainly trying to avoid apple, phandles ;)
#asahi-dev · 2026-01-08 12:46
sveni just thought about it because the mtp node doesn't seem to do much and because have this apple,mtp thing in the other node
#asahi-dev · 2026-01-08 12:46
sventhat's why i'd like to see how the devicetree now looks like
#asahi-dev · 2026-01-08 12:46
sveni'm not sure it's a good idea :D
#asahi-dev · 2026-01-08 12:43
svengreat! i'll take a closer look then
#asahi-dev · 2026-01-08 12:40
svendoes mtp do anything that's not dockchannel or could we merge those nodes as well?
#asahi-dev · 2026-01-08 12:38
svenbut from a quick glance they look quite good
#asahi-dev · 2026-01-08 12:34
svenideally with the changes to the dts files
#asahi-dev · 2026-01-08 12:34
svenat the dt-bindings i mean
#asahi-dev · 2026-01-08 12:34
svencan you push the entire branch somewhere? i can take a look either this evening or tomorrow then
#asahi-dev · 2026-01-07 21:21
svenyeah, iirc she let the domain expire (maybe by accident) after she moved on and went to university
#asahi-dev · 2026-01-07 20:49
svenipads with their pencil are *really* nice for that
#asahi-dev · 2026-01-07 20:49
sveni still have some old notes like that i think where i write register names from atcphy next to a MMIO trace after getting them from xnu's debug output
#asahi-dev · 2026-01-07 20:36
svenhttps://eiln.github.io
#asahi-dev · 2026-01-07 20:14
svennickchan: okay, gonna pick it up probably this weekend then
#asahi-dev · 2026-01-07 12:01
svennickchan: 20251231-b4-j98a-j99a-dwi-bl-v1-1-24793c2b99fc@gmail.com is your only patch left that still needs attention or did i miss something on the list?
#asahi-dev · 2026-01-07 11:37
svenI’ll reply on the list in the evening
#asahi-dev · 2026-01-07 11:36
svenjannau: merge policy for defconfig is that we pick it up and send it as a separate PR upstream
#asahi-dev · 2026-01-07 06:58
svenand let’s not talk about atcphy :p
#asahi-dev · 2026-01-07 06:56
svenSMC took e.g. 2 months or so until the core was upstream
#asahi-dev · 2026-01-07 06:56
svenyuuup, and this stuff just takes a while
#asahi-dev · 2026-01-06 19:18
sven*link
#asahi-dev · 2026-01-06 19:18
svenplease don't like slop here when you can't tell yourself if it's actually ccurate
#asahi-dev · 2026-01-06 16:02
svenstart with a minimal .config, you really don't need much for early bringup
#asahi-dev · 2026-01-06 15:59
sven*anything else
#asahi-dev · 2026-01-06 15:59
svenanything is guessing and probably won't get you anywhere
#asahi-dev · 2026-01-06 15:58
svenif you can't get breakpoints to work then that leaves the uart prints in kernel code

plus ›