mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
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:
parent
93abc760b2
commit
8af2489d84
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue