powerpc/pseries: Flush lazy kernel mappings after unplug operations
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 6 Apr 2010 15:03:40 +0000 (15:03 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 28 Apr 2010 06:23:24 +0000 (16:23 +1000)
commitb4a26be9f6f8bb72998e445cc75fc6dc0c29513a
tree0cb681f30a873a615d4f4a648fb6ee392b278b06
parent4b83c330b4d38e869111bda6e9077d4f61ed974a
powerpc/pseries: Flush lazy kernel mappings after unplug operations

This ensures that the translations for unmapped IO mappings or
unmapped memory are properly removed from the MMU hash table
before such an unplug. Without this, the hypervisor refuses the
unplug operations due to those resources still being mapped by
the partition.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/hotplug-memory.c
drivers/pci/hotplug/rpadlpar_core.c
drivers/pci/hotplug/rpaphp_core.c