From dd51e77cfd8105c77478b2481f17972a7f26e898 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Mon, 26 Oct 2026 15:50:54 +1100 Subject: [PATCH 1/2] arm64: configs: drop helpers selected by the shared Apple drivers The shared drivers already select keys, AOP, the MAX98357A codec, Rust firmware loading, the Apple mailbox and C RTKit support. Removing these six requests cumulatively changes no resolved symbol over either ARM64 defconfig or the Fedora Asahi base, with WERROR enabled. Keep the drivers and their selections as the source of those dependencies. Assisted-by: LLM Signed-off-by: Ryan Murray --- arch/arm64/configs/asahi.config | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm64/configs/asahi.config b/arch/arm64/configs/asahi.config index d07b70afd9294..bc3aa26126fbc 100644 --- a/arch/arm64/configs/asahi.config +++ b/arch/arm64/configs/asahi.config @@ -48,7 +48,6 @@ CONFIG_SND_SOC_APPLE_T8140_AOP_AUDIO=m CONFIG_SND_SOC_APPLE_MACAUDIO=m CONFIG_SND_SOC_CS42L83=m CONFIG_SND_SOC_CS42L84=m -CONFIG_SND_SOC_MAX98357A=m CONFIG_SND_SOC_TAS2764=m CONFIG_SND_SOC_TAS2770=m CONFIG_HID_APPLE=m @@ -69,12 +68,8 @@ CONFIG_APPLE_DART_J713_DCP=y CONFIG_APPLE_DOCKCHANNEL=m CONFIG_SERIAL_APPLE_DOCKCHANNEL=y CONFIG_SERIAL_APPLE_DOCKCHANNEL_EARLYCON=y -CONFIG_APPLE_MAILBOX=y CONFIG_APPLE_PMGR_MISC=y -CONFIG_APPLE_RTKIT=y CONFIG_APPLE_RTKIT_HELPER=m -CONFIG_APPLE_AOP=m -CONFIG_KEYS=y CONFIG_TRUSTED_KEYS=y # CONFIG_TRUSTED_KEYS_TPM is not set # CONFIG_TRUSTED_KEYS_TEE is not set @@ -85,7 +80,6 @@ CONFIG_APPLE_PMP_THERMAL=m CONFIG_APPLE_T8132_PLATFORM_HANDOFF=y CONFIG_IIO_AOP_SENSOR_LAS=m CONFIG_IIO_AOP_SENSOR_ALS=m -CONFIG_RUST_FW_LOADER_ABSTRACTIONS=y CONFIG_PHY_APPLE_ATC=m CONFIG_PHY_APPLE_T6040_USB2=m CONFIG_PHY_APPLE_DPTX=m From cb7d9ab58d5cd46d46bf305c59669f1c1ec7bd5b Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Mon, 26 Oct 2026 18:08:31 +1100 Subject: [PATCH 2/2] arm64: configs: inherit the energy model from both bases Both defconfig and the retained Fedora base already enable ENERGY_MODEL. Removing the extra fragment request leaves the complete resolved config unchanged on both recipes with WERROR. Keep the power allocator governor and its default request. Assisted-by: LLM --- arch/arm64/configs/asahi.config | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/configs/asahi.config b/arch/arm64/configs/asahi.config index bc3aa26126fbc..e3b56942692b3 100644 --- a/arch/arm64/configs/asahi.config +++ b/arch/arm64/configs/asahi.config @@ -8,7 +8,6 @@ CONFIG_ARM64_VA_BITS_48=y CONFIG_ARM64_USER4K_EXPERIMENTAL=y CONFIG_ARM64_MEMORY_MODEL_CONTROL=y CONFIG_ARM_APPLE_CPUIDLE=y -CONFIG_ENERGY_MODEL=y CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR=y CONFIG_BT_BRCMEXT=y