ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
Revy has joined #asahi-dev
RevHelix has quit [Read error: Connection reset by peer]
erinc has joined #asahi-dev
erinc has quit [Ping timeout: 480 seconds]
riker77_ has joined #asahi-dev
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi-dev
phiologe has joined #asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
Mary has quit [Quit: The Lounge - https://thelounge.chat]
Mary has joined #asahi-dev
PhilippvK has joined #asahi-dev
phiologe has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
chengsun has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
<millenialhacker> Got some progress with ISP, here's my tracer: https://github.com/kellermanrivero/m1n1/commit/5d8c9c669ef097e541fd06649103408483a0a7bd
<millenialhacker> I need to clean it up to remove some unneeded changes, but at least some good progress tracing IPC channels
millenialhacker has quit []
millenialhacker has joined #asahi-dev
derzahl has quit [Ping timeout: 480 seconds]
derzahl has joined #asahi-dev
MarcinPajkowski[m] has joined #asahi-dev
millenialhacker_ has joined #asahi-dev
millenialhacker_ has quit [Remote host closed the connection]
jluthra has quit [Remote host closed the connection]
the_lanetly_052 has joined #asahi-dev
jluthra has joined #asahi-dev
<marcan> millenialhacker: nice! 0x23b7* is PMGR, you can ignore that entire range. xref it with the Linux devicetrees to see if it's something we already know about (clocks, pstates, NCOs, or similar), or this dump: https://mrcn.st/p/nHU2S1Wt
<marcan> Apple have this bad habit of having specific device drivers poke PMGR registers directly because they're too lazy to design abstractions properly
<marcan> in particular,
<marcan> #102 ISP_CPU_CORE0 id: 108 psreg: 7: 1 flags: Cd unk1_0: 0 unk1_1: 0 ctl_reg: 1:0x2c unk3: 0 0 0 0 @ 0x23b704008 = 0x0f000300
<marcan> #103 ISP_CPU_CORE1 id: 109 psreg: 7: 2 flags: Cd unk1_0: 0 unk1_1: 0 ctl_reg: 1:0x2d unk3: 0 0 0 0 @ 0x23b704010 = 0x0f000300
<marcan> those two I see you ran into already
<marcan> and some of your "noisy" ones are random PMGR devices getting en/disabled, e.g.
<marcan> # 94 GFX id: 99 psreg: 5:31 flags:a C g unk1_0: 0 unk1_1: 0 ctl_reg: 1:0x29 unk3: 8 0 0 1 @ 0x23b7003f8 = 0x0f002300
<marcan> the state report addresses too, etc
<marcan> it looks like the 4xxx range might be ISP-specific and might have some other stuff which you care about
<marcan> but likely everything outside of that you don't
<marcan> also these might be relevant:
<marcan> # 24 ISPSENS0 id: 25 psreg: 11:16 flags: C unk1_0: 0 unk1_1: 0 ctl_reg: 1:0x32 unk3: 0 0 0 0 @ 0x23b700180 = 0x04000244
<marcan> # 25 ISPSENS1 id: 26 psreg: 11:17 flags: C unk1_0: 0 unk1_1: 0 ctl_reg: 1:0x33 unk3: 0 0 0 0 @ 0x23b700188 = 0x04000244
<marcan> # 26 ISPSENS2 id: 27 psreg: 11:18 flags: C unk1_0: 0 unk1_1: 0 ctl_reg: 1:0x34 unk3: 0 0 0 0 @ 0x23b700190 = 0x04000244
<marcan> # 27 ISPSENS3 id: 28 psreg: 11:19 flags: C unk1_0: 0 unk1_1: 0 ctl_reg: 1:0x35 unk3: 0 0 0 0 @ 0x23b700198 = 0x04000244
<marcan> the bit defs for those PS regs are in the Linux driver (and m1n1)
millenialhacker_ has joined #asahi-dev
millenialhacker_ has quit [Remote host closed the connection]
bps has joined #asahi-dev
<millenialhacker> marcan: Thanks! This is super helpful. Yes, the 4XXX range is ISP specific, I documented here a few weeks ago: https://github.com/AsahiLinux/docs/wiki/HW:Camera
<millenialhacker> I need to polish my documentation, it more raw notes at this point
<millenialhacker> s/it/it's/g
<marcan> millenialhacker: the i2c stuff looks like the usual, I assume you've seen m1n1/hw/i2c.py
<marcan> also apparently lina pushed m1n1/hw/spmi.py last night which probably also overlaps
<jannau> and broke at least trace_dcp.py
<j`ey> useful if you update fw and have the reset counter thing
<sven> ohhh… great!
bps has quit [Ping timeout: 480 seconds]
derzahl has quit [Ping timeout: 480 seconds]
<jannau> sigh, I forgot that I skipped multi-die pmgr handling in hv.py
pilonsi_ has joined #asahi-dev
pilonsi has quit [Ping timeout: 480 seconds]
al3xtjames has quit [Read error: Connection reset by peer]
al3xtjames has joined #asahi-dev
bps has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
Gaspare has joined #asahi-dev
Gaspare has quit []
Gaspare has joined #asahi-dev
Gaspare has quit []
MajorBiscuit has quit [Quit: WeeChat 3.4]
MajorBiscuit has joined #asahi-dev
Gaspare has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
MajorBiscuit has quit [Ping timeout: 480 seconds]
bps has quit [Ping timeout: 480 seconds]
bps has joined #asahi-dev
nicolas17 has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
bps has quit [Ping timeout: 480 seconds]
the_lanetly_052 has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
MajorBiscuit has quit [Quit: WeeChat 3.4]
kov has joined #asahi-dev
<marcan> needs to properly read the ADT node to support t600x though
<marcan> that hardcoded addr will only work on t8103 PMUs
MajorBiscuit has joined #asahi-dev
AoV has joined #asahi-dev
lgarylmtdlt^ has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
touttti has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Quit: Konversation terminated!]
psykose has quit [Remote host closed the connection]
psykose has joined #asahi-dev
touttti has quit [Remote host closed the connection]
lgarylmtdlt^ has quit [Ping timeout: 480 seconds]
roxfan has quit [Ping timeout: 480 seconds]
lgarylmtdlt^ has joined #asahi-dev
lgarylmtdlt^ has quit [Ping timeout: 480 seconds]
boardwalk has quit [Quit: Ping timeout (120 seconds)]
boardwalk has joined #asahi-dev