#asahi · 2022-03-29 12:28
svenif it fixes something, absolut!#asahi · 2022-03-29 12:25
svenand probably add a fixes tag I guess #asahi · 2022-03-29 12:25
svenI’d get rid of the “maybe” part and replace that with an actual explanation in the commit description #asahi · 2022-03-29 12:20
sven“may” :D#asahi · 2022-03-29 12:15
svenand there’s a pasemi_wait_ready or something like that already that currently polls#asahi · 2022-03-29 12:14
svenyup! I think the registers for interrupts are already documented (or at least named) inside m1n1#asahi · 2022-03-29 12:11
svensome simple task if you want to do something with the kernel: add interrupt support to the i2c driver #asahi · 2022-03-28 18:16
svenbut that’s not offered right deliberately to find and fix bugs in apps like chromium#asahi · 2022-03-28 18:15
sveneventually there will be#asahi · 2022-03-28 18:14
sventhat one might be impossible to run on 16k kernels because it tries to run x86 binary that can assume 4K pages#asahi · 2022-03-28 18:11
svenright, it might need some changes#asahi · 2022-03-28 18:10
svenit might need changes but they already support runtime page size for macOS builds#asahi · 2022-03-28 18:10
svenwhy wouldn’t they?#asahi · 2022-03-28 18:10
svenit’ll take a while to land but we’re still at the alpha stage anyway#asahi · 2022-03-28 18:09
sveniirc someone already submitted a patch to chromium #asahi · 2022-03-27 19:14
svenon the iPads and phones they absolutely don’t want that#asahi · 2022-03-27 19:14
svenon the MacBooks allowing to run a custom kernel was a feature they designed #asahi · 2022-03-27 19:13
svenvery unlikely that apple will ever allow anything like asahi on iPads #asahi · 2022-03-24 21:06
svenbut that’s all still far away#asahi · 2022-03-24 21:06
svenand presumably the same protocol works over Bluetooth or usb for that keyboard #asahi · 2022-03-24 21:05
svenit’s just paired with the SEP such that the entire communication is encrypted #asahi · 2022-03-24 21:05
sventhe fingerprint communicates with the main CPU over SPI iirc #asahi · 2022-03-24 20:00
svenso syscfg has to be on the other flash#asahi · 2022-03-24 19:59
sven*it#asahi · 2022-03-24 19:59
svenoh right, t kinda needs to load ANS firmware before it can access nvme #asahi · 2022-03-24 19:59
svenisn’t syscfg on the nor flash?#asahi · 2022-03-22 13:21
svenso you can add a full page to the IOMMU pagetable but only allow access to a subset of it#asahi · 2022-03-22 13:20
svenDART has hardware subpage protection support with a 4 byte or so granularity#asahi · 2022-03-22 13:18
svenmarcan: oh... now that I think about this again: If we could somehow manage to sneak subpage protection in without having to hack around the IOMMU API itself too much we could have thunderbolt even without swiotlb :D#asahi · 2022-03-22 13:13
sveni'll probably be motivated to look into what swiotlb does again once thunderbolt is ready ;)#asahi · 2022-03-22 13:13
svenyeah#asahi · 2022-03-22 13:12
svenit'll just not allow any DMA to anything thunderbolt#asahi · 2022-03-22 13:12
svenit fails safely ofc#asahi · 2022-03-22 13:11
sveni have a branch somewhere that fixes #1, but have been too lazy to look into swiotlb because that part is a bit tricky#asahi · 2022-03-22 13:11
sventhe caveats are "needs a bit cleanup for upstream" and "doesn't support untrusted devices because swiotlb can't align to more than PAGE_SIZE"#asahi · 2022-03-22 09:58
sven*difference#asahi · 2022-03-22 09:58
svenright, so for stage 2 there's no different if stage 1 and/or iboot did anything#asahi · 2022-03-22 09:56
svenit's no different that iboot first initializing the display and then m1n1 trying it again#asahi · 2022-03-22 09:56
svenit's safe from stage 2 as well#asahi · 2022-03-21 22:21
svenhuh, that’s a lot#asahi · 2022-03-21 21:52
sventhere’s already atc-WIP which worked for jannau (for some value if worked)#asahi · 2022-03-21 21:36
svenso now I have to try both j`ey and marcan’s Sofa I guess :-P#asahi · 2022-03-21 21:33
svenand was dragged to some karaoke place that turned out to be a lot of fun!#asahi · 2022-03-21 21:33
svenyup :D#asahi · 2022-03-21 21:33
svenand I even visited him in .jp once!#asahi · 2022-03-21 21:32
svenwe used to meet once a year at ccc#asahi · 2022-03-21 21:32
sven:D#asahi · 2022-03-21 21:32
svenno need to remind me 🥲#asahi · 2022-03-21 21:32
svenshush#asahi · 2022-03-21 21:31
svenlol