#
…

2023-02-05

00:21bisko has joined #asahi-re
00:27hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:29bisko has quit [Ping timeout: 480 seconds]
00:33seeeath has joined #asahi-re
00:34chadmed has joined #asahi-re
00:35seeeath has quit []
00:43seeeath has joined #asahi-re
00:46seeeath has quit []
01:10bisko has joined #asahi-re
01:12seeeath has joined #asahi-re
01:15seeeath has quit []
01:15seeeath has joined #asahi-re
01:15seeeath has quit []
01:18bisko has quit [Ping timeout: 480 seconds]
01:26amarioguy has quit [Remote host closed the connection]
01:53bisko has joined #asahi-re
02:01bisko has quit [Ping timeout: 480 seconds]
02:02Zopolis4 has quit []
02:31chadmed has quit [Remote host closed the connection]
02:32chadmed has joined #asahi-re
03:06hertz has joined #asahi-re
03:14bluetail has quit [Quit: The Lounge - https://thelounge.chat]
04:22Keyaedisa has joined #asahi-re
04:40bluetail has joined #asahi-re
04:46mini0n has quit [Remote host closed the connection]
05:05Zopolis4 has joined #asahi-re
05:05Keyaedisa has quit [Remote host closed the connection]
05:18Keyaedisa has joined #asahi-re
05:30bisko has joined #asahi-re
05:30Keyaedisa has quit [Remote host closed the connection]
05:43Keyaedisa has joined #asahi-re
05:51bisko has quit [Ping timeout: 480 seconds]
05:52Keyaedisa has quit [Ping timeout: 480 seconds]
05:52bisko has joined #asahi-re
05:53cylm_ has quit [Ping timeout: 480 seconds]
05:55Keyaedisa has joined #asahi-re
06:00bisko has quit [Ping timeout: 480 seconds]
06:12maor26 has joined #asahi-re
06:17Keyaedisa has quit [Remote host closed the connection]
06:17bisko has joined #asahi-re
06:25bisko has quit [Ping timeout: 480 seconds]
06:30bisko has joined #asahi-re
06:38bisko has quit [Ping timeout: 480 seconds]
06:49Keyaedisa has joined #asahi-re
06:55eiln_ has joined #asahi-re
06:56eiln_marcan: in re to be safe, they're logged as ANE_POWER_SET_N (or PMGR_SET if forget) where N is 1-6
06:56eiln_**i forget
06:56eiln_and 0th is named POWER_BASE
06:58marcaneiln_: any idea what each does? 6 sounds odd for 8 cores, like they have a deeper meaning we don't know
06:58marcanbut if they're always handled together we can just shrug and treat them as an arbitrary set
06:59eiln_yeah, they're handled as a whole. turned on in reverse and off in nornal order, but doesn't really matter
06:59marcanheh, that ordering almost sounds like they should be a big chain
07:00marcanbut 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
07:00marcanmight be worth testing
07:00marcan(the current pstate will not reach 0xf if parent domains are off)
07:00Keyaedisa has quit [Ping timeout: 480 seconds]
07:01marcan(and you get some error flag bit set which I forget)
07:01eiln_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
07:01marcanseems pretty arbitrary...
07:01eiln_ISP has 12 of those that work very similarly
07:02eiln_also not in dt :D
07:02marcanI'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)
07:02marcanif the ack does not come in and there is a hardware dep, that should be encoded by chaining them as parent/child
07:03eiln_thanks, testing it rn
07:08marcanif 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
07:11Keyaedisa has joined #asahi-re
07:12eiln_ has quit [Remote host closed the connection]
07:15Zopolis4 has quit []
07:19Keyaedisa has quit [Ping timeout: 480 seconds]
07:23eiln has joined #asahi-re
07:27Keyaedisa has joined #asahi-re
07:27eilnmarcan: can't really tell if it's a parent-child relationship
07:27eilnremaining 5 bulk turns on (0x30f -> 0x3ff) when the 0th (base) is turned on
07:28eilnbut turning off the base doesn't affect the remaining
07:28eilnshould order it to be safe regardless but
07:30eilnto clarify the ones changed state by the base had to be "on" before
07:33marcaneiln: that means 1-5 should depend on base in the DT, that's the expected behavior
07:34marcanno dep relationship between the 5 themselves? i.e. if base is on, you can turn on 5 first or 1 first?
07:35eilnyep. off order doesn't matter either.
07:35eilnweird number
07:36marcanok, 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
07:36marcanso 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
07:36marcan(cpu also depends on sys of course, as it already does)
07:37eilnsounds good
07:37marcan(you can still add base separately if there's a reason to turn it on without the children of course)
07:46eilnshould i call them ane_set1 like apple?
07:49marcaneiln: sure, why not
07:50marcanwe 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
08:13Zopolis4 has joined #asahi-re
08:15eiln has quit [Remote host closed the connection]
08:18Keyaedisa has quit [Remote host closed the connection]
08:18Keyaedisa has joined #asahi-re
08:18Keyaedisa has quit [Remote host closed the connection]
08:19Keyaedisa has joined #asahi-re
08:26bisko has joined #asahi-re
08:35Keyaedisa has quit [Ping timeout: 480 seconds]
08:44Keyaedisa has joined #asahi-re
08:45bisko has quit [Ping timeout: 480 seconds]
08:56bisko has joined #asahi-re
09:08bisko has quit [Ping timeout: 480 seconds]
09:16bisko has joined #asahi-re
09:16bisko has quit []
10:13Keyaedisa has quit [Ping timeout: 480 seconds]
10:23Keyaedisa has joined #asahi-re
10:46Keyaedisa has quit [Ping timeout: 480 seconds]
11:15Zopolis4 has quit []
11:26roxfan has joined #asahi-re
11:28maor26 has quit [Read error: Connection reset by peer]
11:29maor26 has joined #asahi-re
12:01Keyaedisa has joined #asahi-re
12:09Keyaedisa has quit [Ping timeout: 480 seconds]
12:18Keyaedisa has joined #asahi-re
12:26Keyaedisa has quit [Ping timeout: 480 seconds]
12:40Keyaedisa has joined #asahi-re
12:50Keyaedisa has quit [Ping timeout: 480 seconds]
13:01Keyaedisa has joined #asahi-re
13:12Keyaedisa has quit [Ping timeout: 480 seconds]
13:23Keyaedisa has joined #asahi-re
13:33Keyaedisa has quit [Ping timeout: 480 seconds]
13:42Keyaedisa has joined #asahi-re
13:50Keyaedisa has quit [Ping timeout: 480 seconds]
13:51Keyaedisa has joined #asahi-re
14:01Keyaedisa has quit [Ping timeout: 480 seconds]
14:03Keyaedisa has joined #asahi-re
14:15Keyaedisa has quit [Ping timeout: 480 seconds]
14:20maor has joined #asahi-re
14:23Keyaedisa has joined #asahi-re
14:26maor has quit [Read error: Connection reset by peer]
14:27maor26 has quit [Ping timeout: 480 seconds]
14:28maor26 has joined #asahi-re
14:43maor26 has quit [Read error: Connection reset by peer]
14:45maor26 has joined #asahi-re
14:54cylm has joined #asahi-re
14:54nela has quit [Ping timeout: 480 seconds]
15:02maor has joined #asahi-re
15:09maor26 has quit [Ping timeout: 480 seconds]
15:17maor has quit [Read error: Connection reset by peer]
15:18maor has joined #asahi-re
15:19maor26 has joined #asahi-re
15:26maor has quit [Ping timeout: 480 seconds]
15:34maor26 has quit [Read error: Connection reset by peer]
15:35maor26 has joined #asahi-re
15:49kit_ty_kate1 has joined #asahi-re
15:50kit_ty_kate has quit [Remote host closed the connection]
15:58Keyaedisa has quit [Ping timeout: 480 seconds]
16:05Keyaedisa has joined #asahi-re
16:14nela has joined #asahi-re
16:23Keyaedisa has quit [Ping timeout: 480 seconds]
16:32Keyaedisa has joined #asahi-re
16:32roxfan has quit [Ping timeout: 480 seconds]
16:34hertz has quit [Ping timeout: 480 seconds]
16:37hertz has joined #asahi-re
17:10Keyaedisa has quit [Ping timeout: 480 seconds]
17:16Keyaedisa has joined #asahi-re
17:24Keyaedisa has quit [Ping timeout: 480 seconds]
17:34Keyaedisa has joined #asahi-re
17:44Keyaedisa has quit [Ping timeout: 480 seconds]
18:56seeeath has joined #asahi-re
19:06seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:08Keyaedisa has joined #asahi-re
19:16Keyaedisa has quit [Ping timeout: 480 seconds]
19:19amarioguy has joined #asahi-re
19:23Keyaedisa has joined #asahi-re
19:31Keyaedisa has quit [Ping timeout: 480 seconds]
19:42Keyaedisa has joined #asahi-re
19:50Zopolis4 has joined #asahi-re
19:55Keyaedisa has quit [Remote host closed the connection]
19:56Keyaedisa has joined #asahi-re
19:57Keyaedisa has quit [Remote host closed the connection]
19:58Keyaedisa has joined #asahi-re
20:07Keyaedisa has quit [Ping timeout: 480 seconds]
20:17seeeath has joined #asahi-re
20:52Keyaedisa has joined #asahi-re
21:01Keyaedisa has quit [Ping timeout: 480 seconds]
21:06seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:06seeeath has joined #asahi-re
21:14seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:14seeeath has joined #asahi-re
21:43HardWall has joined #asahi-re
22:40mkurz has quit [Ping timeout: 480 seconds]
22:57seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:58seeeath has joined #asahi-re
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:20Zopolis4 has quit []
23:27maor26 has quit [Quit: Leaving]
23:38Keyaedisa has joined #asahi-re
…