Re: [PATCH v2] drm/etnaviv: don't truncate physical page address

2022-09-16 Thread Philipp Zabel
On Fr, 2022-09-16 at 12:40 +0200, Lucas Stach wrote: > While the interface for the MMU mapping takes phys_addr_t to hold a > full 64bit address when necessary and MMUv2 is able to map physical > addresses with up to 40bit, etnaviv_iommu_map() truncates the address > to 32bits. Fix this by using the

[PATCH v2] drm/etnaviv: don't truncate physical page address

2022-09-16 Thread Lucas Stach
While the interface for the MMU mapping takes phys_addr_t to hold a full 64bit address when necessary and MMUv2 is able to map physical addresses with up to 40bit, etnaviv_iommu_map() truncates the address to 32bits. Fix this by using the correct type. Fixes: 931e97f3afd8 ("drm/etnaviv: mmuv2: sup