#asahi-dev · 2025-01-11 08:04
nickchanokay let's try update mapfile.py#asahi-dev · 2025-01-11 08:02
nickchangen_driver.py works however#asahi-dev · 2025-01-11 08:02
nickchanhttps://github.com/cyyself/m1-pmu-gen#asahi-dev · 2025-01-11 08:02
nickchana13 and below is empty for some reason#asahi-dev · 2025-01-11 08:02
nickchanwhen i try to generate perf patches with gen_perf_patch.py, only a14 and above worked#asahi-dev · 2025-01-11 07:10
nickchanI could use the platform_device's data#asahi-dev · 2025-01-11 07:07
nickchanalternatively somewhere to store a pointer to the affinity table for the pmu#asahi-dev · 2025-01-11 06:55
nickchanother than trying to comparing the pmu name string#asahi-dev · 2025-01-11 06:38
nickchanproblem is I need somewhere to store the type of the pmu#asahi-dev · 2025-01-11 06:35
nickchantrying to see how to refractor m1_pmu_get_event_idx()#asahi-dev · 2025-01-11 06:19
nickchanwhatever definitely need per-implementation tables now#asahi-dev · 2025-01-11 06:18
nickchannevermind i messed something up the definitions are very different#asahi-dev · 2025-01-11 06:13
nickchanhowever some affinities are different#asahi-dev · 2025-01-11 06:13
nickchanthere's some events on m1 that's not on a7 (expected)#asahi-dev · 2025-01-11 06:12
nickchanUgh#asahi-dev · 2025-01-11 06:10
nickchani should generate A7 definitions first and see how different it is from m1#asahi-dev · 2025-01-11 06:10
nickchanno#asahi-dev · 2025-01-11 06:07
nickchanokay i don't really know what I am doing but i am going to add a11 pmu into the dts and see whatever happens#asahi-dev · 2025-01-11 05:49
nickchanamazing macOS has pmu definitions for Apple A7#asahi-dev · 2025-01-11 05:37
nickchanonly l1 and l2 listed#asahi-dev · 2025-01-11 05:37
nickchanany particularly reason why system level cache is not listed in dts file for M1?#asahi-dev · 2025-01-10 11:15
nickchandevice tree perspective#asahi-dev · 2025-01-10 11:15
nickchanyour v2 is already quite different from the device tree but it still had some problems#asahi-dev · 2025-01-10 11:15
nickchanchaos_princess: display mipi#asahi-dev · 2025-01-10 11:14
nickchanchaos_princess: am thinking of giving iPhone X backlight another spin do you have an updated version of your patch series in a branch somewhere? The one in Asahi Linux is now quite a bit outdated.#asahi-dev · 2024-12-31 14:35
nickchanand there's and a TZ2 that are used by SPTM on chips that have it#asahi-dev · 2024-12-31 14:35
nickchanokay wait I think tz1 did got repurposed for some SEP related stuff on new chips now#asahi-dev · 2024-12-31 14:33
nickchanthere was a tz1 for EL3 monitor mem but that doesn't exist on newer chips#asahi-dev · 2024-12-31 14:33
nickchantz0#asahi-dev · 2024-12-31 14:32
nickchanon newer chips apple's "trustzone" does refer to SEP's DRAM memory only#asahi-dev · 2024-12-16 17:09
nickchanit's not the same as s3c2410 at least#asahi-dev · 2024-12-16 17:07
nickchankettenis: those are actual samsung socs, but samsung like making the uart subtly incompatible whenever they can#asahi-dev · 2024-12-16 17:07
nickchan> Samsung-like#asahi-dev · 2024-12-16 16:18
nickchanapple,s5l-uart is probably a mistake but I will see what can be done#asahi-dev · 2024-12-16 16:18
nickchanprobably should look at s5l84xx series eventually#asahi-dev · 2024-12-16 16:17
nickchannot of immediate concern though#asahi-dev · 2024-12-16 16:17
nickchansome bits in ucon are different again#asahi-dev · 2024-12-16 16:16
nickchan*sigh* it seems that the s5l uart driver still have incompatibilies with even more archaic s5l variants like s5l8730x#asahi-dev · 2024-12-02 09:40
nickchanwhere cntpct_el0 goes like 2045 -> 2047 -> 2049, oops, ero never reached and hangs#asahi-dev · 2024-12-02 09:37
nickchanand it keeps happening on apple a8#asahi-dev · 2024-12-02 09:36
nickchanif the cpu is too slow, I think this will hang: https://github.com/AsahiLinux/m1n1/blob/dbafd058cfb0fae3b4ec211260e222d8a3733284/proxyclient/experiments/cpu_pstate_latencies.py#L59#asahi-dev · 2024-12-01 07:08
nickchanafter enabling ps_spmi cpufreq is working on a11#asahi-dev · 2024-11-30 04:30
nickchannot sure if it could cause wedging in this way#asahi-dev · 2024-11-30 04:30
nickchannotably 'ppt-thrtl' is in the apple device tree but i did not do anything about it#asahi-dev · 2024-11-30 04:25
nickchanonly the normal states#asahi-dev · 2024-11-30 04:25
nickchanand I made sure I did not use any boost states as configured by iBoot#asahi-dev · 2024-11-30 04:11
nickchandefault governor is set to userspace to make sure the kernel never does anything on its own#asahi-dev · 2024-11-30 04:11
nickchanwouldn't work = APPLE_DVFS_CMD_BUSY never clears#asahi-dev · 2024-11-30 04:10
nickchanmy cpufreq status on A11 (T8015): state switch in m1n1 works perfectly for pcore and ecore using the m1 logic, however, once booted into linux the same logic wouldn't work anymore, whether from linux or from an external debugger#asahi-dev · 2024-11-08 09:20
nickchan(and then there's a new register that became HID11_EL1)