Re: [PATCH v3] drm/panthor: Fix firmware initialization on systems with a page size > 4k

2024-10-30 Thread Boris Brezillon
On Wed, 30 Oct 2024 16:02:31 +0100 Boris Brezillon wrote: > The system and GPU MMU page size might differ, which becomes a > problem for FW sections that need to be mapped at explicit addresses > since our PAGE_SIZE alignment might cover a VA range that's > expected to be used for another section

[PATCH v3] drm/panthor: Fix firmware initialization on systems with a page size > 4k

2024-10-30 Thread Boris Brezillon
The system and GPU MMU page size might differ, which becomes a problem for FW sections that need to be mapped at explicit addresses since our PAGE_SIZE alignment might cover a VA range that's expected to be used for another section. Make sure we never map more than we need. Changes in v3: - Add R