mali-bifrost: 6.19 compat and MGLRU/madvise support#2389
Open
aenertia wants to merge 2 commits intoROCKNIX:nextfrom
Open
mali-bifrost: 6.19 compat and MGLRU/madvise support#2389aenertia wants to merge 2 commits intoROCKNIX:nextfrom
aenertia wants to merge 2 commits intoROCKNIX:nextfrom
Conversation
Move RK3566 from 6.18.13 to 6.19.5, aligning with SM8250/SM8650/H700. All existing RK3566 device patches apply cleanly against 6.19.5.
Fix mm_get_unmapped_area() signature change in kernel 6.19 where the struct mm_struct* first parameter was removed. Adds version check for >= 6.19 to use new signature. Applies to all mali-bifrost targets (RK3566, RK3326, S922X). Also enables Multi-Gen LRU (MGLRU) reclaim and madvise compatibility in Mali kbase driver for RK3566. VM_NOHUGEPAGE prevents kernel fault failures during standard 4K Mali buffer mapping under compaction.
Contributor
Author
|
CI Kicked off here: https://github.com/aenertia/distribution/actions/runs/22784303903 |
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.
mali-bifrost: 6.19 compat and MGLRU/madvise support
Fix mm_get_unmapped_area() signature change in kernel 6.19 where the
struct mm_struct* first parameter was removed. Adds version check
for >= 6.19 to use new signature. Applies to all mali-bifrost targets
(RK3566, RK3326, S922X).
Also enables Multi-Gen LRU (MGLRU) reclaim and madvise compatibility
in Mali kbase driver for RK3566. VM_NOHUGEPAGE prevents kernel fault
failures during standard 4K Mali buffer mapping under compaction.
REF #2388