aboutsummaryrefslogtreecommitdiff
path: root/lib/syscall.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2009-08-28 12:06:29 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-24 08:44:12 -0700
commit796194121cb3649717142f289ef3ccf4e68107c8 (patch)
tree25fd76bc49e162968457682f4789652ae9a78373 /lib/syscall.c
parent6cc51b05967b1f4b996076a1c97ce65f37376e18 (diff)
downloadlinux-linaro-stable-796194121cb3649717142f289ef3ccf4e68107c8.tar.gz
powerpc/pseries: Fix to handle slb resize across migration
commit 46db2f86a3b2a94e0b33e0b4548fb7b7b6bdff66 upstream. The SLB can change sizes across a live migration, which was not being handled, resulting in possible machine crashes during migration if migrating to a machine which has a smaller max SLB size than the source machine. Fix this by first reducing the SLB size to the minimum possible value, which is 32, prior to migration. Then during the device tree update which occurs after migration, we make the call to ensure the SLB gets updated. Also add the slb_size to the lparcfg output so that the migration tools can check to make sure the kernel has this capability before allowing migration in scenarios where the SLB size will change. BenH: Fixed #include <asm/mmu-hash64.h> -> <asm/mmu.h> to avoid breaking ppc32 build Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions