#
…

2021-02-14

00:01TheJollyRoger has quit [Read error: Connection reset by peer]
00:01DarthCloud has quit [Remote host closed the connection]
00:04TheJollyRoger has joined #asahi-re
00:05DarthCloud has joined #asahi-re
00:58amw has joined #asahi-re
01:03amw has quit [Ping timeout: 272 seconds]
01:19amw has joined #asahi-re
01:25thestr4ng3r has quit [Read error: Connection reset by peer]
01:26thestr4ng3r has joined #asahi-re
01:39thestr4ng3r has quit [Read error: Connection reset by peer]
01:39thestr4ng3r has joined #asahi-re
03:15phiologe has quit [Ping timeout: 264 seconds]
03:15phiologe has joined #asahi-re
03:20brosenz[m] has joined #asahi-re
03:50ransom has joined #asahi-re
03:53Bluerise has quit [Ping timeout: 268 seconds]
04:00_whitelogger has joined #asahi-re
04:10Bluerise has joined #asahi-re
04:17Bluerise has quit [Ping timeout: 240 seconds]
04:49ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:12_whitelogger has joined #asahi-re
06:43ransom has joined #asahi-re
07:30ransom_ has joined #asahi-re
07:31ransom has quit [Ping timeout: 240 seconds]
07:57_whitelogger has joined #asahi-re
08:07ransom_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:12maor26 has joined #asahi-re
08:36amw has quit [Ping timeout: 256 seconds]
08:37Tokamak has quit [Ping timeout: 240 seconds]
08:40hir0 has joined #asahi-re
08:44Tokamak has joined #asahi-re
08:51amw has joined #asahi-re
09:00TellowKrinkle[m] has quit [Quit: Idle for 30+ days]
09:25amw has quit [Ping timeout: 240 seconds]
09:30Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:33hir0 has quit [Quit: hir0]
09:52Bluerise has joined #asahi-re
10:16maor26 has quit [Remote host closed the connection]
10:17amw has joined #asahi-re
10:17maor26 has joined #asahi-re
11:34amw has quit [Ping timeout: 256 seconds]
11:36svenso.. has anyone looked into this power management controller yet? I found https://github.com/Siguza/dt which is already helpful
11:37svenbut I'm curious about e.g. "Higher bits exist, but for most their meaning is unknown and might change between chip generations."
11:40svenbit 0x300 might be "power is stable" or something like that. after reboot the value might e.g. be 2300. i then set 0xf and the register then reads back as 23ff and eventually 20ff after more time passes
11:46marcanpossibly related to clamping/"ready"
11:47svenhrm, I think I actually need to write to the register once more before that 0x300 disappears
11:54svenso the lower 8 bits are [actual][wanted]. 0b1000 and 0b0100 can be enabled independently.
11:55sven0b0010 and 0b0001 can only be enabled when 0b1000 is set I think
11:59sven0x300 seems to behave like a "was disabled" bit
12:00vimal has quit [Ping timeout: 240 seconds]
12:03svenyeah, the 0x300 bits are some kind of "something changed" flag related to the 0b1100 bits
12:42DarthCloud has quit [Remote host closed the connection]
12:42DarthCloud has joined #asahi-re
13:02grumble has quit [Quit: ACCORDING TO ALL KNOWN LAWS OF AVIATION THERE IS NO WAY A BEE SHOULD BE ABLE TO FLY ITS WINGS ARE TOO SMALL TO GET ITS FAT LITTLE BODY OFF THE GROUND THE BEE OF COURSE FLIES ANYWAY BECAUSE BEES DON'T CARE WHAT HUMANS THINK IS IMPOSSIBLE]
13:07Tokamak has joined #asahi-re
13:10grumble has joined #asahi-re
13:15Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:41Tokamak has joined #asahi-re
13:48Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:14jannau"RCC Disable Power Save Prf (performance?) Clock Off" needs to be set in EHID for PMC 0/1 to count
14:16jannaunot sure what they count though, PMC0 updates at 2.11 GHz and PMC1 updates at 4.158MHz
14:18jannauthe configureable performance counters still don't count
14:29Necrosporus has quit [Read error: Connection reset by peer]
14:30Necrosporus has joined #asahi-re
14:36riker77 has quit [Ping timeout: 264 seconds]
14:37jannauit's working now after a reboot. PMC0 seems to be CPU cycles, at least it reports roughly the same value as the configurable CPU_CYCLES counter
14:51marcanjannau: XNU says PMC0 is cycles and PMC1 is instructions
14:58jannauargh, I've missed osfmk/arm64/monotonic_arm64.c. I only looked at osfmk/arm64/kpc.c
15:02riker77 has joined #asahi-re
16:00hwatwasthat[m] has quit [Quit: Idle for 30+ days]
16:25Bluerise has quit [Quit: brb]
16:40Necrosporus has quit [Ping timeout: 256 seconds]
17:03Tokamak has joined #asahi-re
17:16jannau"RCC Disable Power Save Prf (performance?) Clock Off" is unrelated it was just a missing isb
17:17marcanI've noticed several things that need an isb to work
17:30jannaudocumentaton updated
17:32Necrosporus has joined #asahi-re
18:57ransom has joined #asahi-re
18:57ransom has quit [Client Quit]
19:50zkrx has quit [Ping timeout: 240 seconds]
19:54zkrx has joined #asahi-re
20:40vup has quit [Ping timeout: 246 seconds]
20:41anuejn has quit [Ping timeout: 272 seconds]
20:55anuejn has joined #asahi-re
20:55vup has joined #asahi-re
21:55eta has quit [Quit: we're here, we're queer, connection reset by peer]
21:56eta has joined #asahi-re
22:14TheJollyRoger has quit [Remote host closed the connection]
22:15TheJollyRoger has joined #asahi-re
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:01yrlf has joined #asahi-re
23:02amw has joined #asahi-re
…