#
#asahi · 2022-08-04 20:43
jannauChainfire: yes, both asahi and asahi-dev have the necessary fixes for u-boot and kernel
#asahi · 2022-08-04 20:41
princesszoeyworks fine for me Chainfire
#asahi · 2022-08-04 20:26
Chainfireis it safe yet to upgrade to the macOS 13 beta with a fully updated Asahi?
#asahi · 2022-08-04 20:12
eeqk[m]FYI my background is with high level programming languages, I'm a full stack+mobile dev
#asahi · 2022-08-04 20:12
eeqk[m]I'll soon have 2 weeks without an access to my laptop, that's why for now simply cracking on with the code is not an option for me
#asahi · 2022-08-04 20:12
eeqk[m]would you recommend any books that would make it easier for me to contribute some features into this project?
#asahi · 2022-08-04 20:09
jannauyes, I ment would not want to create a asahi-linux package just to update the dtbs
#asahi · 2022-08-04 19:52
kettenisalthough checking out the asahi linux tree just to build the dtb isn't optimal
#asahi · 2022-08-04 19:51
kettenisI think stellarorbit meant "asahi linux" as a linux distro
#asahi · 2022-08-04 19:45
jannauit depends on you keeping the dts in u-boot up to date
#asahi · 2022-08-04 19:42
kettenisit is relatively easy to copy an updated m1n1.bin to the ESP; could provide that as a package
#asahi · 2022-08-04 19:18
stellarorbit[m]Hello, I have a question. I installed m1n1 and u-boot via the 3rd option in the script so I could install OpenBSD to test it out and i was wondering what the preferred way to update u-boot and m1n1 would be since I am not using asahi linux on my m1 mac mini
#asahi · 2022-08-04 17:41
kettenisdidn't realize how fortunate we are in BSD land with the bus_dma(9) API
#asahi · 2022-08-04 16:41
sveniirc joerg picks up new code between rc4 and 6(?). Still some time left ;)
#asahi · 2022-08-04 16:38
jannauI need to send a new roll of the iopgtbl-dart patchset, got carried away by Robin's review comments
#asahi · 2022-08-04 16:29
svenbut the code is smart enough to use direct mappings for anything dma_alloc_coherent and anything that happens to be page aligned
#asahi · 2022-08-04 16:29
marcanit's going to make our life a lot easier
#asahi · 2022-08-04 16:29
marcanhopes that DART split patchset gets in already...
#asahi · 2022-08-04 16:29
marcanprobably a good idea for now then
#asahi · 2022-08-04 16:29
marcanright
#asahi · 2022-08-04 16:28
svenyup, for dma_map_single at least
#asahi · 2022-08-04 16:28
marcanin the interim, untrusted mode would make it use swiotlb?
#asahi · 2022-08-04 16:28
marcanright
#asahi · 2022-08-04 16:28
svenyeah, just need to pass through the page offset/size all the way to the iommu driver
#asahi · 2022-08-04 16:27
svenyeah… it seems to use dma_map_single at least in one place to map < PAGE_SIZE buffers so it’ll already expose something adjacent
#asahi · 2022-08-04 16:26
marcanwe should be able to fix that with subpage protection, right?
#asahi · 2022-08-04 16:26
marcanah, right
#asahi · 2022-08-04 16:24
svenbut if brcmfmac uses non-coherent mappings anywhere it’ll still expose adjacent memory
#asahi · 2022-08-04 16:23
svenit doesn’t work at all with that patch set because those iommus don’t do pass through
#asahi · 2022-08-04 16:23
marcanif so, then yeah, that's a hard nope
#asahi · 2022-08-04 16:23
marcansven: does the 4K patchset put it in passthrough right now?
#asahi · 2022-08-04 16:22
marcanwe are absolutely not shipping kernels that will allow that thing in passthrough mode. nope. not going there.
#asahi · 2022-08-04 16:21
marcanyup
#asahi · 2022-08-04 16:20
svenhm, that reminds me: didn’t you want to look into making WiFi untrusted as well because Broadcom, marcan?
#asahi · 2022-08-04 16:16
jannauNikolayNikolaev[m]: 64k is not supported by the hw
#asahi · 2022-08-04 16:15
svenbut that reminds me that I have to add an api to allocate unmanaged domains with a page size mismatch once I eventually get back to that 4K patch
#asahi · 2022-08-04 16:15
NikolayNikolaev[m]I guess 64k is out of the question with m1/m2? Even just for basic CLI?
#asahi · 2022-08-04 16:14
svenjannau: yeah, that’s also a fairly big change unfortunately:(
#asahi · 2022-08-04 16:13
psykoseyou can also disable the partition alloc and try that if you want
#asahi · 2022-08-04 16:11
jannauswitching to an unmanaged iommu domain is the main todo item for dcp for me I just don't get to it
#asahi · 2022-08-04 16:10
psykoseand yes, there's a few more
#asahi · 2022-08-04 16:10
psykoseif it doesn't apply, then have fun
#asahi · 2022-08-04 16:10
marcanthat patch is not sufficient
#asahi · 2022-08-04 16:10
psykoseif you build electron yourself, apply that to the chromium tree
#asahi · 2022-08-04 16:10
psykoseprobie: you need https://chromium.googlesource.com/chromium/src/+/a704c3a94179e6f3abb28f090d096ced72657d7c%5E%21/
#asahi · 2022-08-04 16:09
svenI don’t think drm uses it in general, just some drivers iirc
#asahi · 2022-08-04 16:09
probieThe codebase I need to get running is currently on 13. It's going to be a long night
#asahi · 2022-08-04 16:08
svendcp clearly abuses that api
#asahi · 2022-08-04 16:08
svenit depends
#asahi · 2022-08-04 16:08
marcanwith some scatter-gather list stuff

plus ›