#
#asahi-dev · 2023-04-29 07:51
jannauiirc we tried to power it up and access its mmio space but it was completely fused off
#asahi-dev · 2023-04-29 07:49
eiln_m2 max shoulve had ane1 by trends, but it only has ane0
#asahi-dev · 2023-04-29 07:49
eiln_jannau: the nodes are in driver strings & iboot loads the firmware. some last minute mishap ig
#asahi-dev · 2023-04-29 07:42
jannaunot sure why but apple seems to have decided not use ane1
#asahi-dev · 2023-04-29 07:41
jannauno, they're not in the live ADT as read from the device. We wondered about that during M1 Max bringup and marcan asked on twitter if anyone had M1 Max with ane1 but nobody did
#asahi-dev · 2023-04-29 07:39
eiln_jannau: received, thank you!
#asahi-dev · 2023-04-29 07:38
jannaueiln_: http://www.jannau.net/asahi/2023-04-29_t600x_aneX.log
#asahi-dev · 2023-04-29 07:38
eiln_nvm it's fine, just need data on ane2 for now
#asahi-dev · 2023-04-29 07:36
eiln_jannau: really? it should be in the dt
#asahi-dev · 2023-04-29 07:36
eiln_jannau: start/shutdown is enough for now
#asahi-dev · 2023-04-29 07:34
jannau+is
#asahi-dev · 2023-04-29 07:34
jannauane1 / ane3 do not exist
#asahi-dev · 2023-04-29 07:34
jannaueiln_: do you want me do anything with ane0 / ane2 in macos or start + shutdown enough
#asahi-dev · 2023-04-29 07:12
marcandottedmag: ack, let me know if you need anything! there's a bunch of discussion on the linked fdo bug :)
#asahi-dev · 2023-04-29 06:48
dottedmagmarcan: JFYI I'll take XKB change
#asahi-dev · 2023-04-29 06:31
eiln_dottedmag: I had no idea, ty
#asahi-dev · 2023-04-29 06:27
dottedmagYou can clone it as git repo and push changes back
#asahi-dev · 2023-04-29 06:27
dottedmageiln_: BTW, GH wiki is also version-controlled
#asahi-dev · 2023-04-29 06:09
eilnstarted the HW:ANE page
#asahi-dev · 2023-04-29 06:09
eilnfinally getting to documentation
#asahi-dev · 2023-04-29 04:24
chadmedhas anyone apart from myself tested the EAS patches ~recently?
#asahi-dev · 2023-04-28 17:33
jannaufixed, got the reply to the max lane count wrong
#asahi-dev · 2023-04-28 17:13
povikhttps://tpaste.us/PEQ1
#asahi-dev · 2023-04-28 17:13
povikwrote up what we know in a patch:
#asahi-dev · 2023-04-28 16:52
jannauyes, m1 mac mini
#asahi-dev · 2023-04-28 16:52
jannauand there is still the sub header version increased to 4 and possibly 2 additional bytes of padding in the epic cmd header
#asahi-dev · 2023-04-28 16:51
svenis that on a m1?
#asahi-dev · 2023-04-28 16:50
jannauhmm, those are still coming through and the identifiers should be correct but I guess some message could have changed as well
#asahi-dev · 2023-04-28 16:38
svenI didn’t know about the dcp->ap calls then iirc
#asahi-dev · 2023-04-28 16:38
svenyeah, that was when the dptx dance was incorrect
#asahi-dev · 2023-04-28 16:26
jannausven: do I remember correctly that you got at some point TimingElements with empty ColorModes for dcpext? do you remember what caused that? I see that currently on 13.3
#asahi-dev · 2023-04-28 16:19
svenprobably won’t do that because I’d go crazy fighting against the atcphy and typec mess for two weeks to get dcpext working ;)
#asahi-dev · 2023-04-28 16:18
svenmarcan: well, I technically have about two weeks of overtime that I can take as vacation now :D
#asahi-dev · 2023-04-28 16:10
mkurzmarcan: you say "...release in O(1-2 weeks) for M2 Pro/Max only...", are there also plans to release the gpu/mesa fixes for m1 pro/max as well soon? Thanks!
#asahi-dev · 2023-04-28 16:00
povikjannau: reading further in drivers/base/core.c and power/runtime.c that ACTIVE flag indeed looks like what we want
#asahi-dev · 2023-04-28 15:45
gordonfreemanAm I missing something?
#asahi-dev · 2023-04-28 15:45
gordonfreemanthis prevents the debug exception generation but also the kernel panics after the first handling.
#asahi-dev · 2023-04-28 15:45
gordonfreemanwhat I currently do in handle_step C version is: u64 mdscr_el1 = BIT(15); // MDE=1 msr(MDSCR_EL1, mdscr_el1); return true;
#asahi-dev · 2023-04-28 15:43
gordonfreemanI'm actually moving the py code to c verbatim. The issue in the python comment in handle_step happens in C, too: "not sure why MDSCR_EL1.SS needs to be disabled here but otherwise if also SPSR.SS=0 no instruction will be executed after eret and instead a debug exception is generated again"
#asahi-dev · 2023-04-28 15:42
gordonfreemanhello! I'm trying to move the single step handler of m1n1 from py to c. single stepping is ok, but I couldn't handle the SSTEP_LOWER exception which comes after stepping.
#asahi-dev · 2023-04-28 15:37
marcanI mean I guess it could be eDRAM but I don't know if they do that
#asahi-dev · 2023-04-28 15:37
marcanChaosPrincess: eh, it's 1MB
#asahi-dev · 2023-04-28 15:37
marcan_jannau_: doesn't make much of a difference though
#asahi-dev · 2023-04-28 15:36
ChaosPrincesss=static sounds expensive
#asahi-dev · 2023-04-28 15:36
marcanboth I guess?
#asahi-dev · 2023-04-28 15:36
ChaosPrincesswhat does sram mean in this context? s=static or s=shared?
#asahi-dev · 2023-04-28 15:36
_jannau_it would make sense allocate from sram on linux as well so that the behavior between us booting with chainload/HV and user install with u-boot is consistent
#asahi-dev · 2023-04-28 15:35
marcan(need to fix the size field though, just that)
#asahi-dev · 2023-04-28 15:35
kettenisah, ok
#asahi-dev · 2023-04-28 15:34
marcansince it never chainloads anything else and will inherit that from u-boot if chainloaded

plus ›