omap: iommu: fix pte programming
Fix the pte programming to set the page attributes correctly by replacing the bitwise check with an explicit values check. Otherwise, 16MB entries will be erroneously programmed like 4KB entries, which is not what the hardware expects. Signed-off-by: NSuman Anna <s-anna@ti.com> Acked-by: NHiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
Showing
想要评论请 注册 或 登录