aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
authorJake Moilanen <moilanen@austin.ibm.com>2006-01-30 21:51:54 -0600
committerPaul Mackerras <paulus@samba.org>2006-02-07 21:28:38 +1100
commita958a2648602aaa8f98aeb3c1c914f1b8096bfdc (patch)
tree9cb3390ce32ae3292a5bcffe72b0acbab0920957 /arch/m32r
parent[PATCH] powerpc: Refuse to boot a kdump kernel via OF (diff)
downloadlinux-dev-a958a2648602aaa8f98aeb3c1c914f1b8096bfdc.tar.xz
linux-dev-a958a2648602aaa8f98aeb3c1c914f1b8096bfdc.zip
[PATCH] powerpc: IOMMU SG paranoia
This addresses two items, which are unlikely to be hit if we trust drivers. The first is moving a memory barrier below where the vmerged SG count is passed back, but before the list is set to end. If those instructions were reordered, there could be an issue in iommu_unmap_sg(). The second is making sure we terminate the list on the failure case of iommu_map_sg(). If a driver does not look at the failure return code, it could pass a ill-formed SG list to iommu_unmap_sg(). Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions