#asahi-dev · 2026-05-30 20:38
tryhard[m]i was thinking for a sec in terms of like String but obviously...#asahi-dev · 2026-05-30 20:37
chaos_princessthe largest non-array type is u128, so, yes, you need an array#asahi-dev · 2026-05-30 20:37
tryhard[m]ok#asahi-dev · 2026-05-30 20:37
tryhard[m]but that's necessarily an array? its just a long byte sequence#asahi-dev · 2026-05-30 20:35
chaos_princesshttps://github.com/AsahiLinux/linux/blob/asahi-wip/drivers/soc/apple/pmp.rs#L306-L313#asahi-dev · 2026-05-30 20:35
tryhard[m]for property_read#asahi-dev · 2026-05-30 20:34
tryhard[m]need to know the length?#asahi-dev · 2026-05-30 20:34
chaos_princessKVec/slice of u8#asahi-dev · 2026-05-30 20:34
tryhard[m]as is#asahi-dev · 2026-05-30 20:34
chaos_princessdo you need to parse those, or just send over to fw as-is?#asahi-dev · 2026-05-30 20:33
tryhard[m]what type in rust for energy-model-dram-configs = 0800000006000000cc4c1a0099990000666607... i need to use?#asahi-dev · 2026-05-30 18:11
DavidHubbard[m]haha I see myself in irc now. TIL#asahi-dev · 2026-05-30 18:11
DavidHubbard[m]* m3 max t6031. irc#asahi-dev · 2026-05-30 18:10
DavidHubbard[m]yuka: new volunteer here. mbp 16" m3 max. irc preferred?#asahi-dev · 2026-05-30 13:37
yukaand, with the gpio changes, touchpad and wifi work at the same time#asahi-dev · 2026-05-30 13:36
yukaSD card reader works for me#asahi-dev · 2026-05-30 12:52
yukathx, rebasing#asahi-dev · 2026-05-30 12:52
jannaujust fixed together with a revert of the t6031 power-domain change#asahi-dev · 2026-05-30 12:52
yukaseems to be a typo#asahi-dev · 2026-05-30 12:52
yukapcie_dart_3 vs pcie0_dart_3#asahi-dev · 2026-05-30 12:51
yukacurrent asahi-wip has 'Reference to non-existent node or label "pcie0_dart_3"' t6030.dtsi#asahi-dev · 2026-05-30 12:50
jannauyuka: sdcard breaks on m3 pro#asahi-dev · 2026-05-30 12:46
jannauI tested all non-defined bits above 16 of HACR_EL2. none seems to trap AGTCNTRDIR or AHCR_EL2#asahi-dev · 2026-05-30 12:45
jannauno. I suspect apcie_sys_ge is a leftover from M3 Ultra Mac Pro that leaked to M3 Max#asahi-dev · 2026-05-30 12:44
nickchanHACR_EL2#asahi-dev · 2026-05-30 12:44
nickchanthere's also a few bits left in HACR_EL1#asahi-dev · 2026-05-30 12:38
chaos_princesspcie does not have support for multiple power domains, right?#asahi-dev · 2026-05-30 12:38
jannauI'll test if it can trap AGTCNTRDIR (and itself)#asahi-dev · 2026-05-30 12:36
nickchanas for register naming there's probably not enough bits in HACR_EL2, so Apple Hypervisor Configuration Register does make sense#asahi-dev · 2026-05-30 12:35
yukalet me check if the sd reader actually works now#asahi-dev · 2026-05-30 12:33
jannauyuka: sure, pushed to asahi-wip#asahi-dev · 2026-05-30 12:32
yukapushed wifi nodes to https://github.com/AsahiLinux/linux/pull/504/commits#asahi-dev · 2026-05-30 12:25
yukaI think pcie0_dart_X as used on t602x is more accurate, since all the darts belong to pcie0, not some other pcieX#asahi-dev · 2026-05-30 12:24
yukapcie0_dart vs pcie0_dart_0#asahi-dev · 2026-05-30 12:24
yukajannau: the dart nodes are called differently now on t6030 vs t6031, can we use the same ones?#asahi-dev · 2026-05-30 12:21
jannaubut yes, I agree it's not a good idea to set it during m3 hv setup#asahi-dev · 2026-05-30 12:20
jannauany idea what AHCR is? Apple Hypervisor Configuration Register#asahi-dev · 2026-05-30 12:15
jannaumacos does msr(AHCR_EL2, mrs(AHCR_EL2) | 0x1e)#asahi-dev · 2026-05-30 12:13
yukaAh, okay, nevermind. I didn't test them individually#asahi-dev · 2026-05-30 12:13
jannauthat's AGTCNTRDIR*#asahi-dev · 2026-05-30 12:13
nickchanyuka: you are talking about AGTCNTRDIR#asahi-dev · 2026-05-30 12:13
yukaso it does probably change EL1 behavior#asahi-dev · 2026-05-30 12:13
yukaNot setting it to 3 makes mac os not boot#asahi-dev · 2026-05-30 12:12
nickchanerm, I mean does not normally run in EL1#asahi-dev · 2026-05-30 12:11
nickchanEL2.#asahi-dev · 2026-05-30 12:11
nickchanIf it altered EL2 behavior, then that's irrelvant for macOS when it's not running in EL2. If it altered EL1 behavior, then macOS would get unexpected behavior since it does not normally run in#asahi-dev · 2026-05-30 12:11
nickchanI don't know whether initializing AHCR_EL2 to what macOS does with it on M3 is a good idea. it would alter EL1 and/or EL2 behavior neither of which make sense when running macOS as a guest under m1n1#asahi-dev · 2026-05-30 11:50
chadmedvcp commands work, had hdr enabled before which was blocking them from doing anything#asahi-dev · 2026-05-30 11:45
jannaut8122 but I think there are similar across all devices since they have their own mmio region#asahi-dev · 2026-05-30 11:44
yukacool. pcie device tree nodes are probably also similar to t6031?