#asahi · 2021-08-23 13:28
sventhat's either the protocl or the rtkit version afaik#asahi · 2021-08-23 13:28
svenc000b vs. b000b#asahi · 2021-08-23 13:28
svennew version#asahi · 2021-08-23 13:28
svenah yes#asahi · 2021-08-23 13:27
svenwhat's the exact hello packet?#asahi · 2021-08-23 13:11
svenmarcan: probably because i copy/pasted that from somewhere else#asahi · 2021-08-23 13:09
svensure#asahi · 2021-08-23 13:07
svenis the guest RAM just translated 1:1 for the 2nd stage?#asahi · 2021-08-23 13:06
svencan you printk the messages it sends/receives through the mailbox?#asahi · 2021-08-23 13:06
sveni hope it's not some rtkit firmware differences :/#asahi · 2021-08-23 13:00
sventhat patch is mostly just c&p from m1n1 fwiw#asahi · 2021-08-23 12:59
svenhttps://f.svpe.de/a815b109b34d9c5a48775f181a7812d7431cb19cd656b097d9b5082ffceba215_0001-HACK-print-M1-SError-sys-regs.patch#asahi · 2021-08-23 12:19
svengood catch#asahi · 2021-08-23 12:19
svenoh, fun.#asahi · 2021-08-23 12:15
svenuh. maybe the second stage translation made it nonposted#asahi · 2021-08-23 12:13
svenpcie doesn't need it, the rest does#asahi · 2021-08-23 12:12
svenbut once i fix that line it boots all the way to nvme#asahi · 2021-08-23 12:11
svenmarcan: how did this ever work for you? i get serrors unless i fix that line to map it as nonposted#asahi · 2021-08-23 12:11
svenmarcan: uh.. https://github.com/torvalds/linux/blob/master/drivers/mfd/syscon.c#L63#asahi · 2021-08-23 05:55
sventhey are complicated maths ofc!#asahi · 2021-08-23 05:55
svenyup#asahi · 2021-08-23 05:55
sven:D#asahi · 2021-08-23 05:55
svenreally depends on the class and prof tbh#asahi · 2021-08-23 05:54
svenyeah#asahi · 2021-08-23 05:53
svenskipped lots of classes during my bsc and msc, still got a phd in the end. now i wouldn't necessarily recommend it but i'd do it again this way#asahi · 2021-08-23 04:29
svenyou can skip school and still get that paper though :)#asahi · 2021-08-22 19:12
sven(and ofc create them in the new one :-))#asahi · 2021-08-22 19:12
sventhis will destroy all mappings, if you want to keep them walk the pagetable and return them in reserved_regions#asahi · 2021-08-22 19:12
svenpagetables were taken over#asahi · 2021-08-22 19:12
svenif someone wants to add support for this: make sure devices in those darts always get a unique group in device_group, make sure they always use a translated domain in def_domain_type, then in attach_dev just read out the TTBRs and put them into the io-pgtable structure, and finally write a custom free function for those that checks if the#asahi · 2021-08-22 19:09
svenand the linux driver will fail to probe if it sees a locked dart#asahi · 2021-08-22 19:09
svenyou can also write to locked darts without serrors. it just won't change most regs#asahi · 2021-08-22 12:17
sven*:)#asahi · 2021-08-22 12:17
svenit helps that the hw works almost identical with just different offsets :)(#asahi · 2021-08-22 12:13
svenhaha :D#asahi · 2021-08-22 12:13
sveni thought that's what you saw#asahi · 2021-08-22 12:12
svenuh. i pushed a new version about 5 minutes ago fwiw#asahi · 2021-08-22 12:12
svenit's essentially the same hardware just with different register offsets#asahi · 2021-08-22 12:12
svenAPPLE_M3_*#asahi · 2021-08-22 12:10
svenstill not happy with the rtkit handling, but i think we need to wait and see what alyssa needs for dcp and agx before we can make an informed decision there#asahi · 2021-08-22 12:09
svenit also supports that slightly different other mailbox now#asahi · 2021-08-22 12:09
svenyeah, it's slowly getting there :D#asahi · 2021-08-22 11:53
svenyou have to boot the kernelcache :)#asahi · 2021-08-22 11:53
svenoh, yes#asahi · 2021-08-22 11:41
sventhat's what the second acm interface is for#asahi · 2021-08-22 11:41
svenj_ey: uh, it should#asahi · 2021-08-21 21:22
svenseriously though, some functions are rather obvious#asahi · 2021-08-21 21:22
svenyou can always reverse engineer what's going on ;)#asahi · 2021-08-21 21:22
sventhat sounds very broken#asahi · 2021-08-21 21:21
svenyou can also try to break the run_guest.py script and look at the backtrace to see where it's suck