linux/arch/powerpc
Anton Blanchard d900bd7366 powerpc/iommu: Fix multiple issues with IOMMU pools code
There are a number of issues in the recent IOMMU pools code:

- On a preempt kernel we might switch CPUs in the middle of building
  a scatter gather list. When this happens the handle hint passed in
  no longer falls within the local CPU's pool. Check for this and
  fall back to the pool hint.

- We were missing a spin_unlock/spin_lock in one spot where we
  switch pools.

- We need to provide locking around dart_tlb_invalidate_all and
  dart_tlb_invalidate_one now that the global lock is gone.

Reported-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: <stable@kernel.org> [v3.6]
2012-10-04 18:03:20 +10:00
..
boot Merge remote-tracking branch 'agust/next' into next 2012-09-27 12:47:17 +10:00
configs powerpc/85xx: Enable USB support in p1023rds_defconfig 2012-09-19 08:38:16 -05:00
include/asm powerpc/perf: Sample only if SIAR-Valid bit is set in P7+ 2012-09-27 12:51:05 +10:00
kernel powerpc/iommu: Fix multiple issues with IOMMU pools code 2012-10-04 18:03:20 +10:00
kvm powerpc/mm: Convert virtual address to vpn 2012-09-17 16:31:49 +10:00
lib powerpc: Fix VMX fix for memcpy case 2012-10-04 18:02:43 +10:00
math-emu powerpc/math_emu/efp: Look for errata handler when type mismatches 2011-10-06 23:36:47 -05:00
mm powerpc: Remove tlb batching hack for nighthawk 2012-09-27 12:51:06 +10:00
net powerpc: Start using ___PPC_RA/B/S/T where necessary 2012-07-10 19:18:25 +10:00
oprofile powerpc/oprofile: Fix marked events support on Power7+ not set. 2012-09-07 11:10:54 +10:00
perf powerpc/perf: Sample only if SIAR-Valid bit is set in P7+ 2012-09-27 12:51:05 +10:00
platforms powerpc/eeh: Don't release eeh_mutex in eeh_phb_pe_get 2012-09-27 12:51:07 +10:00
sysdev powerpc/iommu: Fix multiple issues with IOMMU pools code 2012-10-04 18:03:20 +10:00
xmon powerpc: Add an xmon command to dump one or all pacas 2012-09-18 15:02:36 +10:00
Kconfig Merge remote-tracking branch 'kumar/next' into next 2012-09-18 16:04:33 +10:00
Kconfig.debug powerpc: IOMMU fault injection 2012-07-10 19:18:59 +10:00
Makefile crypto: nx - move nx build to driver/crypto Makefile 2012-06-27 14:42:00 +08:00
relocs_check.pl powerpc: Process dynamic relocations for kernel 2011-12-20 10:21:08 -05:00