#asahi-dev · 2025-02-14 06:09
nickchannext thing on the list is DART however it's a complex bit of hw completely different from m1#asahi-dev · 2025-02-14 05:29
nickchanDo need to figure out a way to do more complex hardware without questionable bin RE however#asahi-dev · 2025-02-14 05:26
nickchanI mean practically impossible#asahi-dev · 2025-02-14 05:26
nickchan> hard to have tainted stuff#asahi-dev · 2025-02-14 05:25
nickchanhttps://github.com/cyyself/m1-pmu-gen#asahi-dev · 2025-02-14 05:25
nickchanperformance counters stuff also comes from xnu source drops and then that one event generator#asahi-dev · 2025-02-14 05:24
nickchan(granted, dwi is so simple that the driver is like less than 10 lines of actual code rest are all boilerplates so it's hard to have tainted stuff in there unlike corellium which likes to overcomplicate things)#asahi-dev · 2025-02-14 05:22
nickchanas for my stuff there are no bin RE because apple has more hot stuff in their xnu source drop back then, and cpufreq is some sort of trying random things for 6 months. However some stuff like dwi backlight are made after looking at corellium code that looks quite likely to be bin RE'd#asahi-dev · 2025-02-14 05:18
nickchanBut it's probably not appriorate to do it in general on anything beyond things that are needed to have hypervisor going#asahi-dev · 2025-02-14 05:17
nickchanchaos_princess: hypervisor isn't working properly yet so I would assume *all* of them have binary RE#asahi-dev · 2025-02-14 00:29
dylantaylorHey, I have a M1 MacBook Pro 13-inch (j293ap) and was wondering how I could help with development or testing efforts. I'm kind of new to this sort of thing but saw that a bunch of microphone support just landed for other models. I was wondering if maybe that is something I could help out with.#asahi-dev · 2025-02-13 19:29
mildsunrise(also avoid pmgr, as it's the other thing i did binary RE on, but i don't think i made any patches to that)#asahi-dev · 2025-02-13 19:29
nicolas17yay hardware docs#asahi-dev · 2025-02-13 19:28
mildsunriseon my fork please avoid HPM / tps6598x. those were developed with binary RE, they are for personal consumption and should not be upstreamed. i published docs instead https://github.com/AsahiLinux/docs/wiki/HW:ACE3#asahi-dev · 2025-02-13 19:26
jannauthere are a couple minor differences in dcp and isp#asahi-dev · 2025-02-13 19:25
jannauto a large part yes but the firmwares are not 100% equal over different SoCs#asahi-dev · 2025-02-13 19:25
chaos_princessThere are per-soc differences in agx for sure, for the rest of the ones we support - iirc no. #asahi-dev · 2025-02-13 19:25
nicolas17like getting M2 to work with a newer DCP firmware version would get that particular chore mostly out of the way for M3/M4, unless the interface differs between SoCs#asahi-dev · 2025-02-13 19:23
nicolas17jannau: that work could be done on M1/M2 right?#asahi-dev · 2025-02-13 19:22
jannauanother major issue is that newer devices run newer firmware so drivers using firmware interfaces (dcp, isp, sio, agx, nvme, ...) have to be adapted#asahi-dev · 2025-02-13 19:20
chaos_princesshttps://github.com/yu-re-ka/m1n1, https://github.com/AsahiLinux/m1n1/pull/426, https://github.com/mildsunrise/m1n1/ - the ones i know of. for the last one, i'd avoid anything involving SPMI, might be a product of binary RE#asahi-dev · 2025-02-13 19:20
jannaum3 and m3 max are partially supported in m1n1/main#asahi-dev · 2025-02-13 19:18
chaos_princesskinda?#asahi-dev · 2025-02-13 19:18
nicolas17isn't that why there's more than one random dev branch in the first place? because they didn't know about each other and started from scratch?#asahi-dev · 2025-02-13 19:16
chaos_princessidk, i personally do not want people to run random dev branches unless they are determined enough to find them on their own#asahi-dev · 2025-02-13 19:16
chaos_princessthe _major_ issue is that the gpu got heavily redesigned, and the ISA has to be re-reversed again#asahi-dev · 2025-02-13 19:16
nicolas17do you have any links / github usernames handy, or should I start searching chat logs?#asahi-dev · 2025-02-13 19:15
chaos_princessrandom dev branches that can boot to somewhere between single-thread m1n1 and kernel. #asahi-dev · 2025-02-13 19:14
nicolas17next time someone asks about the status and wanting to help, I want to give them a link to a wiki page or something#asahi-dev · 2025-02-13 19:14
nicolas17ok, what *is* the status of M3/M4 port? I keep seeing people ask so it's time to write it down properly#asahi-dev · 2025-02-12 12:01
mazat this stage, it may be worth moving the FIQ handling to a per-SoC construct in the AIC driver.#asahi-dev · 2025-02-12 11:56
nickchan it's also not per-cluster...#asahi-dev · 2025-02-12 11:48
nickchanI mean that register exists but the bit layout is different#asahi-dev · 2025-02-12 11:48
nickchanturns out the uncore registers of A11 is different so I need to patch up the aic's driver's fiq handling again#asahi-dev · 2025-02-12 11:48
nickchanFun#asahi-dev · 2025-02-12 08:26
mazon the other hand, PMUv3 emulation and NV together form a sizeable joke.#asahi-dev · 2025-02-12 08:26
maznickchan: it should work just fine. guest sees a PMUv3, and the host just emulates the HW the best it can.#asahi-dev · 2025-02-12 02:12
nickchannevermind it's probably fine as long as NV host doesn't advertise ID_AA64DFR0_EL1_PMUVer_IMP_DEF to guest#asahi-dev · 2025-02-12 02:07
nickchanokay macOS is safe because the MIDR list doesn't have m3#asahi-dev · 2025-02-12 02:06
nickchanpossibly on macOS as well but not sure#asahi-dev · 2025-02-12 02:06
nickchanif my understanding is correct then PMUv3 emulation won't go very well when combined with NV#asahi-dev · 2025-02-11 16:50
mogeryit'll happen, eventually, hopefully, but nothing to test yet#asahi-dev · 2025-02-11 16:48
mogerybut my knowledge is limited#asahi-dev · 2025-02-11 16:48
mogeryAFAIK there is no WIP build so far unfortunately that goes past "some very very basic things work but you won't even dream of seeing a GUI"#asahi-dev · 2025-02-11 16:45
lord_breadcrumbj`ey: Right! However, in case there was anything that people wanted to run for the wip M3 build I'd love volunteer. (Sorry if this doesn't make sense, just thought this potentially might be a useful resource)#asahi-dev · 2025-02-11 16:11
j`eylord_breadcrumb: M3 isn't supported yet#asahi-dev · 2025-02-11 15:36
lord_breadcrumbHeyo, (so glad I finally got IRC working). I'm a college student taking an OS course this semester and I came across asahi looking for a distro on my mac. I don't see anything I can contribute to (im not qualified ;w;), however I'd love to volunteer my mac to run tests natively (if that is helpful). I have a M3 Pro chip :) <3#asahi-dev · 2025-02-11 11:25
nickchanstill not perfect however#asahi-dev · 2025-02-11 10:12
nickchana9.plist and after seems to be okay however#asahi-dev · 2025-02-11 10:12
nickchanon macOS /usr/share/kpep/a7.plist and /usr/share/kpep/a8.plist contains plenty of false information about pmu event affinities