Repository navigation
PCI: apple: name the tunable that has no register window - #1606
Merged
RyanTheTide merged 1 commit intoNov 12, 2026
Merged
RyanTheTide merged 1 commit into
RyanTheTide merged 1 commit into
Conversation
A tunable whose register window the device tree does not list returned -EINVAL from the probe with no message. On the K114c a stale device tree (pcie0 without the four tunable windows) failed that way, and the boot log said nothing about why. Report which property names the missing window, and report a cell count that is not a multiple of four separately. Signed-off-by: Joshua Warren <[email protected]>
RyanTheTide
marked this pull request as ready for review
November 12, 2026 01:40
RyanTheTide
approved these changes
Nov 12, 2026
RyanTheTide
left a comment
Contributor
There was a problem hiding this comment.
Thanks Joshua. Only the error path of apple_pcie_t6050_tune_host() changes, and a missing reg window and a bad cell count now say which property is wrong. Builds clean with the rest of the series; no change on a correct tree.
RyanTheTide
merged commit Nov 12, 2026
de6a8d4
into
aurora-silicon:integration/aurora
1 check passed
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.
A tunable whose register window is missing from the device tree made
apple_pcie_t6050_tune_host()return-EINVALwith no message. On the 14-inch M5 Max MacBook Pro a stale device tree (pcie0 without the four tunable windows) failed the probe that way, and the boot log gave no hint. The cause took a decompile of the live tree to find.The probe now names the property and the missing
regwindow, and reports a cell count that is not a multiple of four as its own error. No behavior change on a correct tree.