#
…

2021-12-31

00:12yuyichao has joined #asahi-dev
00:48squags has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
00:49squags has joined #asahi-dev
00:51squags has quit []
00:55squags has joined #asahi-dev
00:58squags has quit []
00:59squags has joined #asahi-dev
01:12squags has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
01:27aleasto has quit [Quit: Konversation terminated!]
02:23riker77_ has joined #asahi-dev
02:28riker77 has quit [Ping timeout: 480 seconds]
02:28riker77_ is now known as riker77
03:47PhilippvK has joined #asahi-dev
03:50phiologe has quit [Ping timeout: 480 seconds]
03:53marcankettenis: debug regs are basically the only standard regs we trap
03:53marcanthat's partially because the HV uses debug functionality, but we don't currently virtualize guest debug stuff properly anyway
03:54marcankettenis: https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/hv.py#L1057 turning that off should shut it up, dunno if it might break the single-step feature though
05:27JTL has quit [Remote host closed the connection]
05:27JTL has joined #asahi-dev
06:45JTL has quit [Quit: Just a test]
06:45JTL has joined #asahi-dev
07:20svenI didn’t even realize that’s a standard reg
09:08the_lanetly_052___ has joined #asahi-dev
09:14the_lanetly_052__ has quit [Ping timeout: 480 seconds]
09:24kettenishmm, looks like linux messes with with MDSCR_EL1 as well when entering/leaving the kernel
09:25kettenisah, but it disables single-stepping conditionally
09:34kettenismeanwhile, I've figured out how to set up the memory map in u-boot "late"
09:35j`eykettenis: ooh!
09:55kettenisthe bits for enabling bypass mode in the t6000 dart didn't change isn't it?
10:08marcankettenis: I'm not sure we've tested bypass mode on t6000...
10:08marcanI do know subpage protection is now mandatory
10:08marcanwouldn't surprise me if bypass mode just didn't work...
10:40svenI wonder if they still have that stream 15 bypass hack(?) then
10:41svenoh, I think as long as there is that bypass property in the ADR the DART should still have that mode
10:42Jamie[m]1the t8110 seems to still have what I would describe as a "stream 15 bypass hack(?)" just going off the ADT
10:43Jamie[m]1so i assume the t6000 does too
10:45svenI still wonder what that hack is all about
10:53aleasto has joined #asahi-dev
11:06kettenisthat may have a chance of working on the M1 Pro/Max
11:07ketteniswhere working means that you'll get some framebuffer output
11:13Jamie[m]1you asking for testing?
11:15kettenisthat'd be great; I don't have the hardware myself
11:15kettenisyou'll nedd a device tree from asahi branch of the asahi github linux repo
11:21the_lanetly_052___ has quit [Ping timeout: 480 seconds]
11:22jannaukettenis: no framebuffer on m1 max. I'll update and reenable the debug uart
11:23ketteniswhen you re-enable the debug uart, you'll also need to change the base address to te riht address
11:23kettenisthis should work with the hypervisor uart emulation
11:26jannauI have access to the hw uart. u-boot prints version, model and dram size on the uart
11:28kettenisso it makes it into build_mem_map() probably
11:33kettenisdon't see something obviously wrong with the t6000_mem_map
11:34ketteniscould be that get_page_table_size() returns a value that is too small
11:54jannauyes, it makes it to build_mem_map() and memory and framebuffer address/size are correct
11:55jannauincreasing get_page_table_size() up to 8M does not make a difference
12:04gabuscus has quit [Ping timeout: 480 seconds]
12:11gabuscus has joined #asahi-dev
12:52gabuscus has quit [Ping timeout: 480 seconds]
12:57gabuscus has joined #asahi-dev
13:44the_lanetly_052 has joined #asahi-dev
13:52zimsneexh has joined #asahi-dev
13:58marcankettenis: t6000 does have a larger physical address space size, fwiw
14:00kettenisthe relevant u-boot code seems to support that
14:00ketteniswhether it actually works is a different question of course
14:26aleasto has quit [Quit: Konversation terminated!]
17:35tpw_rules has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:44___nick___ has joined #asahi-dev
18:44___nick___ has quit []
18:46___nick___ has joined #asahi-dev
20:24the_lanetly_052__ has joined #asahi-dev
20:30the_lanetly_052 has quit [Ping timeout: 480 seconds]
20:35curlyqueue has joined #asahi-dev
21:08___nick___ has quit [Ping timeout: 480 seconds]
23:19tpw_rules has joined #asahi-dev
…