Repository navigation
arm64: configs: asahi: make the settings survive a distro base config - #394
Merged
Merged
Conversation
Over plain ARM64 defconfig the 16K kernel resolves to 52-bit VA with LPA2. ARM64_USER4K_EXPERIMENTAL depends on 48-bit VA and PA without LPA2, so it drops out and the user4k=on boot option has nothing to turn on. Steam and FEX on the Neo rely on it for x86 games that assume 4K pages. Apple Silicon has no LPA2 and needs nothing past 48-bit VA, so request 48-bit VA here and keep the 4K userspace support enabled. Fedora and the other distribution bases already use 48-bit VA, so this only changes the defconfig result, which now matches them. Checked with defconfig + asahi.config and with the Fedora Asahi base + asahi.config: both resolve to VA_BITS=48, PA_BITS=48 and ARM64_USER4K_EXPERIMENTAL=y. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
…s to asahi.config makes the power allocator the default thermal governor but never enables the governor itself. Over defconfig that happens to work, since defconfig already builds it. Over a distribution base that leaves THERMAL_GOV_POWER_ALLOCATOR off, Fedora's Asahi config for one, the default cannot be selected and the base's step_wise default wins, so the setting does not survive resolution. Enable the governor and switch the base's step_wise default off, so the requested default holds over either base. Checked with defconfig + asahi.config and with the Fedora Asahi base + asahi.config: every asahi.config setting survives olddefconfig. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
This was referenced Oct 24, 2026
Merged
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two small asahi.config fixes so the file's settings survive over a distro base config, not only over defconfig. Found while building one kernel for the Neo, M1 Pro and M2 from the Fedora Asahi base + asahi.config.
48-bit VA and 4K userspace. Over plain ARM64 defconfig the 16K kernel picks 52-bit VA with LPA2. ARM64_USER4K_EXPERIMENTAL needs 48-bit VA and PA without LPA2, so it silently drops out and
user4k=ondoes nothing. Steam and FEX on the Neo need it for x86 games that assume 4K pages. Apple Silicon has no LPA2 and doesn't need more than 48-bit VA, so this asks for 48-bit VA and keeps the 4K userspace support on. Fedora and the other distro bases already use 48-bit VA, so only the defconfig result changes.Power allocator governor. asahi.config makes the power allocator the default thermal governor but never enables the governor itself. defconfig happens to build it, Fedora's Asahi base doesn't, so over Fedora the base's step_wise default wins and the setting doesn't survive. This enables the governor and turns the base's step_wise default off.
Checked both ways the header describes, defconfig + asahi.config and the Fedora Asahi base + asahi.config. Every asahi.config setting (124) survives olddefconfig on both.
Left out on purpose: the IOMMU lazy default. Fedora's base already picks lazy, but the Neo has only run strict so far, so that one wants a measured decision rather than a config default.
🤖 Generated with Claude Code