2021-04-26
00:29pthariensflame has joined #asahi
00:30pthariensflame has quit [Client Quit]
00:30pthariensflame has joined #asahi
00:30pthariensflame has quit [Client Quit]
00:37raster has quit [Quit: Gettin' stinky!]
02:01inglor has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
02:04tomtastic has quit [Ping timeout: 260 seconds]
02:10tomtastic has joined #asahi
02:13inglor has joined #asahi
02:49phiologe has quit [Ping timeout: 250 seconds]
02:50phiologe has joined #asahi
02:52brett_ has quit [Quit: Connection closed for inactivity]
03:08odmir has quit [Remote host closed the connection]
03:15marvin24 has quit [Ping timeout: 245 seconds]
03:16marvin24 has joined #asahi
05:04Jaehyuk[m]Is it possible to execute AMX instruction on current version of asahi linux m1?
05:05Jaehyuk[m]cause I continuousl enocunters illegal instruction fault even though I start and end with the special instruction of amx
05:10Jaehyuk[m]Also, Is there any reference apple device tree blob of M1 mac mini?
05:14Jaehyuk[m]I'd like to explore what is in the ADT but doesn't know how to retrieve it.
05:23jannauAMX is disabled by default. it would need OS support to save and restore register contents on task switch. support has not been written yet
05:26jannaunot sure there is a reference ADT but the ADT can be retrieved from m1ni with proxyclient. see how adt_base and adt_size are used in chainload.py
05:26pipcet[m]I don't think a reference ADT is a good idea. Legally, it's probably copyrighted. It also contains private information like WiFi keys.
05:31VinDuv has joined #asahi
05:31Jaehyuk[m]jannau: Aha, I see, I guess that AMX could be supported by changing some bits in the MSR registers but would you happen to know which register controls the AMX?
05:32Jaehyuk[m]I cannot find them on the documents describing apple registers
05:32Jaehyuk[m]pipcet: Ah, I didn't know that it contains private information. Thanks for letting me know that
05:34svensomeone should write a dump_dt.py for proxyclient. ba.devtree contains the virtual base addr for the ADT
05:35pipcet[m]f.write(readmem(Int64ul.parse(readmem(get_bootargs() + 12 * 8, 8)) - Int64ul.parse(readmem(get_bootargs() + 1 * 8, 8)) + Int64ul.parse(readmem(get_bootargs() + 2 * 8, 8)), Int32ul.parse(readmem(get_bootargs() + 13 * 8, 4))))
05:35svenJaehyuk[m]: open("dt.bin", "wb").write(readmem(ba.devtree - ba.virt_base + ba.phys_base, ba.devtree_size))
05:36Jaehyuk[m]I appreciate it!
05:37Jaehyuk[m]Ah that's good to know thanks!
05:42Jaehyuk[m]@sven haha thaks a lot. BTW, I heard that M1 supports Intel's memory oredring and that can be enabled by chaning some bits in the rosetta. Would you happen to know which register manage it also?
05:45Jaehyuk[m]Ah I just found it on the wiki doc
05:45Jaehyuk[m]SYS_APL_HID9_EL1
05:45Jaehyuk[m]thanks :D!
06:25VinDuv has quit [Quit: Leaving.]
07:14jeffmiw_ has joined #asahi
07:17vimal has joined #asahi
07:18jeffmiw_ has quit [Ping timeout: 240 seconds]
07:25austriancoder has joined #asahi
07:25austriancoder has quit [Changing host]
07:29vimal has quit [Quit: Leaving]
07:33vimal has joined #asahi
07:35vimal has quit [Remote host closed the connection]
08:00raster has joined #asahi
08:01vimal has joined #asahi
08:10maknho_ has quit [Ping timeout: 252 seconds]
08:12maknho_ has joined #asahi
08:24doof has quit [Ping timeout: 258 seconds]
08:24austriancoder has quit [Ping timeout: 245 seconds]
08:24arnd has quit [Read error: Connection reset by peer]
08:24WhyNotHugo has quit [Read error: Connection reset by peer]
08:24Guest45273 has quit [Read error: Connection reset by peer]
08:29WhyNotHugo has joined #asahi
08:29austriancoder has joined #asahi
08:30doof has joined #asahi
08:30arnd has joined #asahi
08:30Guest45273 has joined #asahi
08:36Calchan has quit [Quit: ZNC - http://znc.in]
08:39klaus has joined #asahi
08:39Calchan has joined #asahi
08:55jryans has quit [Quit: authenticating]
08:55jryans has joined #asahi
09:00devinvs[m] has quit [Quit: Idle for 30+ days]
09:26riker77 has quit [Ping timeout: 240 seconds]
09:31riker77 has joined #asahi
09:36jeffmiw has quit [Ping timeout: 260 seconds]
09:37jeffmiw has joined #asahi
10:03riker77 has quit [Ping timeout: 240 seconds]
10:09riker77 has joined #asahi
10:19ephe_meral1 has joined #asahi
11:42jeffmiw_ has joined #asahi
11:47jeffmiw_ has quit [Ping timeout: 268 seconds]
12:40choozy has joined #asahi
14:40marcanpipcet[m]: I think the information in the ADT is largely not copyrightable, as it is a set of facts
14:40marcanI am not worried about people sharing ADTs on IRC and such (though I wouldn't commit them to an actual source tree)
15:09odmir has joined #asahi
15:14odmir has quit [Ping timeout: 268 seconds]
15:32Guest45273 has quit []
15:33Guest45273 has joined #asahi
15:34Guest45273 has quit [Client Quit]
15:34rann has joined #asahi
15:35rotbot9k has joined #asahi
15:48odmir has joined #asahi
15:52odmir_ has joined #asahi
15:52odmir has quit [Read error: Connection reset by peer]
15:53odmir has joined #asahi
15:53odmir_ has quit [Read error: Connection reset by peer]
16:12jeffmiw has quit [Remote host closed the connection]
16:19choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
16:21jeffmiw has joined #asahi
16:26jeffmiw has quit [Remote host closed the connection]
16:55VinDuv has joined #asahi
16:56nemith has quit [Quit: WeeChat 2.9]
17:39jeffmiw has joined #asahi
17:44pipcet[m]kettenis: I think it might be a good idea to use t8103 (or a non-code name) if that's the only hardware we tested our driver on. We might be relying on unspec'd behavior that differs between those devices.
17:57jeffmiw has quit [Remote host closed the connection]
18:00choozy has joined #asahi
18:42maknho__ has joined #asahi
18:44maknho_ has quit [Ping timeout: 245 seconds]
18:46odmir_ has joined #asahi
18:48odmir_ has quit [Remote host closed the connection]
18:50odmir_ has joined #asahi
18:50odmir has quit [Ping timeout: 240 seconds]
18:50odmir_ has quit [Remote host closed the connection]
18:51odmir has joined #asahi
18:59KindTwo has joined #asahi
19:00KindOne has quit [Ping timeout: 240 seconds]
19:01KindTwo is now known as KindOne
19:29odmir has quit [Remote host closed the connection]
19:42jeffmiw has joined #asahi
19:46jeffmiw has quit [Ping timeout: 246 seconds]
19:58sickdelan has joined #asahi
20:00sickdelanIf I read this correctly, Torvalds just merged the M1 changes :-) https://lore.kernel.org/linux-arm-kernel/161946615297.4821.6463208046152364085.pr-tracker-bot@kernel.org/
20:00sickdelanhttps://lore.kernel.org/linux-arm-kernel/CAHk-=wgDQ23kEkVVhjwcVPkQCDUVmJJdhO_HtjaRRCv_mtZgag@mail.gmail.com/
20:00odmir has joined #asahi
20:06ephe_meral1 has quit [Ping timeout: 252 seconds]
20:13odmir has quit [Remote host closed the connection]
20:13odmir has joined #asahi
20:14KindOne has quit [Ping timeout: 260 seconds]
20:16KindOne has joined #asahi
20:22VinDuv has quit [Quit: Leaving.]
20:29sickdelan has quit [Quit: Leaving]
20:30jeffmiw has joined #asahi
21:40choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
21:58odmir has quit [Remote host closed the connection]
22:02odmir_ has joined #asahi
22:04klaus has quit [Ping timeout: 240 seconds]
22:16TheJollyRoger has quit [Remote host closed the connection]
22:17TheJollyRoger has joined #asahi
22:24mrkajetanp has joined #asahi
22:36pipcet[m]looks like iBoot doesn't obey large alignments. My kernel isn't reliably aligned to 2 MiB, so it fails to boot, but it's just a few bits that are missing, so by sheer luck it will boot once in a while...
23:11raster has quit [Quit: Gettin' stinky!]