powerpc/pseries: Disable interrupts around IOMMU percpu data accesses
authorAnton Blanchard <anton@samba.org>
Sun, 3 Jun 2012 19:42:13 +0000 (19:42 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 3 Jul 2012 04:14:46 +0000 (14:14 +1000)
commitc1703e85a7b20ffcefd5360e2542460737ecc15c
treea2aa1cb255beab5b00336121b2aeb9adefc24180
parentb3f271e86e5a440713716bb222e1aa1227994c50
powerpc/pseries: Disable interrupts around IOMMU percpu data accesses

tce_buildmulti_pSeriesLP uses a per cpu page to communicate with the
hypervisor. We currently rely on the IOMMU table spinlock but
subsequent patches will be removing that so disable interrupts
around all accesses of tce_page.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/iommu.c