[PATCH 0/4] powerpc/mm: Cleanups to hotplug memory path

From: David Gibson
Date: Mon Feb 08 2016 - 22:34:39 EST


The cleanups to the (guest side) memory hotplug paths came up in the
context of allowing hash page table resizing for PAPR guests.
However, they stand on their own and can improve reporting of several
error conditions that could already happen.

Please apply.

David Gibson (4):
powerpc/mm: Clean up error handling for htab_remove_mapping
powerpc/mm: Handle removing maybe-present bolted HPTEs
powerpc/mm: Clean up memory hotplug failure paths
powerpc/mm: Split hash page table sizing heuristic into a helper

arch/powerpc/include/asm/machdep.h | 2 +-
arch/powerpc/include/asm/mmu-hash64.h | 3 ++
arch/powerpc/mm/hash_utils_64.c | 73 ++++++++++++++++++++++-------------
arch/powerpc/mm/init_64.c | 47 ++++++++++++++--------
arch/powerpc/mm/mem.c | 10 ++++-
arch/powerpc/platforms/pseries/lpar.c | 9 +++--
6 files changed, 96 insertions(+), 48 deletions(-)

--
2.5.0