-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iommu: bcm2712-iommu: Map and unmap multiple pages in a single call
For efficiency, the map_pages() and unmap_pages() calls now pay attention to their "count" argument. Remove a special case for a "pass-through" address range, which the DMA/IOMMU subsystem isn't told exists and should never use. Fix a bug where we omitted to set *mapped to 0 in error cases. Minor style fixes and tidying. Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
- Loading branch information
1 parent
abb8043
commit 3bff9ed
Showing
1 changed file
with
67 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters