mini0n has quit [Remote host closed the connection]
Zopolis4 has joined #asahi-re
Keyaedisa has quit [Remote host closed the connection]
Keyaedisa has joined #asahi-re
bisko has joined #asahi-re
Keyaedisa has quit [Remote host closed the connection]
Keyaedisa has joined #asahi-re
bisko has quit [Ping timeout: 480 seconds]
Keyaedisa has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-re
cylm_ has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
bisko has quit [Ping timeout: 480 seconds]
maor26 has joined #asahi-re
Keyaedisa has quit [Remote host closed the connection]
bisko has joined #asahi-re
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-re
bisko has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
eiln_ has joined #asahi-re
<eiln_>
marcan: in re to be safe, they're logged as ANE_POWER_SET_N (or PMGR_SET if forget) where N is 1-6
<eiln_>
**i forget
<eiln_>
and 0th is named POWER_BASE
<marcan>
eiln_: any idea what each does? 6 sounds odd for 8 cores, like they have a deeper meaning we don't know
<marcan>
but if they're always handled together we can just shrug and treat them as an arbitrary set
<eiln_>
yeah, they're handled as a whole. turned on in reverse and off in nornal order, but doesn't really matter
<marcan>
heh, that ordering almost sounds like they should be a big chain
<marcan>
but if they have a hardware dependency it would show up if you try to turn them on in the wrong order, because they would refuse to do that
<marcan>
might be worth testing
<marcan>
(the current pstate will not reach 0xf if parent domains are off)
Keyaedisa has quit [Ping timeout: 480 seconds]
<marcan>
(and you get some error flag bit set which I forget)
<eiln_>
ive dumped these by triggering a fault: rPMGR_ANE0_BASE_PS, rPMGR_ANE0_SET1_PS, rPMGR_ANE0_SET2_PS, rPMGR_ANE0_SET3_PS, rPMGR_ANE0_SET4_PS
<marcan>
seems pretty arbitrary...
<eiln_>
ISP has 12 of those that work very similarly
<eiln_>
also not in dt :D
<marcan>
I'd say test to see if you can power them up in the wrong order and the pstate ack comes in. if it does, treat them as an unordered set (might still be worth following the power up/down order to match macOS just in case, but it'd be a driver responsibility)
<marcan>
if the ack does not come in and there is a hardware dep, that should be encoded by chaining them as parent/child
<eiln_>
thanks, testing it rn
<marcan>
if this were any other SoC vendor I'd be wary of lockups and badness if things are powered out of order, but Apple seems to be pretty good about encoding dependencies in pmgr cleanly where required :p
Keyaedisa has joined #asahi-re
eiln_ has quit [Remote host closed the connection]
Zopolis4 has quit []
Keyaedisa has quit [Ping timeout: 480 seconds]
eiln has joined #asahi-re
Keyaedisa has joined #asahi-re
<eiln>
marcan: can't really tell if it's a parent-child relationship
<eiln>
remaining 5 bulk turns on (0x30f -> 0x3ff) when the 0th (base) is turned on
<eiln>
but turning off the base doesn't affect the remaining
<eiln>
should order it to be safe regardless but
<eiln>
to clarify the ones changed state by the base had to be "on" before
<marcan>
eiln: that means 1-5 should depend on base in the DT, that's the expected behavior
<marcan>
no dep relationship between the 5 themselves? i.e. if base is on, you can turn on 5 first or 1 first?
<eiln>
yep. off order doesn't matter either.
<eiln>
weird number
<marcan>
ok, then let's go with that, call 0 "base" in the DT and 1-5 can keep those numbers, 1-based is fine if Apple does that
<marcan>
so the dep chain is sys -> base -> {1-5} and the driver probably only needs to know about cpu and 1-5, sys and 0 would be implicitly driven as parents
<marcan>
(cpu also depends on sys of course, as it already does)
<eiln>
sounds good
<marcan>
(you can still add base separately if there's a reason to turn it on without the children of course)
<eiln>
should i call them ane_set1 like apple?
<marcan>
eiln: sure, why not
<marcan>
we generally name things 1:1 with the PMGR descriptors in the ADT table, but if they aren't in there at all then that sounds like a good alternative
Zopolis4 has joined #asahi-re
eiln has quit [Remote host closed the connection]
Keyaedisa has quit [Remote host closed the connection]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Remote host closed the connection]
Keyaedisa has joined #asahi-re
bisko has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-re
bisko has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-re
bisko has quit []
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Zopolis4 has quit []
roxfan has joined #asahi-re
maor26 has quit [Read error: Connection reset by peer]
maor26 has joined #asahi-re
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
maor has joined #asahi-re
Keyaedisa has joined #asahi-re
maor has quit [Read error: Connection reset by peer]
maor26 has quit [Ping timeout: 480 seconds]
maor26 has joined #asahi-re
maor26 has quit [Read error: Connection reset by peer]
maor26 has joined #asahi-re
cylm has joined #asahi-re
nela has quit [Ping timeout: 480 seconds]
maor has joined #asahi-re
maor26 has quit [Ping timeout: 480 seconds]
maor has quit [Read error: Connection reset by peer]
maor has joined #asahi-re
maor26 has joined #asahi-re
maor has quit [Ping timeout: 480 seconds]
maor26 has quit [Read error: Connection reset by peer]
maor26 has joined #asahi-re
kit_ty_kate1 has joined #asahi-re
kit_ty_kate has quit [Remote host closed the connection]
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
nela has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
roxfan has quit [Ping timeout: 480 seconds]
hertz has quit [Ping timeout: 480 seconds]
hertz has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
seeeath has joined #asahi-re
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi-re
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
Keyaedisa has joined #asahi-re
Zopolis4 has joined #asahi-re
Keyaedisa has quit [Remote host closed the connection]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Remote host closed the connection]
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
seeeath has joined #asahi-re
Keyaedisa has joined #asahi-re
Keyaedisa has quit [Ping timeout: 480 seconds]
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi-re
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi-re
HardWall has joined #asahi-re
mkurz has quit [Ping timeout: 480 seconds]
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]