#asahi-dev · 2026-10-25 15:01
svenit also still seems to hang very early#asahi-dev · 2026-10-25 15:00
svensnooze6214[m]: you want to dump the state of all cores, it's also helpful if you have a development kernel with symbols#asahi-dev · 2026-10-25 14:52
svennvram is the only stuff in the adt that contains private stuff like wlan ssids, etc. isn't it?#asahi-dev · 2026-10-25 14:50
svencould be, i've also switched cables from c-to-c to a-to-c via a hub#asahi-dev · 2026-10-25 14:48
yukawas the cable maybe not plugged in during the previous boot?#asahi-dev · 2026-10-25 14:46
svenokay, works now#asahi-dev · 2026-10-25 14:39
svenodd. let me try to reboot everything then#asahi-dev · 2026-10-25 14:38
yukayes#asahi-dev · 2026-10-25 14:38
svenyuka: should usb device mode work on m5 inside m1n1?#asahi-dev · 2026-10-25 14:34
snooze6214[m]and somehow the SError didnt pop up??? the hv hung after a bit tho: https://termbin.com/bdsj#asahi-dev · 2026-10-25 14:34
snooze6214[m]wth... all i did was add debug prints??? diff: https://termbin.com/myrry#asahi-dev · 2026-10-25 14:22
ev4[m]adding signature verification to chainloading, i miss secure boot#asahi-dev · 2026-10-25 14:21
chaos_princesswhat are you changing#asahi-dev · 2026-10-25 14:19
ev4[m]dang, i was hoping to write a test for my changes. ill figure something out. thanks!#asahi-dev · 2026-10-25 14:17
ev4[m]yeah the softfloat has some. ah :(#asahi-dev · 2026-10-25 14:17
chaos_princessthe short answer is - you don't#asahi-dev · 2026-10-25 14:17
chaos_princessoh, the softfloat library has it#asahi-dev · 2026-10-25 14:17
svensomeone contributed some python tests at least iirc#asahi-dev · 2026-10-25 14:16
chaos_princessm1n1 has tests?#asahi-dev · 2026-10-25 14:10
ev4[m]maybe dumb question: what is the right way to run m1n1 rust tests? i can build fine, but running cargo test with all of the cargo build flags/args in the Makefile throws a bunch of errors about missing core imports#asahi-dev · 2026-10-25 13:43
svenit's already in the guest there fwiw#asahi-dev · 2026-10-25 13:41
svenmaybe also add a panic to mirror_entry when i >= 0x800#asahi-dev · 2026-10-25 13:40
snooze6214[m]yep yep#asahi-dev · 2026-10-25 13:39
svenok, time to add debug prints then#asahi-dev · 2026-10-25 13:38
snooze6214[m]can confirm, still faults without it#asahi-dev · 2026-10-25 13:38
svenit's just gonna reserve 2GiB + 0x1000#asahi-dev · 2026-10-25 13:38
svenhrm.. looking at it again it shouldn't actually cause an issue#asahi-dev · 2026-10-25 13:37
snooze6214[m]im fairly sure i made that change just to check what changes the base and top addresses in the mappings#asahi-dev · 2026-10-25 13:37
snooze6214[m]wait, let me rebuild to be sure#asahi-dev · 2026-10-25 13:36
svenmaybe#asahi-dev · 2026-10-25 13:36
snooze6214[m]no no, it faults without that#asahi-dev · 2026-10-25 13:36
svensize = ALIGN_UP(size + 0x1000, SPRR_CHUNK_TABLES * SPRR_TABLE_SIZE); that's your issue#asahi-dev · 2026-10-25 13:36
svenyeah well#asahi-dev · 2026-10-25 13:36
snooze6214[m]the build i sent you shouldn't have that#asahi-dev · 2026-10-25 13:36
snooze6214[m]this diff is not cut off: https://termbin.com/n8in#asahi-dev · 2026-10-25 13:34
snooze6214[m]my bad, wait#asahi-dev · 2026-10-25 13:25
svenare there some hv_sprr.c changes after all?#asahi-dev · 2026-10-25 13:25
sven"diff --git a/src/hv/hv_sprr.c b/src/hv/hv_s" <--#asahi-dev · 2026-10-25 13:25
svenuhh... why is that thing you pasted cut off?#asahi-dev · 2026-10-25 13:16
svenif the i passed in to mirror_entry is too large that would cause it to write past its bounds i think. #asahi-dev · 2026-10-25 13:14
sveni wouldn't be surprised if there's some subtle error in there#asahi-dev · 2026-10-25 13:14
svenand probably also in mirror_entry and maybe mirror_table since that's where it probably faults#asahi-dev · 2026-10-25 13:14
snooze6214[m]gotcha, let me spend some time with it :)#asahi-dev · 2026-10-25 13:12
svene.g. https://github.com/AsahiLinux/m1n1/blob/51b747dced07a58eacf5dabc31ed6f00bcfa20fd/src/hv/hv_sprr.c#L226 to confirm the bounds and then in https://github.com/AsahiLinux/m1n1/blob/51b747dced07a58eacf5dabc31ed6f00bcfa20fd/src/hv/hv_sprr.c#L234 for each allocation#asahi-dev · 2026-10-25 13:10
svensnooze6214[m]: dunno how that can happen, i'd add some debug prints around the sprr allocation stuff#asahi-dev · 2026-10-25 13:10
myriaWhich, will probably come in later this week#asahi-dev · 2026-10-25 13:10
myriaThen it's just the ATCPHY changes to go#asahi-dev · 2026-10-25 13:10
myriaYep, sorry, ignore me#asahi-dev · 2026-10-25 13:10
myriaThat's right, they consolidated it by enabling it on all arm64 platforms#asahi-dev · 2026-10-25 13:10
svenhttps://github.com/torvalds/linux/commit/f918e380449880824c415a39214b553aa7f64d5d