#40 platforms: Disable BTI by default in all images
Closed by ngompa. Opened by ngompa.
disable-bti  into  rawhide

Download 40.patch

Back in Fedora Linux 33, the AArch64 variant of the distribution started
being compiled with pointer authentication and branch protection.

However, it turns out that there were no ARM CPUs that actually used the feature
until Apple's release of the M2-powered Macs. The Apple M2 supports BTI, which
wound up being the first generally available ARM CPU to activate this code path.

Unfortunately, Chromium has not been adapted to support ARM CPUs with BTI and
crashes on launch instead. Until Google fixes this, we're stuck.

So, for now, let's disable this at runtime so that we can still point to
Chromium developers how to enable the broken setup.

Reference: https://fedoraproject.org/wiki/Changes/Aarch64_PointerAuthentication

Reference: https://pagure.io/fedora-asahi/project/issue/15

rebased onto 45e9b865938ee56b0290d6eace573449661ed170

I think we can just drop this now that Chromium has the workaround. If we run into more problems, we can consider flipping the logic of the kernel arg in the kernel tree itself.

Pull-Request has been closed by ngompa

Metadata