diff options
| author | Laurent Pinchart <[email protected]> | 2014-03-07 23:44:38 +0000 |
|---|---|---|
| committer | Laurent Pinchart <[email protected]> | 2014-04-16 14:30:18 +0000 |
| commit | 286f600bc890347f7ec7bd50d33210d53a9095a3 (patch) | |
| tree | e6af94983a711b69aeb5f5208fc6082d3ab3442d /tools/perf/scripts/python | |
| parent | iommu/omap: Remove comment about supporting single page mappings only (diff) | |
| download | kernel-286f600bc890347f7ec7bd50d33210d53a9095a3.tar.gz kernel-286f600bc890347f7ec7bd50d33210d53a9095a3.zip | |
iommu/omap: Fix map protection value handling
The prot flags passed to the IOMMU map handler are defined in
include/linux/iommu.h as IOMMU_(READ|WRITE|CACHE|EXEC). However, the
driver expects to receive MMU_RAM_* OMAP-specific flags. This causes
IOMMU flags being interpreted as page sizes, leading to failures.
Hardcode the OMAP mapping parameters to little-endian, 8-bits and
non-mixed page attributes. Furthermore, as the OMAP IOMMU doesn't
support read-only or write-only mappings, ignore the prot value.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Sakari Ailus <[email protected]>
Acked-by: Suman Anna <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
