Re: [PATCH] powerpc: pseries: Fix kexec on machines with more than 4TB of RAM

2011-07-26 Thread Michael Neuling
> On a box with 8TB of RAM the MMU hashtable is 64GB in size. That > means we have 4G PTEs. pSeries_lpar_hptab_clear was using a signed > int to store the index which will overflow at 2G. Wow, I hear... "Anton Blanchard's machine has more memory in it's MMU than you have in total". Acked-by: Mich

[PATCH] powerpc: pseries: Fix kexec on machines with more than 4TB of RAM

2011-07-26 Thread Anton Blanchard
On a box with 8TB of RAM the MMU hashtable is 64GB in size. That means we have 4G PTEs. pSeries_lpar_hptab_clear was using a signed int to store the index which will overflow at 2G. Signed-off-by: Anton Blanchard Cc: --- Index: linux-powerpc/arch/powerpc/platforms/pseries/lpar.c ==