Re: [PATCH] drm/panthor: Fix invalid handling of AS_LOCKADDR

2025-01-08 Thread Boris Brezillon
On Tue, 7 Jan 2025 17:27:31 + Florent Tomasin wrote: > Arm Mali GPUs require AS_LOCKADDR region to be 32KB > aligned, and does not support a size greater than > the one specified by the HW property: > `GPU_MMU_FEATURES_VA_BITS()`. > > NOTES: > - The size limitation is implementation defined.

[PATCH] drm/panthor: Fix invalid handling of AS_LOCKADDR

2025-01-07 Thread Florent Tomasin
Arm Mali GPUs require AS_LOCKADDR region to be 32KB aligned, and does not support a size greater than the one specified by the HW property: `GPU_MMU_FEATURES_VA_BITS()`. NOTES: - The size limitation is implementation defined. - Invalid alignment or size can result in an HW undefined behaviour.