#
✕ nick:marcan
#asahi-dev · 2022-03-25 04:14
marcannope
#asahi-dev · 2022-03-24 06:55
marcanand metadata
#asahi-dev · 2022-03-24 06:55
marcanonly kernel-headers changed
#asahi-dev · 2022-03-24 06:55
marcanit has literally 0 changes
#asahi-dev · 2022-03-24 06:55
marcanignore it
#asahi-dev · 2022-03-24 06:55
marcanthat was yesterday, it's just a packaging thing
#asahi-dev · 2022-03-24 06:52
marcanmine should be coming in soon, though I'll wait a few days after that before proper bring-up
#asahi-dev · 2022-03-24 06:51
marcanI'm happy to give it a shot myself if you can wait though :-)
#asahi-dev · 2022-03-24 06:50
marcanand wrap all the labels with that
#asahi-dev · 2022-03-24 06:50
marcanthen redefine for die 1
#asahi-dev · 2022-03-24 06:50
marcanjust something like #define L(x) d0_##x will do, before including anything in die 0
#asahi-dev · 2022-03-24 06:50
marcanthen (re)define a simple macro to mangle the labels
#asahi-dev · 2022-03-24 06:49
marcanone for the base that's in M1 Pro and Max and is only on die 0 of Ultra (system core, stuff like smc and ans), one for the parts that are the intersection of both dies in Ultra and Pro, and one for the parts that are extra in Max and on both dies in Ultra
#asahi-dev · 2022-03-24 06:47
marcanwe need to split t600x into different files
#asahi-dev · 2022-03-24 06:47
marcanjannau: nest two buses inside soc {} with ranges translating into the offset, and #include things into both
#asahi-dev · 2022-03-23 18:34
marcanthe whole second die is at a consistent offset
#asahi-dev · 2022-03-23 18:33
marcanjannau: the pmgr "magically" knows about the second die and the clocks/resets references just shove the die ID into some upper bits
#asahi-dev · 2022-03-22 20:07
marcanI'm not entirely sure how one would disable suspend for pcie/brcmfmac to begin with
#asahi-dev · 2022-03-22 20:07
marcanthat's why we aren't shipping it yet
#asahi-dev · 2022-03-22 20:05
marcanpcie will explode badly with suspend
#asahi-dev · 2022-03-22 20:05
marcanalyssa: did you turn off pcie? :p
#asahi-dev · 2022-03-22 20:04
marcanjannau: it's no fun if you do all the work before mine arrives :<
#asahi-dev · 2022-03-22 20:03
marcan:p
#asahi-dev · 2022-03-22 20:03
marcanI'm just lazy
#asahi-dev · 2022-03-22 20:03
marcanor I can just use smc.py on the mini
#asahi-dev · 2022-03-22 20:02
marcanand not some bitfield
#asahi-dev · 2022-03-22 20:02
marcanjust want to make sure it's still 1/0
#asahi-dev · 2022-03-22 20:02
marcan1/0
#asahi-dev · 2022-03-22 20:02
marcanlike it's supposed to return the current button state when read
#asahi-dev · 2022-03-22 20:01
marcanalyssa: I mean whether you get the same values there when the button is pressed or not
#asahi-dev · 2022-03-22 19:44
marcanalyssa: also can you confirm if bHLD also works the same?
#asahi-dev · 2022-03-22 19:41
marcanI guess maybe 6 is "touch ID" and 1 is "power"?
#asahi-dev · 2022-03-22 19:41
marcanalyssa: does the HELD stuff still work the same?
#asahi-dev · 2022-03-22 17:30
marcan(maz has made us default to _relaxed for everything except where required and now arnd is saying the opposite)
#asahi-dev · 2022-03-22 17:30
marcanarnd: maz: I think you two need to have a battle over _relaxed ;)
#asahi-dev · 2022-03-22 14:35
marcanthat is how bind mounts work
#asahi-dev · 2022-03-22 14:35
marcanjoske: that is normal
#asahi-dev · 2022-03-22 13:06
marcanmaz: yeah, I should dump it in the ML, or maybe it can go in the cover for v2
#asahi-dev · 2022-03-22 12:58
marcanotherwise, when we get around to it :)
#asahi-dev · 2022-03-22 12:58
marcanif we're forced to do it it'll be if we find AGX needs it for performance
#asahi-dev · 2022-03-22 12:58
marcanyeah
#asahi-dev · 2022-03-22 12:58
marcanmaybe one day I'll be bored enough to give it a shot
#asahi-dev · 2022-03-22 12:57
marcanthat could be improved, but again, making sure not to break other consumers is always a pain
#asahi-dev · 2022-03-22 12:57
marcanhonestly the way it does queuing etc is just not a good match for how these mailboxes work on apple
#asahi-dev · 2022-03-22 12:56
marcanwhich isn't even properly documented and different drivers/consumers interpret it differently
#asahi-dev · 2022-03-22 12:56
marcanyeah, it got worse with the atomic api
#asahi-dev · 2022-03-22 12:55
marcanI'd fix it but I'd have to talk to everyone already (ab)using it and figure out what we do with that mess
#asahi-dev · 2022-03-22 12:55
marcanI'm just saying that subsystem design sucks :)
#asahi-dev · 2022-03-22 12:55
marcanoh I agree the idea makes sense
#asahi-dev · 2022-03-22 12:55
marcanbut mailbox is a much simpler problem than the layer above RTKit

plus ›