]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/cell: Fix iommu exception reporting
authorJeremy Kerr <jk@ozlabs.org>
Thu, 19 Mar 2009 16:46:35 +0000 (16:46 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Mar 2009 02:47:32 +0000 (13:47 +1100)
commit2a7d55fda58eb4e3652252d4f71222bd1ff90c5e
tree7c6fd2b80064ca8e80b1770034dcdcbb616a3de5
parent2319f1239592d0de80414ad2338c2bd7384a2a41
powerpc/cell: Fix iommu exception reporting

Currently, we will report a page fault as a segment fault, and report
a segment fault as both a page and segment fault.

Fix the SPF_P definition to be correct according to the iommu docs, and
mask before comparing.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/iommu.c