#
…

2025-04-06

00:04mockneck has joined #asahi-dev
00:08ece314378925355451680698427415 has joined #asahi-dev
00:14mockneck has quit [Quit: Konversation terminated!]
00:36mischa85 has quit [Ping timeout: 480 seconds]
00:58mischa85 has joined #asahi-dev
00:59pb17 has quit [Ping timeout: 480 seconds]
01:06mischa85 has quit [Ping timeout: 480 seconds]
01:15ddxtanx has quit [Remote host closed the connection]
01:15mischa85 has joined #asahi-dev
01:15veen has quit [Ping timeout: 480 seconds]
01:16jnn has joined #asahi-dev
01:17ddxtanx has joined #asahi-dev
01:20jn has quit [Ping timeout: 480 seconds]
01:24mischa85 has quit [Ping timeout: 480 seconds]
01:26___nick___ has quit []
01:29veen has joined #asahi-dev
01:29___nick___ has joined #asahi-dev
01:30___nick___ has quit []
01:32pb17 has joined #asahi-dev
01:32___nick___ has joined #asahi-dev
02:13mischa85 has joined #asahi-dev
02:21mischa85 has quit [Ping timeout: 480 seconds]
02:36tobhe has joined #asahi-dev
02:43tobhe_ has quit [Ping timeout: 480 seconds]
03:16pb17 has quit [Ping timeout: 480 seconds]
03:23pb17 has joined #asahi-dev
03:30red_rider has joined #asahi-dev
03:31mischa85 has joined #asahi-dev
03:39mischa85 has quit [Ping timeout: 480 seconds]
03:56nora_ has joined #asahi-dev
03:58nora has quit [Ping timeout: 480 seconds]
04:09red_rider has quit [Ping timeout: 480 seconds]
04:14mischa85 has joined #asahi-dev
04:23mischa85 has quit [Ping timeout: 480 seconds]
04:32mischa85 has joined #asahi-dev
04:40mischa85 has quit [Ping timeout: 480 seconds]
04:46chadmedinteresting development in the wireplumber space: apparently someone else has found a use for the DSP chain stuff we built and george and arun want to hack on it at the pw hackfest
04:46chadmedi wish i could attend
05:01Halian has quit [Quit: I'll be back.]
05:02pb17 has quit [Ping timeout: 480 seconds]
05:24pb17 has joined #asahi-dev
05:55red_rider has joined #asahi-dev
06:02red_rider has quit [Remote host closed the connection]
06:33mischa85 has joined #asahi-dev
06:36pb17 has quit [Ping timeout: 480 seconds]
06:41mischa85 has quit [Ping timeout: 480 seconds]
07:10pb17 has joined #asahi-dev
07:21chadmed has quit [Quit: Konversation terminated!]
07:21chadmed has joined #asahi-dev
07:22JayBeeFOSS has quit [Ping timeout: 480 seconds]
07:23JayBeeFOSS has joined #asahi-dev
07:25mischa85 has joined #asahi-dev
07:30mattia013 has quit [Remote host closed the connection]
07:33mattia013 has joined #asahi-dev
07:35mischa85 has quit [Ping timeout: 480 seconds]
07:57mischa85 has joined #asahi-dev
08:31pb17 has quit [Ping timeout: 480 seconds]
08:49pb17 has joined #asahi-dev
09:31veen has quit [Ping timeout: 480 seconds]
09:46mattia013 has quit [Quit: mattia013]
09:46mattia013 has joined #asahi-dev
10:19thunfisch has quit [Ping timeout: 480 seconds]
10:26pb17 has quit [Ping timeout: 480 seconds]
10:27thunfisch has joined #asahi-dev
10:42pb17 has joined #asahi-dev
10:46svenmischa85: uh, no. the point is to make wfi last longer but right now the core seems to exit that state pretty quickly again
10:49gruetzkopf has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
10:51sventhere's probably still some event firing in the background, maybe some timer
10:53svenif there's the HW magic that decides between retention/non-retention it will probably only move to non-retention if nothing happened for a longer time
10:57leio has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
10:57leio has joined #asahi-dev
10:59gruetzkopf has joined #asahi-dev
11:00chaos_princessisn't the event literally the read64 in the next line that causes proxyclient to write to serial?
11:05svenI don’t think we use interrupts for usb
11:06kloenk_ has quit [Remote host closed the connection]
11:06svenor wait.. do we these days?
11:07kloenk has joined #asahi-dev
11:10nickchansven: i think interrupts are not used
11:10mischa85sven: yes, i realized. so this is why this experiment will need to be done on another cpu and doesn't work with only the boot cpu
11:10gruetzkopf has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
11:10mischa85i can only say, the output is consistent
11:11mischa85the timer idea would probably work to fire an interrupt but only with smp working
11:12gruetzkopf has joined #asahi-dev
11:13svenwhy do you need another cpu?
11:13mischa85to actually run the timer
11:14sveni'm talking about the hardware timer
11:14svenwe use that in the hv as well
11:14svenyou can configure it to just trigger an interrupt which will wake you from wfi
11:15svenbut first you need to figure out what currently causes wfi to terminate
11:15mischa85which was my first approach but the aic timer crashes as it's probably not enabled via pmgr
11:18kraem has quit [Ping timeout: 480 seconds]
11:20nickchanmischa85: i do not think there is a timer in aic on 64-bit apple soc
11:21mischa85it's defined in the adt tho
11:21mischa850x302580000
11:21opticron has quit [Read error: Connection reset by peer]
11:23nickchanmischa85: can you not use the cpu register timers?
11:24nickchanthey should be standard ARM stuffs
11:24nickchanand the interrupt of that timer is delivered as a FIQ
11:26opticron has joined #asahi-dev
11:26mischa85but how can i poll that timer without causing an interrupt? maybe i'm just unsure here how to implement that
11:27nickchanmischa85: you need an interrupt to wake from wfi...
11:28nickchanas for polling the timer without causing interrupt that's what udelay() does already
11:32chadmedmischa85: udelay implements a "timer" by just counting CNTPCT_EL0 ticks so you can use that i suppose
11:32chadmedit's exposed to python
11:32nickchanBut that's the opposite of what one wants to do in a wfi experiments
11:32nickchanit keeps the cpu busy
11:32nickchanand other cores are not working so everything needs to happen on the boot cpu
11:33chadmedyeah so we're stuck
11:33nickchanconfigure the timer register to fire an interrupt after a second then call a function that does deep wfi
11:33sven^-- that
11:34svenbut first we need to figure out why wfi returns currently
11:36nickchanand that function should write a magic value into x0, save x19-x30, wfi, restore x19-x30, then return
11:36nickchanand x0 will end up being the return value so check that from the caller
12:14pb17 has quit [Ping timeout: 480 seconds]
12:16yuyichao_ has quit [Ping timeout: 480 seconds]
12:46pb17 has joined #asahi-dev
12:47mattia013 has quit [Remote host closed the connection]
12:49mattia013 has joined #asahi-dev
14:00pb17 has quit [Ping timeout: 480 seconds]
14:17pb17 has joined #asahi-dev
14:54tobhe_ has joined #asahi-dev
14:58tobhe has quit [Ping timeout: 480 seconds]
15:12rrendec has joined #asahi-dev
15:26Stardust has joined #asahi-dev
15:44pb17 has quit [Ping timeout: 480 seconds]
16:15pb17 has joined #asahi-dev
16:16zerozerozero has joined #asahi-dev
16:32mischa85 has quit [Ping timeout: 480 seconds]
16:54mischa85 has joined #asahi-dev
16:56chadmed has quit [Quit: Konversation terminated!]
16:56chadmed has joined #asahi-dev
17:03mischa85 has quit [Ping timeout: 480 seconds]
17:11mischa85 has joined #asahi-dev
17:12zerozero1 has joined #asahi-dev
17:13zerozero1 has quit []
17:17___nick___ has quit [Ping timeout: 480 seconds]
17:19zerozerozero has quit [Ping timeout: 480 seconds]
17:23umaga has joined #asahi-dev
17:24pb17 has quit [Ping timeout: 480 seconds]
17:26svenmischa85: when you tried to start the other cores did you do that with the m1n1 on disk or did you do a chainload to an updated m1n1 inbetween?
17:31___nick___ has joined #asahi-dev
17:36mischa85m1n1 on disk
17:37svenok, that should've worked with the locked iorvbar values we checked earlier
17:37svenpity. i was hoping there was a chainload inbetween and the only issue was that m1n1_base changed
17:45pb17 has joined #asahi-dev
17:50swiftraccoon has quit [Remote host closed the connection]
17:56swiftraccoon has joined #asahi-dev
18:00glem81005488 has quit [Quit: bye.]
18:16swiftraccoon has quit [Ping timeout: 480 seconds]
18:18glem810054889 has joined #asahi-dev
18:22swiftraccoon has joined #asahi-dev
18:28nela has joined #asahi-dev
18:28swiftraccoon has quit [Remote host closed the connection]
18:30swiftraccoon has joined #asahi-dev
18:51kraem has joined #asahi-dev
18:56pb17 has quit [Ping timeout: 480 seconds]
19:20pb17 has joined #asahi-dev
20:00umaga has quit [Ping timeout: 480 seconds]
20:06___nick___ has quit [Remote host closed the connection]
20:09kaazoo has joined #asahi-dev
20:55kenzie7001031 has quit []
21:18okb has quit [Read error: Connection reset by peer]
21:35commandoline has quit [Quit: Bye!]
21:36commandoline has joined #asahi-dev
21:37commandoline has quit []
21:38catred has quit [Remote host closed the connection]
21:41commandoline has joined #asahi-dev
22:30kaazoo has quit [Quit: Leaving.]
22:33pb17 has quit [Ping timeout: 480 seconds]
22:50pb17 has joined #asahi-dev
…