#
…

2025-01-14

00:05zumi_ has joined #asahi-dev
00:05zumi has quit [Remote host closed the connection]
00:10zumi_ is now known as zumi
00:11wziko has joined #asahi-dev
00:19wziko has quit [Ping timeout: 480 seconds]
00:20zumi has quit [Remote host closed the connection]
00:22pb17 has joined #asahi-dev
00:42mattia013 has quit [Quit: Konversation terminated!]
00:42mattia013 has joined #asahi-dev
00:45sand4rt has quit [Ping timeout: 480 seconds]
01:32pb17 has quit [Ping timeout: 480 seconds]
01:38pthariensflame has joined #asahi-dev
01:41pthariensflame has quit []
01:44wziko has joined #asahi-dev
01:47pb17 has joined #asahi-dev
01:52wziko has quit [Ping timeout: 480 seconds]
01:54linuxgemini has quit [Quit: getting (hopefully fresh) air o/]
02:08linuxgemini has joined #asahi-dev
02:59pb17 has quit [Ping timeout: 480 seconds]
03:07pb17 has joined #asahi-dev
03:22tobhe_ has joined #asahi-dev
03:28tobhe has quit [Ping timeout: 480 seconds]
03:56rwilliams has joined #asahi-dev
04:07nora has joined #asahi-dev
04:09nora_ has quit [Ping timeout: 480 seconds]
04:30rwilliams has quit [Quit: WeeChat 4.5.1]
04:42pb17 has quit [Ping timeout: 480 seconds]
04:47wziko has joined #asahi-dev
04:55wziko has quit [Ping timeout: 480 seconds]
05:00pb17 has joined #asahi-dev
05:00Pokemod97 has quit [Quit: -Bye pokemod97]
05:01KxCORP58940003455 has quit [Quit: Bye!]
05:02KxCORP58940003455 has joined #asahi-dev
05:02ece5171 has joined #asahi-dev
05:06Pokemod97 has joined #asahi-dev
05:07ece517 has quit [Ping timeout: 480 seconds]
05:23cow123 has quit [Read error: Connection reset by peer]
06:11nickchanokay a8x cpmu is getting even more interesting
06:11nickchanPMI mode generates a sync exception with a ESR of 0x94000200
06:11nickchanAIC mode can be set but does nothing
06:12nickchanFIQ mode is RES0 so probably not supported
06:12nickchanand HALT mode halts the CPU as expected
06:13nickchan16-bit instruction trapped and ISV is 0
06:13nickchanam pretty sure that's illegal
06:13nickchandata abort exception too
06:15nickchanEA, bit [9]
06:15nickchanExternal abort type. This bit can provide an IMPLEMENTATION DEFINED classification of External aborts.
06:16nickchanffs i don't want to add impdef aborts into linux
06:19nickchanby generating a sync exception I mean it is generated at the expected time, where the counter reaches 48 bit
06:26nickchaneven as IMPDEF delivering a data abort doesn't sound right to me however
06:32mattia013 has quit [Quit: Konversation terminated!]
06:32pb17 has quit [Ping timeout: 480 seconds]
06:32mattia013 has joined #asahi-dev
06:46pb17 has joined #asahi-dev
06:48wziko has joined #asahi-dev
06:53ddxtanx has joined #asahi-dev
06:55KxCORP58940003455 has quit [Quit: Bye!]
06:56KxCORP58940003455 has joined #asahi-dev
06:56wziko has quit [Ping timeout: 480 seconds]
07:11nickchanall of a7-a11 can deliever the sync exception
07:11nickchanbut only a11 can deliver the fiq
07:12LarstiQnickchan: do you have a whole testbench of devices?
07:12nickchanLarstiQ: i have a lot
07:14nickchanthese devices are lot cheaper than macs :)
07:15Sebastian2 has joined #asahi-dev
07:16nickchanthere is no hypervisor however so a lot more blind probing
07:17KxCORP58940003455 has quit [Quit: Bye!]
07:18LarstiQjust fun poking around or is this yak shaving for some other goal?
07:18KxCORP58940003455 has joined #asahi-dev
07:18Sebastian2 has quit [Remote host closed the connection]
07:19nickchanLarstiQ: to get performance counters working properly in Linux
07:20LarstiQnickchan: for those devices themselves, or as inspiration for Asahi targeted macs?
07:21nickchanLarstiQ: for those device themselves
07:21nickchanthere's quite a bit of hw differences
07:22nickchanI really hope I can get AIC mode to work because otherwise it's to insert an IMP DEF hack inside Linux's sync exceptio handler
07:23jn has joined #asahi-dev
07:23nickchanThis also means the current AIC FIQ handler is wrong for A7-A10
07:24nickchanbecause the CPMU on these can't deliever a FIQ, the fiq handler should not touch the PMC registers
07:26nickchanit's technically wrong for every CPU
07:26nickchanbecause I believe the CPMU has other modes even on M1
07:27nickchanthe FIQ handler probably should only touch the PMCR0 register when PMCR0_IMODE is set to FIQ
07:27jnn has quit [Ping timeout: 480 seconds]
07:34nickchanthis is actually m1n1's behavior
07:34nickchanso it should be fine
07:34nickchanfor linux too
07:39LarstiQnickchan: I'll applaude from the sidelines. I like reading your progress but can't help much. Unless you need some rubber duck debugging!
07:47KxCORP58940003455 has quit [Quit: Bye!]
07:47KxCORP58940003455 has joined #asahi-dev
07:49nickchanor maybe no hack but also give sync exception the fiq treatment when adding m1 support except the default handler is the normal sync exception handler
07:50nickchanand then allow the custom sync exception handler to call the default sync exception handler
07:50KxCORP58940003455 has quit []
08:16nickchanin the AIC mode that ostensibly is supposed to deliver an IRQ not only no IRQs are received but PMCR0_IACT never gets set as if it's in OFF mode
08:16nickchanso it probably won't work
08:21KxCORP58940003455 has joined #asahi-dev
08:21KxCORP58940003455 has quit []
08:22KxCORP58940003455 has joined #asahi-dev
08:32gladiac has quit [Quit: bye]
08:37pb17 has quit [Ping timeout: 480 seconds]
08:37gladiac has joined #asahi-dev
08:44ariejan47 has quit [Quit: The Lounge - https://thelounge.chat]
08:44ariejan47 has joined #asahi-dev
08:46pb17 has joined #asahi-dev
08:59ariejan47 has quit [Quit: The Lounge - https://thelounge.chat]
08:59ariejan47 has joined #asahi-dev
09:25wziko has joined #asahi-dev
09:30ddxtanx has quit [Remote host closed the connection]
09:31ddxtanx has joined #asahi-dev
09:33wziko has quit [Ping timeout: 480 seconds]
09:38ol0ck_ has joined #asahi-dev
09:39ol0ck has quit [Read error: Connection reset by peer]
10:12bjoto has quit [Remote host closed the connection]
10:12nickchanactually xnu uses aic mode on a7-a10
10:20dcavalca8569 has quit [Ping timeout: 480 seconds]
10:23sand4rt has joined #asahi-dev
10:30dcavalca8569 has joined #asahi-dev
10:34pb17 has quit [Ping timeout: 480 seconds]
10:39sand4rt has quit [Quit: WeeChat 4.5.1]
10:40sand4rt has joined #asahi-dev
10:44sand4rt has quit []
10:45sand4rt has joined #asahi-dev
10:53pb17 has joined #asahi-dev
11:21ariejan47 has quit [Quit: The Lounge - https://thelounge.chat]
11:22ariejan47 has joined #asahi-dev
11:27Sebastian2 has joined #asahi-dev
11:38Sebastian2 has quit [Quit: Sebastian2]
12:09anuragrao has joined #asahi-dev
12:17anuragraoHey, I'm new here and would like to try to help with WiFi P2P support. If this is supported, we can partially solve the external display problem on Macbook Air devices. I tried setting it up with gnome-network-displays but then I can see errors in journalctl and dmesg. I looked through the driver code for brcmfmac and saw there is a p2p.c file. I'm new to kernel development and want to understand the scope of this problem an
12:19anuragraowhat is the state of wifi p2p at the moment, what layer is it supported until and what layer has to be implemented? the output of iw phy lists p2p-client p2p-go and p2p-device as supported interface modes
12:41wziko has joined #asahi-dev
12:42pb17 has quit [Ping timeout: 480 seconds]
12:45Sebastian2 has joined #asahi-dev
12:46anuragrao has quit [Remote host closed the connection]
12:49wziko has quit [Ping timeout: 480 seconds]
13:09pb17 has joined #asahi-dev
13:09anuragrao has joined #asahi-dev
13:44john-cabaj has joined #asahi-dev
13:44anuragrao has quit [Remote host closed the connection]
14:06mattia013 has quit [Quit: Konversation terminated!]
14:09mattia013 has joined #asahi-dev
15:00anuragrao has joined #asahi-dev
15:15pb17 has quit [Ping timeout: 480 seconds]
15:15ids1024 has quit []
15:16amarioguy has joined #asahi-dev
15:17pb17 has joined #asahi-dev
15:17amarioguy has quit [Remote host closed the connection]
15:17amarioguy has joined #asahi-dev
15:17amarioguy2 has joined #asahi-dev
15:17amarioguy2 has quit [Remote host closed the connection]
15:20ids1024 has joined #asahi-dev
15:22JayBeeFOSS has quit [Ping timeout: 480 seconds]
15:23JayBeeFOSS has joined #asahi-dev
15:23ids1024 has quit []
15:26ids1024 has joined #asahi-dev
15:27malfunction54 has joined #asahi-dev
15:27anuragrao has quit [Remote host closed the connection]
16:11Sebastian2 has quit [Ping timeout: 480 seconds]
16:30patrickm has quit [Remote host closed the connection]
16:46sand4rt has quit [Ping timeout: 480 seconds]
16:46cow123 has joined #asahi-dev
16:56pb17 has quit [Ping timeout: 480 seconds]
16:58wziko has joined #asahi-dev
17:06wziko has quit [Ping timeout: 480 seconds]
17:12pb17 has joined #asahi-dev
17:52ids1024 has quit []
17:53ids1024 has joined #asahi-dev
17:57patrickm has joined #asahi-dev
17:57patrickm has quit [Remote host closed the connection]
17:58patrickm has joined #asahi-dev
17:58sand4rt has joined #asahi-dev
18:03ids1024 has quit []
18:05patrickm_ has joined #asahi-dev
18:06patrickm has quit [Ping timeout: 480 seconds]
18:07ids1024 has joined #asahi-dev
18:07patrickm_ is now known as patrickm
19:11pb17 has quit [Ping timeout: 480 seconds]
19:13pb17 has joined #asahi-dev
19:51wziko has joined #asahi-dev
20:03patrickm_ has joined #asahi-dev
20:05patrickm has quit [Ping timeout: 480 seconds]
20:05patrickm_ is now known as patrickm
20:14WindowPain has joined #asahi-dev
20:20WindowPain8 has quit [Ping timeout: 480 seconds]
20:27pb17 has quit [Ping timeout: 480 seconds]
20:46pb17 has joined #asahi-dev
20:59weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
21:02johey has quit [Ping timeout: 480 seconds]
21:08sand4rt has quit [Ping timeout: 480 seconds]
21:18johey has joined #asahi-dev
21:30amarioguy has quit [Ping timeout: 480 seconds]
21:44wziko has quit [Ping timeout: 480 seconds]
21:55wziko has joined #asahi-dev
21:57weitcis has joined #asahi-dev
21:57weitcis has quit []
22:04wziko has quit [Ping timeout: 480 seconds]
22:16wziko has joined #asahi-dev
22:26weitcis has joined #asahi-dev
22:27jannauI've tagged asahi-6.12.9-1 not much interesting compared to 6.12.8-2. fix for SError on boot for t602x and a small dcp audio fix for some devices (still not enabled)
22:28pb17 has quit [Ping timeout: 480 seconds]
22:51pb17 has joined #asahi-dev
23:24amarioguy has joined #asahi-dev
23:54wziko has quit [Ping timeout: 480 seconds]
…