#asahi-dev · 2026-06-24 06:04
integralpilotso i guess we got 2 options:#asahi-dev · 2026-06-24 06:03
integralpilotthough that would make things a lot more complex#asahi-dev · 2026-06-24 06:02
integralpilotthat might actually be the neatest solution but maybe i'm missing something#asahi-dev · 2026-06-24 06:02
integralpiloti guess the other option is we make a DockChannel TTY/UART controller driver, and then the HID driver consumes it through serdev#asahi-dev · 2026-06-24 06:01
JamesCalligeros[m]They dont need to share infrastructure, it would just be Proper if they do. Upstream might grumble about it though.#asahi-dev · 2026-06-24 06:01
integralpilotwould it be fine upstream to have the DockChannel mailbox driver for HID, and then a seperate TTY/serial driver that will access hardware regs directly for serial?#asahi-dev · 2026-06-24 05:59
jannauwe want dockchannel-uart upstream. the fallback solution for uart would be to use the dockchannel fifos directly#asahi-dev · 2026-06-24 05:57
jannaudockchannel-uart works in m1n1 (using kisd). The main concern I have for uart is the mailbox tx queue length of 20 and irqs for every submitted byte#asahi-dev · 2026-06-24 05:56
integralpilotif we do upstream HID now with mailbox, and then it doesn't work for serial with whatever reason, when serial is downstream we can kinda just do whatever. but if serial wanted to go upstream, would they accept a) moving the already existing driver or b) having a seperate lightweight tty driver for dockchannel serial uses vs mailbox for other stuff#asahi-dev · 2026-06-24 05:55
integralpiloti still keep thinking about it and i can't decide if mailbox is right#asahi-dev · 2026-06-24 05:55
integralpilotoh doesnt matter then lol!#asahi-dev · 2026-06-24 05:52
JamesCalligeros[m]I dont think the markdown stuff works from the irc bridge at all lmao#asahi-dev · 2026-06-24 05:47
integralpilotoh wait * isn't italtics, its _ - i forgot sorry!#asahi-dev · 2026-06-24 05:44
integralpiloti think mailbox *should* be fine now for serial too, but not 100% sure#asahi-dev · 2026-06-24 05:38
JamesCalligeros[m]if mailbox isnt gonna fly we can do what we did for rtk mailbox and just make it a not-mailbox mailbox driver :P#asahi-dev · 2026-06-24 05:37
JamesCalligeros[m]yuka wanted to work on a serial driver for dockchannel like nowish#asahi-dev · 2026-06-24 05:34
integralpilotand thank you for those ideas on how to improve it so uart would (in future) work better without as much modifications!#asahi-dev · 2026-06-24 05:34
integralpilotmy thoughts are that for now, where HID is the only one we really know fully about and have working, its okay to get it working through the mailbox system. when we get around to uart, we can try out the mailbox system for that, but if it doesn't work, then we can look into alternatives (but, i think it should work for uart with the TX workqueue gone and no more per-RX kmalloc etc. which I've done)#asahi-dev · 2026-06-24 05:26
integralpiloti think with the fixes i just worked on, it should be okay at dealing with lots of tiny uart messages. if it coalesces writes into chunks that will be fine, but if every byte is a mailbox message that wouldn't be ideal#asahi-dev · 2026-06-24 05:13
jannaumy doubts are in dockchannel-uart. it will transmit more and potentially tiny messages#asahi-dev · 2026-06-24 05:10
jannauintegralpilot: I don't think there is kernel API which would be a better fit. mailbox isn't too bad for HID. only annoyance is the missing control of the incomming message size#asahi-dev · 2026-06-24 04:50
integralpilotjust pushed new version of MTP addressing the feedback, thanks again for it :)#asahi-dev · 2026-06-24 02:34
StanfordAppliedCyber[m](this is in contrast to sptm btw, which has lots of both)#asahi-dev · 2026-06-24 02:28
StanfordAppliedCyber[m]in fact it looks like a very normal arm kernel/user space despite running in gl1/0#asahi-dev · 2026-06-24 02:28
StanfordAppliedCyber[m]also i'm looking at the possibility of virtualizing exclaves, they don't contain, from a very stupid python script, anything fun, ie, apple custom instructions, weird sysreg accesses, etc#asahi-dev · 2026-06-24 02:16
aites[m]* i think i am too tired to figure this out, i think im going#asahi-dev · 2026-06-24 02:10
integralpilotbtw, thank you for your feedback, i'll get around to addressing that soon! :)#asahi-dev · 2026-06-24 02:10
integralpilotbut if you think it would be better in another subsystem happy to do that, i don't really mind, i think it's a bit of a weird thing and could fit in many places#asahi-dev · 2026-06-24 02:09
integralpilotjannau: looking at the logs, i think we (me, you, sven) decided to do it as a mailbox on 2026-01-25#asahi-dev · 2026-06-24 02:09
aites[m]im going to bed#asahi-dev · 2026-06-24 02:05
aites[m]uploaded an image: (68KiB) < https://matrix.org/oftc/media/v1/media/download/Ad6BCjMUBLOmy0lahbFVMkrRfK2Dx6m2vzmExNzPxJGggotW5Zu0vklDQlS33uFE9OEFXW5ioTBGEmCfbidVqDNCefP3l1VwAG1vemlsbGEub3JnLzA0NTE2MjllMWIyYWE2YzljMGZhNDI2OTYwYTBlMTQ2M2VkNjI5YjAyMDY5NjAyODc1OTQzNjgyMDQ4 >#asahi-dev · 2026-06-24 02:03
StanfordAppliedCyber[m]worst case flash the real kernelcache, boot into real macos, then just look at the disk#asahi-dev · 2026-06-24 02:03
aites[m]I have a severe skill issue#asahi-dev · 2026-06-24 02:03
aites[m]😭😭 I am so confused#asahi-dev · 2026-06-24 02:03
StanfordAppliedCyber[m]this shouldn't be hard to figure out#asahi-dev · 2026-06-24 02:03
StanfordAppliedCyber[m]uhhhhhhhhhhhhhhhhhhhhhhhh check diskutil?#asahi-dev · 2026-06-24 02:03
aites[m]I just rm rf'd the whole volume and still got the same error #asahi-dev · 2026-06-24 02:03
StanfordAppliedCyber[m]well the solution is just to delete them#asahi-dev · 2026-06-24 02:02
aites[m]aren't they just stored in the same volume?#asahi-dev · 2026-06-24 02:02
aites[m]StanfordAppliedCyber[m]: wait that's insane 😭#asahi-dev · 2026-06-24 01:58
StanfordAppliedCyber[m]i burned through 200gb of space because coredumps + crashlogs used all of it#asahi-dev · 2026-06-24 01:58
StanfordAppliedCyber[m]check if crashlogs are filling it up#asahi-dev · 2026-06-24 01:54
aites[m]also sorry for filling the chat with my issues guys 😅#asahi-dev · 2026-06-24 01:53
aites[m]my second partition has 80 GB of space wtf#asahi-dev · 2026-06-24 01:52
aites[m]https://pastebin.com/QNA55Nzq#asahi-dev · 2026-06-24 01:52
aites[m]<aites[m]> "And I have also now tried the..." <- hm yea reading the install error logs it claims I have no space but this is not true I have a lot of space #asahi-dev · 2026-06-24 01:37
StanfordAppliedCyber[m]these machines, sigh#asahi-dev · 2026-06-24 01:37
StanfordAppliedCyber[m]and for some reason reverting to a known good commit still has the error?#asahi-dev · 2026-06-24 01:33
StanfordAppliedCyber[m]apparently i have a pretty big regression somewhere because i can't even get to windowserver anymore, can't access the encrypted userdata#asahi-dev · 2026-06-24 01:33
StanfordAppliedCyber[m]debugging the sep has to be the worst part of this hypervisor, when it doesn't work we have no way to tell why it doesn't work