]> err.no Git - linux-2.6/commit
parisc: fix IOMMU's device boundary overflow bug on 32bits arch
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Wed, 5 Mar 2008 08:09:30 +0000 (17:09 +0900)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 6 Mar 2008 01:55:13 +0000 (17:55 -0800)
commit4a0d3f3afddf01dfcfdcc826f0b706dbc01f4ef4
treed97a16be3c5c6e3df17cc2ae535cada149486a51
parent41f7f60d31e5e1dfc9a92957b3e14e08a2f04964
parisc: fix IOMMU's device boundary overflow bug on 32bits arch

On 32bits boxes, boundary_size becomes zero due to a overflow and we
hit BUG_ON in iommu_is_span_boundary.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Kyle McMartin <kyle@parisc-linux.org>
Cc: Matthew Wilcox <matthew@wil.cx>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/parisc/ccio-dma.c
drivers/parisc/sba_iommu.c