#
…

2022-09-03

00:06wills[m] has joined #asahi-dev
00:21Race has joined #asahi-dev
00:37e1eph4nt has quit [Ping timeout: 480 seconds]
00:44e1eph4nt has joined #asahi-dev
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi-dev
02:13CME has joined #asahi-dev
02:13CME_ has quit [Read error: Connection reset by peer]
02:14M4t64[m] has joined #asahi-dev
02:48Mary has quit [Quit: The Lounge - https://thelounge.chat]
02:48Mary has joined #asahi-dev
02:48uniq has joined #asahi-dev
03:10e1eph4nt has quit [Ping timeout: 480 seconds]
03:17uniq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:19e1eph4nt has joined #asahi-dev
04:05uniq has joined #asahi-dev
04:13uniq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:20derzahl has quit [Ping timeout: 480 seconds]
05:34e1eph4nt has quit [Ping timeout: 480 seconds]
05:45e1eph4nt has joined #asahi-dev
06:04e1eph4nt has quit [Ping timeout: 480 seconds]
06:12e1eph4nt has joined #asahi-dev
06:24jeffmiw has joined #asahi-dev
06:50jeffmiwpovik: thank you for the sensors output on j314. Is it a M1 Pro(j314s/T6000) or an M1 Max(j314c/T6001) ?
06:51jeffmiwquite different than the j313/T8103
06:52jeffmiwabout the dmesg flooding, I just pushed a cleaned up version on the same branch
07:07dmmcf has joined #asahi-dev
07:20e1eph4nt has quit [Ping timeout: 480 seconds]
07:24uniq has joined #asahi-dev
07:27povikjeffmiw: j314s
07:29mpsfor which branch are these patches
07:33mpsah, rereading backlog I see for 5.19.0-rc5
07:33mpsjeffmiw: could you post url for latest patch
07:38e1eph4nt has joined #asahi-dev
08:06jeffmiwmps: branch is this one https://github.com/jfbortolotti/linux/commits/hwmon_smc (also in the "yaks to shave" page), 3 last commits. Here is a single patch file: curl -F 'tpaste=<-' https://tpaste.us/
08:06jeffmiwoops, wrong copy/paste ... https://tpaste.us/5kx9
08:07jeffmiw has quit [Quit: Konversation terminated!]
08:08mpsjeffmiw, thanks
08:27dmmcf has quit [Ping timeout: 480 seconds]
08:47e1eph4nt has quit [Ping timeout: 480 seconds]
09:04oreols has joined #asahi-dev
09:05uniq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:10jluthra_ has quit [Remote host closed the connection]
09:11jluthra_ has joined #asahi-dev
09:12e1eph4nt has joined #asahi-dev
09:21e1eph4nt has quit [Ping timeout: 480 seconds]
09:29e1eph4nt has joined #asahi-dev
09:55uniq has joined #asahi-dev
09:59uniq has quit [Read error: Connection reset by peer]
10:38e1eph4nt has quit [Ping timeout: 480 seconds]
10:47e1eph4nt has joined #asahi-dev
10:50chadmed is now known as chadmed_
10:55e1eph4nt has quit [Ping timeout: 480 seconds]
11:03e1eph4nt has joined #asahi-dev
11:07mpsjeffmiw, local themedir = ".config/awesome/themes/default/theme.lua" | local themedir = ".config/awesome/themes/default/theme.lua"
11:07mpsuh, sorry
11:08mpsjeffmiw, povik, sensors output on mbp t8103 https://tpaste.us/QNxQ
11:09mpsand I got similar as povik on j314s
11:11e1eph4nt has quit [Ping timeout: 480 seconds]
11:13povik[DARTTracer@/arm-io/dart-aop] MMIO: W.4 TCR[15] = 0x20100 (BYPASS_DAPF=0, BYPASS_DART=1, TRANSLATE_ENABLE=0)
11:13povikdo we know the flag in the high bit?
11:16povikthis is on dart,t6000
11:16povikdart8110.py doesn't have there anything neither
11:18svenbypass offset iirc, doesn’t work on all darts though
11:19svenit replaces the bits at 32…40 with that
11:20e1eph4nt has joined #asahi-dev
11:21jannaudoes it work on all DARTs with bypass support?
11:21svenno, it doesn’t work on the dwc3 dart e.g.
11:22svenmaybe it only works in darts with bypass support and devices that can only do 32bit dma
11:43povikgod dammit apple
11:43povik# 'tPOA': 0x1,
11:44povikno, that's not what i want to paste
11:44povik reg = [Container:
11:44povik addr = 0x0000000093400000
11:44povik addr = 0x0000000093050000
11:44povik size = 0x0000000000004000, Container:
11:44povik size = 0x000000000006C000, Container:
11:44povik addr = 0x0000000293C00000
11:44povik size = 0x0000000000250000, Container:
11:44povik addr = 0x00000000922A8000
11:44povik size = 0x0000000000000024]
11:44povikthis is on /arm-io/aop on t6000
11:44poviknotice the 2 in reg[2]
11:50povikah, i thought they have the base there with the bus offset added but maybe that's not what's happening?
11:52tanty has quit []
11:55povikit *is* what's happening
11:55jannaulooks to me that way or is there valid MMIO at 0x493C00000?
11:55povikno there's not
11:55poviki thought the AP doesn't access the AOP's SRAM on t6000
11:55povikis the explanation
11:55povikbut no, it's the same as on t8103, including the modification of bootargs, but this mistake added in
11:56povikwhy though? did someone really write the driver again?
12:01tanty has joined #asahi-dev
12:07svenmaybe it’s two different branches :D
12:07svenor it just doesn’t care about the upper bits and someone messed up the ADT
12:17tanty has quit []
12:28e1eph4nt has quit [Ping timeout: 480 seconds]
12:35jeffmiw has joined #asahi-dev
12:37e1eph4nt has joined #asahi-dev
12:42jeffmiwmps: thanks for the dump, so mbp T8103/J293 and mba T8103/J313 seems to have a similar set of temp sensors if not the same. and T6000 based have a different one. nothing really unexpected.
12:42macknife has joined #asahi-dev
12:44kettenismaybe they or in the upper bits, which means it doesn't matter if they are already there
12:45e1eph4nt has quit [Ping timeout: 480 seconds]
12:49macknife has quit [Remote host closed the connection]
12:54e1eph4nt has joined #asahi-dev
13:03e1eph4nt has quit [Ping timeout: 480 seconds]
13:09tanty has joined #asahi-dev
13:10e1eph4nt has joined #asahi-dev
13:31amarioguy has quit [Remote host closed the connection]
14:17e1eph4nt has quit [Ping timeout: 480 seconds]
14:28e1eph4nt has joined #asahi-dev
14:35jannausigh, why does the same code (known differences accounted for) that works on the mac studio crashes dcp on the mac mini
14:39Race has quit [Ping timeout: 480 seconds]
14:43e1eph4nt has quit [Ping timeout: 480 seconds]
14:56oreols has quit [Quit: WeeChat 3.6]
15:00e1eph4nt has joined #asahi-dev
15:42bluetail2151409 has joined #asahi-dev
15:47bluetail215140 has quit [Ping timeout: 480 seconds]
15:56Stary has quit [Ping timeout: 480 seconds]
15:59derzahl has joined #asahi-dev
16:13e1eph4nt has quit [Ping timeout: 480 seconds]
16:14Stary has joined #asahi-dev
16:23e1eph4nt has joined #asahi-dev
17:41e1eph4nt has quit [Ping timeout: 480 seconds]
17:46jannausven: https://github.com/jannau/m1n1/tree/experiments_dcp_set_mode brings up the display on disp0 with m1n1's display_init() deactivated
17:48jannauworth a shot if that works on dispext. dcp requests a MMIO maaping for pmgr so it could enable the dptx clocks
17:48svenoh, interesting. I’m about to go for a run but will try that afterwards
17:48svenmy current guess was that I need some of the calls it does on the dptx epic endpoint and I got a bit distracted understanding how this epic mess works
17:48jannaustill has rough edges and crashes dcp if it is already initilized
17:49svensounds perfect! ;)
17:50jannausr_mapDeviceMemoryWithIndex() request the addr/length of the register
18:03Mary has quit [Quit: The Lounge - https://thelounge.chat]
18:10e1eph4nt has joined #asahi-dev
18:19Mary has joined #asahi-dev
19:13hothandyman[m] has joined #asahi-dev
19:14e1eph4nt has quit [Ping timeout: 480 seconds]
19:23e1eph4nt has joined #asahi-dev
19:31e1eph4nt has quit [Ping timeout: 480 seconds]
19:41e1eph4nt has joined #asahi-dev
19:49e1eph4nt has quit [Ping timeout: 480 seconds]
19:58e1eph4nt has joined #asahi-dev
20:07svendoesn’t seem to be enough :(
20:11jannauI just checked the regiser I was thinking of is pointing into pmp not pmgr and is not the one requested
20:12jannauanything interesting in the dcpext dcp ep communication?
20:13svener, wait. i messed up I think
20:13svenI ran my dcpext.py which obviously wasn't changed during the merge
20:14sven for mode in mgr.dcpav_prop['ColorElements']:
20:14svenKeyError: 'ColorElements'
20:14svenhrm. :/
20:15jannauI guess that means it can't communicate with the display
20:17svenI still think some magic call for AppleDCPDPTXRemotePort or AppleDCPDPTXController is missing
20:19svenhopefully i'll get my tracer in a good enough shape to figure out what macos does in detail
20:19sven+tomorrow
20:24jannauit was worth a try to see if dcp does something different when spoken to over dcp ep vs. iboot protocol
20:25svenyeah, absolutely
20:48rmkmarcan: I'll keep an eye out for your responses... I'm busy this weekend rewriting the boat's domestic 12V batteries, which means I'm having to turn off my 'net router while modifying the battery wiring.
21:05e1eph4nt has quit [Ping timeout: 480 seconds]
21:14e1eph4nt has joined #asahi-dev
21:22e1eph4nt has quit [Ping timeout: 480 seconds]
21:31e1eph4nt has joined #asahi-dev
22:04princesszoey has quit [Quit: The Lounge - https://thelounge.chat]
22:05princesszoey has joined #asahi-dev
22:40e1eph4nt has quit [Ping timeout: 480 seconds]
22:42nsklaus_ has quit [Read error: Connection reset by peer]
22:43nsklaus has joined #asahi-dev
22:45jeffmiw has quit [Remote host closed the connection]
22:46jeffmiw has joined #asahi-dev
22:50jeffmiw has quit [Remote host closed the connection]
22:50jeffmiw has joined #asahi-dev
23:07e1eph4nt has joined #asahi-dev
23:09jeffmiw has quit [Ping timeout: 480 seconds]
23:15e1eph4nt has quit [Ping timeout: 480 seconds]
23:26e1eph4nt has joined #asahi-dev
23:29Race has joined #asahi-dev
23:44uniq has joined #asahi-dev
…