public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] omap: iovmm: Fix IOVMM check for fixed 'da'
@ 2011-03-08 20:15 David Cohen
  2011-03-08 20:15 ` [PATCH v2 1/3] omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is set David Cohen
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: David Cohen @ 2011-03-08 20:15 UTC (permalink / raw)
  To: Hiroshi.DOYU
  Cc: linux-omap, fernando.lugo, linux-media, laurent.pinchart,
	sakari.ailus, David Cohen

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.
It also fixes da_start value for ISP IOMMU instance.

Br,

David Cohen
---

David Cohen (2):
  omap3: change ISP's IOMMU da_start address
  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/mach-omap2/omap-iommu.c        |    2 +-
 arch/arm/plat-omap/include/plat/iovmm.h |    2 --
 arch/arm/plat-omap/iovmm.c              |   30 +++++++++++++++---------------
 3 files changed, 16 insertions(+), 18 deletions(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-03-09  8:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 20:15 [PATCH v2 0/3] omap: iovmm: Fix IOVMM check for fixed 'da' David Cohen
2011-03-08 20:15 ` [PATCH v2 1/3] omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is set David Cohen
2011-03-08 20:31   ` Guzman Lugo, Fernando
2011-03-09  7:56     ` Michael Jones
2011-03-08 20:15 ` [PATCH v2 2/3] omap3: change ISP's IOMMU da_start address David Cohen
2011-03-09  7:43   ` Sakari Ailus
2011-03-09  8:19     ` David Cohen
2011-03-08 20:15 ` [PATCH v2 3/3] omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flag David Cohen
2011-03-08 20:42   ` Guzman Lugo, Fernando

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox