#
…

2025-01-11

00:05ddxtanx has joined #asahi-dev
00:06chadmed has quit [Quit: Konversation terminated!]
00:06chadmed has joined #asahi-dev
00:07sand4rt has quit [Quit: WeeChat 4.5.1]
00:08sand4rt has joined #asahi-dev
00:34wziko has quit [Ping timeout: 480 seconds]
00:46wziko has joined #asahi-dev
00:51sand4rt has quit [Ping timeout: 480 seconds]
00:54wziko has quit [Ping timeout: 480 seconds]
01:02siddhartha has quit [Ping timeout: 480 seconds]
01:34ddxtanx has quit [Remote host closed the connection]
01:35ddxtanx has joined #asahi-dev
01:44pb17 has quit [Ping timeout: 480 seconds]
01:56pb17 has joined #asahi-dev
03:26tobhe_ has joined #asahi-dev
03:30HitokiriKincho has joined #asahi-dev
03:32tobhe has quit [Ping timeout: 480 seconds]
03:56siddhartha has joined #asahi-dev
04:00pb17 has quit [Ping timeout: 480 seconds]
04:04siddhartha has quit [Ping timeout: 480 seconds]
04:11nora_ has joined #asahi-dev
04:13nora has quit [Ping timeout: 480 seconds]
04:19pb17 has joined #asahi-dev
04:30wziko has joined #asahi-dev
04:39wziko has quit [Ping timeout: 480 seconds]
04:51Larwive has joined #asahi-dev
05:10chadmed has quit [Quit: Konversation terminated!]
05:10chadmed has joined #asahi-dev
05:12desertedplanet has joined #asahi-dev
05:12desertedplanet has quit [Remote host closed the connection]
05:18JayBeeFOSS has quit [Remote host closed the connection]
05:20JayBeeFOSS has joined #asahi-dev
05:37nickchanany particularly reason why system level cache is not listed in dts file for M1?
05:37nickchanonly l1 and l2 listed
05:40pb17 has quit [Ping timeout: 480 seconds]
05:49nickchanamazing macOS has pmu definitions for Apple A7
05:54nicolas17nickchan: btw if you ever feel like writing docs, I think more technical hardware info is totally in scope for theapplewiki ;)
05:59pb17 has joined #asahi-dev
06:06HitokiriKincho has quit [Quit: Leaving...]
06:07nickchanokay i don't really know what I am doing but i am going to add a11 pmu into the dts and see whatever happens
06:10nickchani should generate A7 definitions first and see how different it is from m1
06:13nickchanthere's some events on m1 that's not on a7 (expected)
06:13nickchanhowever some affinities are different
06:18nickchannevermind i messed something up the definitions are very different
06:19nickchanwhatever definitely need per-implementation tables now
06:35nickchantrying to see how to refractor m1_pmu_get_event_idx()
06:38nickchanproblem is I need somewhere to store the type of the pmu
06:55nickchanother than trying to comparing the pmu name string
07:07nickchanalternatively somewhere to store a pointer to the affinity table for the pmu
07:10nickchanI could use the platform_device's data
07:23checkfoc_us9 has quit []
07:24checkfoc_us9 has joined #asahi-dev
07:24checkfoc_us9 has quit []
07:25checkfoc_us9 has joined #asahi-dev
07:57Larwive has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
08:01pb17 has quit [Ping timeout: 480 seconds]
08:02nickchanwhen i try to generate perf patches with gen_perf_patch.py, only a14 and above worked
08:02nickchana13 and below is empty for some reason
08:02nickchangen_driver.py works however
08:04nickchanokay let's try update mapfile.py
08:09nickchanokay that worked
08:15yuyichao_ has quit [Ping timeout: 480 seconds]
08:15pb17 has joined #asahi-dev
08:20Larwive has joined #asahi-dev
08:30nickchannow I need a way to test the pmu
08:35darkapex has quit [Quit: WeeChat 3.8]
08:37darkapex has joined #asahi-dev
09:01Larwive has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
09:01chadmed has quit [Ping timeout: 480 seconds]
09:05nickchanokay no I can't stash the table in the driver data of cpupmu->plat_device
09:06Larwive has joined #asahi-dev
09:09nickchannevermind I will just redefine m1_pmu_get_event_idx for every table
09:16nickchanokay got perf stat to work
09:56lena6 has joined #asahi-dev
09:57Larwive has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
09:59pb17 has quit [Ping timeout: 480 seconds]
10:00Larwive has joined #asahi-dev
10:09roxfan2 has joined #asahi-dev
10:11pb17 has joined #asahi-dev
10:11nickchana9 has 8 counters only
10:11nickchana10 already has 10 counters
10:12Larwive has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
10:12Larwive has joined #asahi-dev
10:13Larwive has quit []
10:14Larwive has joined #asahi-dev
10:14Larwive has quit []
10:15roxfan has quit [Ping timeout: 480 seconds]
10:24nickchana7 still has 8 counters
10:24nickchanit can report instructions and cycles so it works
10:24gladiac has quit [Read error: Connection reset by peer]
10:26gladiac has joined #asahi-dev
10:29dcavalca8569 has quit []
10:38siddhartha has joined #asahi-dev
10:40dcavalca8569 has joined #asahi-dev
11:12chrisl has joined #asahi-dev
11:14mattia013 has joined #asahi-dev
11:20chrisl has quit [Ping timeout: 480 seconds]
11:28nickchanin summary:
11:28nickchan- overall pmu logic is same all the way back to a7
11:29nickchan- a7 - a9 has 8 counters, a10-m1 has 10 counters
11:29nickchan- the available events and affinities are different
11:37wziko has joined #asahi-dev
11:45pb17 has quit [Ping timeout: 480 seconds]
11:45wziko has quit [Ping timeout: 480 seconds]
11:47siddhartha has quit [Ping timeout: 480 seconds]
11:54siddhartha has joined #asahi-dev
11:56nickchanand I probably should check out what happens with A32 EL0...
11:58pbsds is now known as Guest5606
11:58pbsds has joined #asahi-dev
12:00sand4rt has joined #asahi-dev
12:02Guest5606 has quit [Ping timeout: 480 seconds]
12:02chadmed has joined #asahi-dev
12:05pb17 has joined #asahi-dev
12:07mattia013 has quit [Quit: Konversation terminated!]
12:16pbsds has quit [Ping timeout: 480 seconds]
12:16mattia013 has joined #asahi-dev
12:16mattia013 has quit []
12:49nickchanadded A32 EL0 counting support in m1_pmu_configure_counter() but numbers on A7 still seems off (A8-A9) seems normal
13:11Larwive has joined #asahi-dev
13:14Larwive has quit []
13:15mattia013 has joined #asahi-dev
13:16mattia013 has quit []
13:16mattia013 has joined #asahi-dev
13:17Larwive has joined #asahi-dev
13:20nickchanokay here's a problem it turns out that A32 and A64 instructions uses different pmu events
13:21nickchanand T32 instructions has another pmu event
13:21nickchanso there's no all instruction hw event
13:42wziko has joined #asahi-dev
13:45pb17 has quit [Ping timeout: 480 seconds]
13:45siddhartha has quit [Ping timeout: 480 seconds]
14:05pb17 has joined #asahi-dev
14:08siddhartha has joined #asahi-dev
14:13sand4rt has quit [Ping timeout: 480 seconds]
14:20wziko has quit [Ping timeout: 480 seconds]
14:26siddhartha has quit [Ping timeout: 480 seconds]
14:33wziko has joined #asahi-dev
14:41wziko has quit [Ping timeout: 480 seconds]
14:50mattia013 has quit [Quit: Konversation terminated!]
14:50mattia013 has joined #asahi-dev
14:51mattia013 has quit []
14:53mattia013 has joined #asahi-dev
14:53sand4rt has joined #asahi-dev
14:53al3xtjames has joined #asahi-dev
14:54sand4rt has quit []
14:55sand4rt has joined #asahi-dev
14:56Larwive has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
15:00mattia013 has quit [Quit: Konversation terminated!]
15:00mattia013 has joined #asahi-dev
15:06wziko has joined #asahi-dev
15:37Larwive has joined #asahi-dev
15:38Larwive has quit []
15:41Larwive has joined #asahi-dev
15:44wziko has quit [Ping timeout: 480 seconds]
15:45Larwive has quit []
15:46Larwive has joined #asahi-dev
15:54wziko has joined #asahi-dev
15:56Larwive has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
15:56Larwive has joined #asahi-dev
16:00siddhartha has joined #asahi-dev
16:03wziko has quit [Ping timeout: 480 seconds]
16:09siddhartha has quit [Ping timeout: 480 seconds]
16:10pb17 has quit [Ping timeout: 480 seconds]
16:21Larwive has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
16:22Larwive has joined #asahi-dev
16:24siddhartha has joined #asahi-dev
16:28Larwive has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
16:29Larwive has joined #asahi-dev
16:30pb17 has joined #asahi-dev
16:33Larwive has quit []
16:34Larwive has joined #asahi-dev
16:38siddhartha has quit [Ping timeout: 480 seconds]
16:40Larwive has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
17:00patrickm has quit [Ping timeout: 480 seconds]
17:03siddhartha has joined #asahi-dev
17:07sand4rt has quit [Quit: WeeChat 4.5.1]
17:09siddhartha has quit [Remote host closed the connection]
17:22sand4rt has joined #asahi-dev
17:23sand4rt has quit []
18:15ddxtanx has quit [Quit: Konversation terminated!]
18:15ddxtanx has joined #asahi-dev
18:22pb17 has quit [Ping timeout: 480 seconds]
18:29Larwive has joined #asahi-dev
18:31sand4rt has joined #asahi-dev
18:34Larwive has quit []
18:35pb17 has joined #asahi-dev
18:42sand4rt has quit [Quit: WeeChat 4.5.1]
18:48darkapex has quit [Remote host closed the connection]
18:48darkapex has joined #asahi-dev
18:52Lyude has quit [Quit: Bouncer restarting]
18:53Lyude has joined #asahi-dev
18:56sand4rt has joined #asahi-dev
18:56sand4rt has quit []
18:59sand4rt has joined #asahi-dev
19:00sand4rt has quit []
19:01nickchan appearently
19:02nickchana7-a10's CPU PMU does not have the interrupt fired via FIQ
19:02nickchanand uses PMCR0_IMODE_AIC instead of PMCR0_IMODE_FIQ
19:05sand4rt has joined #asahi-dev
19:06Larwive has joined #asahi-dev
19:22nyx_o has quit [Ping timeout: 480 seconds]
19:25sand4rt has quit [Quit: WeeChat 4.5.1]
19:25sand4rt has joined #asahi-dev
19:26sand4rt has quit []
19:26sand4rt has joined #asahi-dev
19:41sand4rt has quit [Quit: WeeChat 4.5.1]
19:41sand4rt has joined #asahi-dev
19:42sand4rt has quit []
19:42nyx_o has joined #asahi-dev
19:42sand4rt has joined #asahi-dev
19:44sand4rt has quit []
19:45sand4rt has joined #asahi-dev
19:45sand4rt has quit []
19:51pb17 has quit [Ping timeout: 480 seconds]
19:55sand4rt has joined #asahi-dev
19:58nyx_o_ has joined #asahi-dev
20:00nyx_o has quit [Ping timeout: 480 seconds]
20:03sand4rt has quit [Quit: WeeChat 4.5.1]
20:04sand4rt has joined #asahi-dev
20:05pb17 has joined #asahi-dev
20:07sand4rt has quit []
20:07sand4rt has joined #asahi-dev
20:21sand4rt has quit [Quit: WeeChat 4.5.1]
20:36sand4rt has joined #asahi-dev
21:32wziko has joined #asahi-dev
21:35nicolas17 has quit [Ping timeout: 480 seconds]
21:45chadmed_ has joined #asahi-dev
21:46pb17 has quit [Ping timeout: 480 seconds]
21:52chadmed has quit [Ping timeout: 480 seconds]
22:03sand4rt has quit [Ping timeout: 480 seconds]
22:07pb17 has joined #asahi-dev
22:17Larwive has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
23:07wziko has quit [Ping timeout: 480 seconds]
23:19wziko has joined #asahi-dev
23:27wziko has quit [Ping timeout: 480 seconds]
23:36pb17 has quit [Ping timeout: 480 seconds]
23:51lena6 has quit [Quit: Lost terminal]
…