Skip to content

omap: iovmm: Fix IOVMM check for fixed 'da'

David Cohen linux-media linux-omap 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v23 patches 5 repliesSuperseded
  3. v13 patches 14 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is setarch/arm/plat-omap/iovmm.c+7 -60 replies
2/2omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flagarch/arm/plat-omap/include/plat/iovmm.h arch/arm/plat-omap/iovmm.c+5 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] omap: iovmm: Fix IOVMM check for fixed 'da'

Hi,

Previous patch 2/3 was dropped in this new version. Patch 1 was updated according to a comment it got.

---
IOVMM driver checks input 'da == 0' when mapping address to determine whether user wants fixed 'da' or not. At the same time, it doesn't disallow address 0x0 to be used, what creates an ambiguous situation. This patch set moves fixed 'da' check to the input flags.

Br,

David Cohen
---

David Cohen (1):
omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flag

Michael Jones (1):
omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is set

 arch/arm/plat-omap/include/plat/iovmm.h |    2 --
 arch/arm/plat-omap/iovmm.c              |   27 ++++++++++++---------------
 2 files changed, 12 insertions(+), 17 deletions(-)
Signature · 1 line
1.7.4.1