#
#asahi-dev · 2026-04-03 13:54
tryhard[m]yep, thanks.
#asahi-dev · 2026-04-03 13:52
chaos_princessno, the firmware runs on a dedicated cpu core in the SoC, we just want to talk to it and let it do it's thing
#asahi-dev · 2026-04-03 13:52
tryhard[m]i'm trying to make sure about something: we want to make the apple's firmware run on linux right? i mean we don't reimplement the firmware.
#asahi-dev · 2026-04-03 13:50
tryhard[m]yeah they havent been very helpful
#asahi-dev · 2026-04-03 13:49
chaos_princessif you want something useful - https://patents.google.com/
#asahi-dev · 2026-04-03 13:49
chaos_princessi can assure you that llms are almost worthless for it
#asahi-dev · 2026-04-03 13:48
tryhard[m]sure i was just asking what is fast die
#asahi-dev · 2026-04-03 13:40
chadmedplease refrain from using AI in your contributions if for no other reason than potential copyright/legal issues
#asahi-dev · 2026-04-03 13:37
tryhard[m]so what i understand from is this is basically a bunch of info about how to manage power for different socs. there is also this fast die which AI suggests its basically thermal mitigation
#asahi-dev · 2026-04-03 13:11
tryhard[m]so what i should just copy this?
#asahi-dev · 2026-04-03 13:08
chadmedcould be a dictionary compiled by the firmware. apple love doing that
#asahi-dev · 2026-04-03 13:06
tryhard[m]so i'm having a bunch of text being written:... (full message at <https://matrix.org/oftc/media/v1/media/download/AUpgq1Ar0G6EXLTXLqOyPa0asVwF-pL1b5q_HhgEYKEUws64mCVyn7wj0lWzKQMkGHYWa1_rZVfji6PKZ-V9ABBCedm4zzNgAG1hdHJpeC5vcmcvRkZYUUlqS3FIY2lSYkpneFVXQWJxdW1j>)
#asahi-dev · 2026-04-03 12:49
noopwafeloh, that's a good point. so the atcphy changes could be upstreamed independently.
#asahi-dev · 2026-04-03 12:44
jannauI do not need the spmi patches for the 14-inch mbp. that still uses i2c cd321x
#asahi-dev · 2026-04-03 12:39
noopwafelpreliminary SPMI patches on top of mildsunrise's tree are at https://noopwafel.net/asahi/ (the usb-typec-tipd series) which work for tipd, but you also need https://noopwafel.net/asahi/unfinished_t8122_atcphy_bringup.txt
#asahi-dev · 2026-04-03 12:35
noopwafellarger changes
#asahi-dev · 2026-04-03 12:34
jannauok, I'll skip it for now then. Incompatible in just a few details or something requiring larger changes
#asahi-dev · 2026-04-03 12:30
noopwafelI do, but note that atcphy is not apple,t8103-atcphy compatible
#asahi-dev · 2026-04-03 12:24
jannaudo you have a devicetree with atc/dwc nodes
#asahi-dev · 2026-04-03 12:23
jannaunot just predicable but can be derived from the adt assuming the per port registers use the same pattern and/or are identical to t6020
#asahi-dev · 2026-04-03 12:20
noopwafeland if it's indeed 0x59e00c000 then the other phy reg values are predictable at least. sorry for the chaos, thank you for checking!
#asahi-dev · 2026-04-03 12:20
jannauthanks
#asahi-dev · 2026-04-03 12:18
noopwafel0x59e00c000 works fine, so I would use that..
#asahi-dev · 2026-04-03 12:17
jannaua M3 imac would be handy to test additional pcie ports
#asahi-dev · 2026-04-03 12:16
jannauI'll test as well but I'm currently still wrangling other bits
#asahi-dev · 2026-04-03 12:13
noopwafelmy local dts has 0x59e00c000 for phy0 commented out with a note saying 'nope' :) so building a tree to try on hw
#asahi-dev · 2026-04-03 12:12
jannauyes, refclk req/ack uses the per port phyX entries. so I think 0x59E00C000 is correct
#asahi-dev · 2026-04-03 12:06
noopwafelthere are some 0x59e00c000 accesses in there, maybe refclk req+ack?
#asahi-dev · 2026-04-03 12:03
noopwafelhttps://noopwafel.net/asahi/pcie_m3_trace_notes.txt (probably the notes can be ignored, I was still puzzling it out)
#asahi-dev · 2026-04-03 12:00
noopwafelthe trace is using 0x59e008000
#asahi-dev · 2026-04-03 11:55
jannauIt looks to me as if t602x has the same mmio layout
#asahi-dev · 2026-04-03 11:54
jannaufrom what I deduced from t602x it's two reg entries after portX reg entry
#asahi-dev · 2026-04-03 11:52
jannauno, that is the per port phy from the linux dt
#asahi-dev · 2026-04-03 11:52
noopwafel(or rather: it has been a while, so maybe I should look at it before spouting nonsense)
#asahi-dev · 2026-04-03 11:51
noopwafelis that the one which is offset by 0x8000 as if it's actually phy2? let me look
#asahi-dev · 2026-04-03 11:35
jannaunoopwafel: are you sure about the phy0 reg value for t8122's pcie node? I think it should be 0x59E00C000 based on t6020
#asahi-dev · 2026-04-03 11:15
tryhard[m]i have this for example: # pmpep.shmem@0003c000 (0x3c000..0x4bfff), and i wanna read from 0x3c000 and onward
#asahi-dev · 2026-04-03 11:15
tryhard[m]how can i read from a shared memory in the shell?
#asahi-dev · 2026-04-03 08:23
oliverNice
#asahi-dev · 2026-04-02 23:19
chadmed"apple stuff is so good at media handling" no support for ASS subs, non-dovi hdr is seemingly an afterthought
#asahi-dev · 2026-04-02 23:18
chadmedits actually more broken on macos because dcp scores bit depth above all else, so even at lower refresh rates it's picking some stupid 12-bit ycc mode
#asahi-dev · 2026-04-02 23:17
chadmedok lol ycc hdr is just broken on macos too fantastic
#asahi-dev · 2026-04-02 20:46
tryhard[m]interesting
#asahi-dev · 2026-04-02 20:44
chaos_princesssomething called io reporting, it is a common rtkit endpoint, and it does... something. all other drivers just ack whatever the rtkit device sends without doing anything and it seems to work fine
#asahi-dev · 2026-04-02 20:40
tryhard[m]do we know what is endpoint 4?
#asahi-dev · 2026-04-02 20:24
tryhard[m]thanks
#asahi-dev · 2026-04-02 20:24
tryhard[m]uh i looked at pmp.py
#asahi-dev · 2026-04-02 20:24
tryhard[m]maybe pmgr
#asahi-dev · 2026-04-02 20:23
chaos_princessare you sure about that? https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/hv/trace_pmgr.py#L30
#asahi-dev · 2026-04-02 20:23
tryhard[m]iomon

plus ›