Fix TN9710P probe on MV88X3310 boards#82
Open
Skyline-23 wants to merge 1 commit intoacooks:release/linux-6.7.y-1from
Open
Fix TN9710P probe on MV88X3310 boards#82Skyline-23 wants to merge 1 commit intoacooks:release/linux-6.7.y-1from
Skyline-23 wants to merge 1 commit intoacooks:release/linux-6.7.y-1from
Conversation
- treat a zero PHY ID as the actual no-PHY signal so MDIO port 0 remains valid\n- reset the PHY on the scanned MDIO port instead of hardcoding port 1\n- pass the DMA address directly to dma_free_coherent to avoid the probe-time crash on newer kernels
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.
Summary
dma_free_coherent()to avoid the probe-time crash seen on Ubuntu 24.04 / kernel 6.8Validation
1fc9:4027, subsystem1fc9:3015)PHY init failedenp3s0bdx_tx_free(); after the fix, the crash no longer reproducesNotes