Skip to content

Conversation

@HeyMeco
Copy link
Collaborator

@HeyMeco HeyMeco commented Nov 8, 2025

From upstream: https://lore.kernel.org/dri-devel/20251107171214.1186299-1-boris.brezillon@collabora.com/T/#u

The shmem layer zeroes out the new pages using cached mappings, and if we don't CPU-flush we might leave dirty cachelines behind, leading to potential data leaks and/or asynchronous buffer corruption when dirty cachelines are evicted.

Fixes: 8a1cc07 ("drm/panthor: Add GEM logical block")

The shmem layer zeroes out the new pages using cached mappings, and if
we don't CPU-flush we might leave dirty cachelines behind, leading to
potential data leaks and/or asynchronous buffer corruption when dirty
cachelines are evicted.

Fixes: 8a1cc07 ("drm/panthor: Add GEM logical block")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
@HeyMeco
Copy link
Collaborator Author

HeyMeco commented Nov 8, 2025

The patch applied cleanly but needs to be tested to make sure it didn't break anything downstream.
If confirmed let's get this merged as quick as possible

@HeyMeco HeyMeco merged commit 3bfbb94 into armbian:rk-6.1-rkr5.1 Jan 16, 2026
1 check passed
@HeyMeco HeyMeco deleted the PanthorFixNov25 branch January 16, 2026 11:40
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.

2 participants