mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
Merge "dma-mapping-fast: Ensure reserved iovas are actually reserved"
This commit is contained in:
commit
a27d90db9e
1 changed files with 1 additions and 0 deletions
|
|
@ -893,6 +893,7 @@ static void fast_smmu_reserve_pci_windows(struct device *dev,
|
|||
start = (start - mapping->base) >> FAST_PAGE_SHIFT;
|
||||
end = (end - mapping->base) >> FAST_PAGE_SHIFT;
|
||||
bitmap_set(mapping->bitmap, start, end - start);
|
||||
bitmap_set(mapping->clean_bitmap, start, end - start);
|
||||
}
|
||||
spin_unlock_irqrestore(&mapping->lock, flags);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue