Skip to content

mali-bifrost: 6.19 compat and MGLRU/madvise support#2389

Open
aenertia wants to merge 2 commits intoROCKNIX:nextfrom
aenertia:mali-bifrost-6.19
Open

mali-bifrost: 6.19 compat and MGLRU/madvise support#2389
aenertia wants to merge 2 commits intoROCKNIX:nextfrom
aenertia:mali-bifrost-6.19

Conversation

@aenertia
Copy link
Contributor

@aenertia aenertia commented Mar 6, 2026

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

aenertia added 2 commits March 7, 2026 10:56
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.
@aenertia
Copy link
Contributor Author

aenertia commented Mar 6, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant