dart: Increase IO address space to 36-bit

This address space a single TTBR can hold with a 16k page size. Required
for DCP on M2.

Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
Janne Grunau 2023-01-25 20:46:25 +01:00 committed by Hector Martin
parent 93abc760b2
commit 8af2489d84

View file

@ -657,7 +657,7 @@ u64 dart_find_iova(dart_dev_t *dart, s64 start, size_t len)
if (start < 0 || start % SZ_16K)
return -1;
uintptr_t end = 1LLU << 32;
uintptr_t end = 1LLU << 36;
uintptr_t iova = start;
while (iova + len <= end) {