Repository navigation
arm: apple: Keep booting when the helper OS fixup fails outside J713 - #10
Merged
Merged
Conversation
ft_board_setup() now returns the error of apple_rtkit_helper_fdt_fixup(). On J713 that is wanted: a refused handoff must not reach Linux. On other machines, the T8140 MTP among them, a failed fixup used to cost only the running-session handoff. Now it fails the FDT fixup, so the boot stops. Keep the error fatal on J713 only. Elsewhere, log it and continue, as before. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
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.
Follow-up to #7 (Eryk's J713/T8132 boot support).
#7 made
ft_board_setup()return the error fromapple_rtkit_helper_fdt_fixup(). On J713 that is intended: a refused handoff must not reach Linux. On T8140, the J700 Neo, a failed MTP fixup used to cost only the running-session handoff, and the boot went on. With #7 it fails the FDT fixup, so the boot stops.This keeps the error fatal on J713, using the same
of_machine_is_compatible("apple,j713")gate #7 uses, and on every other machine logs it and continues.Testing
apple_m1_defconfigbuilds with 0 warnings: aurora-wip before arm: apple: add J713/T8132 (M4 MacBook Air) boot support #7, after arm: apple: add J713/T8132 (M4 MacBook Air) boot support #7, and with this commit.CONFIG_APPLE_J713_FDT=yandCONFIG_SYS_FDT_PAD=0x40000.🤖 Generated with Claude Code