omap iommu: Reject unaligned addresses at setting page table entry
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Thu, 6 May 2010 15:24:04 +0000 (18:24 +0300)
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Fri, 14 May 2010 07:23:39 +0000 (10:23 +0300)
commit4abb761749abfb4ec403e4054f9dae2ee604e54f
tree9d1be52063ff53ef48be7d769db1c2153a31aa29
parente0a42e4fcb6bf9f93c7e63246738333040263e3e
omap iommu: Reject unaligned addresses at setting page table entry

This rejects unaligned device virtual address('da') and physical
address('pa') and informs error to caller when a page table entry is
set. Otherwise, a wrong address can be used by IO device.

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Cc: Hari Kanigeri <h-kanigeri2@ti.com>
arch/arm/plat-omap/iommu.c