#asahi · 2022-08-05 05:43
marcanwe also want it for box86/FEX anyway#asahi · 2022-08-05 05:41
marcanI do hope we can get it in though#asahi · 2022-08-05 05:41
marcananything related to proprietary CPU features is always controversial#asahi · 2022-08-05 05:41
marcanit is, and that's the longer term plan, but that's a pretty big bikeshed to paint as far as upstream goes#asahi · 2022-08-05 05:38
marcanAnd also, that would require systemwide TSO, which I've been meaning to throw into m1n1#asahi · 2022-08-05 05:38
marcanre Rosetta, I should expose the OSK keys from SMC in /sys... then in *principle* if Apple wanted to offer it to native Linux installs, they could keep effectively the same DRM. But it would be up to them to do that, since right now they very clearly say "Virtualization.framework only".#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
marcanin the interim, untrusted mode would make it use swiotlb?#asahi · 2022-08-04 16:28
marcanright#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: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:10
marcanthat patch is not sufficient#asahi · 2022-08-04 16:08
marcanwith some scatter-gather list stuff#asahi · 2022-08-04 16:08
marcanI thought it was a general DRM thing#asahi · 2022-08-04 16:08
marcanoh, was it DCP?#asahi · 2022-08-04 16:08
marcanjannau: it got officially backported but only partially, so it doesn't work#asahi · 2022-08-04 16:07
marcanplus gpu stuff (IIRC DRM was one of the corner cases?)#asahi · 2022-08-04 16:07
marcanalso that.#asahi · 2022-08-04 16:07
marcanvscode/electron/etc got fixed because we shipped 16K kernels. if we'd been shipping 4K kernels they wouldn't have.#asahi · 2022-08-04 16:06
marcanuntil then, there is approximately zero reason to use 4K kernels other than as a workaround for broken software, and that software needs to get fixed#asahi · 2022-08-04 16:06
marcanwe will start offering 4K kernels when they start being useful for e.g. FEX in practical situations (e.g. once the GPU driver is good enough to run games / x86 software)#asahi · 2022-08-03 08:46
marcanbut yeah probably#asahi · 2022-08-03 08:46
marcan;)#asahi · 2022-08-03 08:46
marcansven: (we think)#asahi · 2022-08-03 08:46
marcandottedmag: correct#asahi · 2022-08-03 07:23
marcanjannau, kettenis: was there a good reason why we're not upstreaming that yet?#asahi · 2022-08-03 07:22
marcanyou need this patch#asahi · 2022-08-03 07:21
marcanhttps://github.com/AsahiLinux/u-boot/commit/20be5ea6a3c2a67c93bff0007ced92295dd12798#asahi · 2022-08-03 07:21
marcanif you don't have that patch, and you do 2 installs, both u-boots will try to boot the 1st install#asahi · 2022-08-03 07:21
marcanbut it's not *using* it#asahi · 2022-08-03 07:21
marcanyes#asahi · 2022-08-03 07:21
marcanbut does your u-boot use it to find the efi binary?#asahi · 2022-08-03 07:20
marcanyes#asahi · 2022-08-03 07:20
marcanin u-boot#asahi · 2022-08-03 07:20
marcanI mean *using* that#asahi · 2022-08-03 07:20
marcanyes#asahi · 2022-08-03 07:20
marcan(if you're doing a distro, please, please test multiple installs)#asahi · 2022-08-03 07:19
marcanif you don't use our release branch, you don't have the magic ESP handling, so unless you patch that in yourself, your builds are not multi-install compatible.#asahi · 2022-08-03 07:14
marcan*just#asahi · 2022-08-03 07:14
marcanjut wrote this up, mostly for Linus and for distro folks who want a TL;DR on how to manage the boot components: https://github.com/AsahiLinux/docs/wiki/Distro:Boot-process-guide#asahi · 2022-08-03 05:47
marcan(vs. e.g. some of the advanced csrutil modes which are completely undocumented/secret)#asahi · 2022-08-03 05:47
marcanso I guess that counts as documented#asahi · 2022-08-03 05:47
marcanah, but --help does show it