#asahi-dev · 2026-06-24 11:33
yukawhich either is the piece of code which crashes, or a piece of code which runs on the core before and messes things up#asahi-dev · 2026-06-24 11:32
yukaso this could be related to the chances of some piece of code running on a secondary core#asahi-dev · 2026-06-24 11:28
yukathey only happen during boot, and only sometimes#asahi-dev · 2026-06-24 11:28
yukaWe were not able to cause these crashes once it booted#asahi-dev · 2026-06-24 11:23
yukaI will try to get them reproduced again on my base M4#asahi-dev · 2026-06-24 11:23
yukaI don't think the other crashes are immediately related to wfi, they are just dependent on some race condition (some code running on the secondary core?)#asahi-dev · 2026-06-24 11:22
yukaidle=nop also removes the use of wfit in delay()#asahi-dev · 2026-06-24 11:22
yukathat is included in my patch#asahi-dev · 2026-06-24 11:13
yukaI assumed so, just need to figure out which header ;)#asahi-dev · 2026-06-24 11:06
yukahttps://cyberchaos.dev/yuka/linux/-/commit/3bf49bf384d90f91503369de26a09380bd88bf77#asahi-dev · 2026-06-24 11:06
yukawe don't really know why#asahi-dev · 2026-06-24 11:06
yukaand it seems to have fixed the crashes on flokli's M4 Pro#asahi-dev · 2026-06-24 11:06
yukaI made a first attempt at idle=nop#asahi-dev · 2026-06-24 11:05
yukaokay no problem#asahi-dev · 2026-06-24 11:03
yukaintegralpilot: you said you had dockchannel uart working, did you push the code somewhere?#asahi-dev · 2026-06-24 09:02
yukaintegralpilot: lmk when you have something for me to test for dockchannel uart#asahi-dev · 2026-06-24 08:30
yukait is bad in a way because then if there's a bug in the firmware, you can't fix it#asahi-dev · 2026-06-24 08:10
yukathere on page 3, the tty driver has line discipline#asahi-dev · 2026-06-24 08:09
yukaAh, maybe I confused something#asahi-dev · 2026-06-24 08:09
yukahttps://bootlin.com/doc/legacy/serial-drivers/linux-serial-drivers.pdf#asahi-dev · 2026-06-24 08:03
yukathis was my conclusion after several hours of reading docs and code, but I may be wrong#asahi-dev · 2026-06-24 08:02
yukaSo in our case the tty part is implemented in kisd in userspace, and the other side needs to be a uart driver#asahi-dev · 2026-06-24 08:02
yukaso I interpret this as two sides, the tty is where you are on the "typewriter" side (where the user is sitting in front of), and the uart side is on the machine the "typewriter" is connected to#asahi-dev · 2026-06-24 08:01
yukafor example, cdc-acm is a tty driver, while the samsung_tty is a uart+console driver#asahi-dev · 2026-06-24 08:00
yukatty drivers can also implement termios and baudrate change things, no?#asahi-dev · 2026-06-24 08:00
yukaI think we want the line discipline (echoing back characters etc) in this case and we can ignore the baudrate change things#asahi-dev · 2026-06-24 07:58
yukaCan you do a console driver on top of a tty driver?#asahi-dev · 2026-06-24 07:53
yukaI then got stuck on a bunch of design decisions like is each channel its own device tree node#asahi-dev · 2026-06-24 07:52
yukaAnd dynamically allocated major number#asahi-dev · 2026-06-24 07:48
yukaWe probably want a uart+console driver#asahi-dev · 2026-06-24 07:47
yukaIt took me a while to understand the difference between tty, uart and console drivers#asahi-dev · 2026-06-23 19:35
yukaAh there was a note that 13.7 is no longer being signed. Maybe that is related?#asahi-dev · 2026-06-23 17:50
yukahttps://support.apple.com/en-us/101578#asahi-dev · 2026-06-23 17:50
yukayou need to create a bootable installer then#asahi-dev · 2026-06-23 07:29
yukaAdding --cpus 4 to the run_guest invocation on top of the existing instructions made it reliable for me#asahi-dev · 2026-06-21 19:12
yukaDid you have earlycon in the cmdline?#asahi-dev · 2026-06-21 18:49
yukaand which of the commits are irrelevant#asahi-dev · 2026-06-21 18:49
yukaAnd what happened then?#asahi-dev · 2026-06-21 18:32
yukaYeah, baremetal linux currently needs proper serial for early boot debugging#asahi-dev · 2026-06-21 18:31
yukaFor Linux in the HV did you see my branch/PR?#asahi-dev · 2026-06-20 21:38
yukaMay be the same but can't hurt to test it again on M4 Max#asahi-dev · 2026-06-20 21:38
yukaNo that was on M4 Pro#asahi-dev · 2026-06-20 21:37
yukaHow do we know that, did someone test it?#asahi-dev · 2026-06-20 21:36
yukaHow the difference 26 versions behave on M4 Max#asahi-dev · 2026-06-20 21:35
yukachaos_princess: I don't think we have reliable data on this?#asahi-dev · 2026-06-20 21:20
yukaWhat mac os version did you use as base?#asahi-dev · 2026-06-20 20:29
yukajust any linux computer will do to connect to the cdc-acm uartproxy#asahi-dev · 2026-06-20 20:26
yukamischa85: ...so? You don't need a second mac#asahi-dev · 2026-06-20 19:02
yukaI gave nested virtualisation a try on M3 Pro, it seems to work in general but my guest cpus are locking up sometimes#asahi-dev · 2026-06-20 17:21
yukamischa85: theoretically you don't need the Central Scrutinizer for this, since m1n1-uartproxy / CDC-ACM should work now