quarkyalice__ has quit [Ping timeout: 480 seconds]
quarkyalice__ has joined #asahi-dev
quarkyalice__ has quit [Ping timeout: 480 seconds]
gladiac has quit [Quit: k thx bye]
gladiac has joined #asahi-dev
aleasto has joined #asahi-dev
richbridger has quit [Ping timeout: 480 seconds]
richbridger has joined #asahi-dev
Mary has quit [Quit: Ping timeout (120 seconds)]
Mary has joined #asahi-dev
aquijoule_ has joined #asahi-dev
richbridger has quit [Remote host closed the connection]
yuyichao_ has quit [Quit: Konversation terminated!]
aleasto has quit [Ping timeout: 480 seconds]
aquijoule_ has quit []
aquijoule_ has joined #asahi-dev
aquijoule_ has quit [Remote host closed the connection]
Eighth_Doctor has joined #asahi-dev
<Eighth_Doctor>
marcan: this might be a dumb question, but has anyone reached out to Apple about the IOMMUs thing to see if maybe a future iteration could support 4K pages?
<chadmed>
i reckon they specifically did that for this reason. "an unsigned kernel, if you can keep it" type deal
<chadmed>
its unlikely anyone will get any sort of official word out of apple on the matter either, this is all extremely antithetical to how they want consumers to use their devices
<sven>
yeah, we shouldn't expect to get 4k iommu pages
<chadmed>
everyone should just use gentoo on their macs and build their own kernels ;)
<sven>
but i'll see if i can get a patch accepted that makes the iommu framework play nicely with a bigger granule once the initial DART version (+ some other important drivers) are upstream
<sven>
fwiw, the current version boots on 4k kernels in bypass mode. what probably won't work for a while is thunderbolt and wifi
<chadmed>
does anything good come of bypassing the IOMMU/s though?
<sven>
not imho
<sven>
but at least you could boot a normal distro installer that way and then switch to a custom kernel later on
<sven>
might make adoption at the beginning easier
<chadmed>
thats true, though i think all the messing around with m1n1 might preclude the kinds of folks that wouldnt be able to just build their own kernel anyway
<sven>
the goal is to eventually have something like "boot into 1TR, open a terminal and run curl alx.sh | bash"
<chadmed>
so maybe a discussion to be had once we have a very simple way for m1n1 to work without screwing around with double macos partitions and stuff
<chadmed>
yeah
<sven>
yeah
<sven>
right now i expect everyone to use a kernel with 16k pages anyway since only the basics are upstreamed so far
<Eighth_Doctor>
sure
<Eighth_Doctor>
chadmed: wouldn't it be easier for Apple to offer a signing process for Linux instead?
<Eighth_Doctor>
rather than using obstructions like this to break access to hardware?
<chadmed>
why would they ever want to do that
<sven>
they built the hardware that way because it works nicely with mac os. they don't care about anything else
<chadmed>
the hardware isnt inaccessible because the kernel is unsigned anyway, its inaccessible because theres no documentation and whatever we have is from prodding at MMIO and lucky shared DNA with exynos
<sven>
they're not trying to obstruct - they just have no reason to make the hw more complex
<chadmed>
they will never ever ever facilitate or officially support booting anything other than macos in an apfs container
<chadmed>
they only "let" you boot an unsigned kernel because the EU might have raised an eyebrow if they didnt
<sven>
that's just speculation though. could've also been internal pressure from their engineers who also want linux on those machines ;)
<chadmed>
that would be kinda cool if true or plausible lmao
<chadmed>
revenge of the nerds, retaking silicon valley from the marketing goons
<jix>
my guess is that they have a few different reasons and there isn't a single one that was the deciding factor, but I'm also just speculating
<chadmed>
well yeah who knows what crazy stuff they have running on these machines in the lab
<chadmed>
SGI IRIX maybe
<sven>
we know that they have an internal linux port from some xnu comments