Repository navigation
arm64: mirror the common config and match-data cleanup on WIP - #470
Merged
RyanTheTide merged 11 commits intoOct 28, 2026
Merged
Conversation
Resolve each candidate removal over both arm64 defconfig and the Fedora Asahi base. The 36 removed requests cause no resolved configuration changes on either recipe: the bases or the remaining selections retain those drivers and capabilities. Keep the default thermal governor available over the Fedora base by enabling ENERGY_MODEL and THERMAL_GOV_POWER_ALLOCATOR, as identified in #438. Request 48-bit VA and mixed-granule userspace as in #394, and build the native G15 backend alongside the other supported GPUs. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
The probe fixture calls cd321x_pm_init() on an uninitialised stack object. That helper sets the initial phase and link-event budget but expects the other fields to have the zeroed allocation used by the real driver. The fixture can read arbitrary setup_pending values and fail its retry assertions under UBSan. Start it from the same zeroed state as the other fixtures. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
dcpext_probe has no consumer; the external display paths already use their compatible and firmware admission rules. Remove the unused registration. The generic show_notch preference already applies to the 14.x and 26.6 internal displays. Use it directly and remove t6030_show_notch, which only duplicated that choice for those firmware variants. Document the command-line migration while retaining the common notch preference and the matching m1n1 framebuffer preference. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
The T6030 backend is already enabled in the shared kernel fragment, but it has a separate build option and repeated conditional code. Compile it with the common SIO driver and select its boot-table validator, FIFO threshold and descriptor handling through the existing apple,t6030-sio compatible. The generic apple,sio profile retains the M1/M2 behavior. Keep the protocol-10 validation and refuse incompatible tables before DMA or hardware setup. Remove APPLE_SIO_T6030 and its shared fragment request. Update the binding description, synthetic DT overlay and KUnit probe cases to cover the specific match, missing/older tables and an unknown compatible. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Integration #388 already replaced these four files with the shared asahi.config recipe. Remove the stale copies from aurora-wip after carrying the common configuration and compatible-data cleanup, so the branch has the same hardware recipe as integration. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Building G15 and G16 together exposes stale initializers and calls in the G15 adapter. Initialise the inactive G16 platform owner and preserve the RTKit default protocol negotiation and legacy shmem callback. Resolve timestamp handles through Buffer::firmware_mapping(), retaining the firmware mapping and rejecting CPU-only destinations. Pass no reserved region map when walking G15 host-allocated RAM page tables, matching the same shared API contract already used by G16. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
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 <[email protected]>
Carry the existing integration errno and GNU make selection fixes onto the WIP consistency port. Extracted PM helpers use the host errno header, the synthetic EREMOTEIO status has a portable definition, and Kconfig producer checks honour MAKE or find gmake. The initial WIP Darwin run exposed these fixture-only failures; no driver or test timeout changes. Based on the public integration/aurora fixes at 9cbdd07. Assisted-by: LLM
The universal and Fedora bases already enable ENERGY_MODEL. Drop the redundant fragment request, retaining the power allocator governor and default. Both complete integration resolutions have zero delta from this removal. Assisted-by: LLM
Device::parent is a public API in the carried Asahi abstractions, and AOP service lookup uses it with AUXILIARY_BUS disabled. The inherited expectation described the upstream crate-private helper and becomes unfulfilled in the built-in Asahi/firmware KUnit recipe. WERROR correctly rejects it. Remove the obsolete dead_code expectation from the public method. Keep warning enforcement and the minimal test config; do not enable an unrelated bus to hide the warning. Production behavior is unchanged. Assisted-by: LLM (cherry picked from commit e7843a8)
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.
Bring the WIP tip onto the common hardware recipe and mirror the dead display-parameter and SIO compatible-data cleanup. Retire four stale J700 config files already removed on integration, keep intentional J813 RAM/USB4 debug recipes and preserve the explicit AVE experiment. The final fragment has 88 requests and includes the same USER4K/G15/thermal requirements.
Carry the G15 API, fixture and public Device::parent lint fixes; backport the existing public integration host-fixture portability changes. Unrelated WIP drivers remain on WIP. This targets aurora-wip directly and does not move them onto integration.
Validation at 2706037: complete Image/modules/dtbs builds passed with WERROR for both ARM64 defconfig + asahi.config and Fedora-base + asahi.config. Both Apple dtbs_check commands ran; inherited schema diagnostics are retained, with unchanged hardware DTS/schema constraints. QEMU KUnit: 319 passed, 94 skipped, zero failures/crashes/errors. Required SIO, thermal, USER4K and applicable Asahi suites execute. The full apple-dcp host suite passes 63/63, with source/tree/compiler/time/checksum receipts. Complete resolved configs preserve every enabled driver.
Hardware smokes before merge: use the same image on Neo, M1 Pro, M2 and J616s for boot, native display/GPU, protected audio, input, networking, USB, thermal governor/temperature/fan behavior and applicable suspend/refusal behavior. M3 G15/SIO and J713 display/GPU also need affected-device coverage. Keep the previous daily and user sessions available; target operations remain controller-gated. No hardware qualification is claimed.