linux/arch/powerpc/include
Anton Blanchard 5246adec59 powerpc/pseries: Use H_CLEAR_HPT to clear MMU hash table during kexec
An hcall was recently added that does exactly what we need during kexec
- it clears the entire MMU hash table, ignoring any VRMA mappings.

Try it and fall back to the old method if we get a failure.

On a POWER8 box with 5TB of memory, this reduces the time it takes to
kexec a new kernel from from 4 minutes to 1 minute.

Signed-off-by: Anton Blanchard <anton@samba.org>
Tested-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
[mpe: Split into separate functions and tweak function naming]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-11-14 11:11:51 +11:00
..
asm powerpc/pseries: Use H_CLEAR_HPT to clear MMU hash table during kexec 2016-11-14 11:11:51 +11:00
uapi/asm powerpc/ptrace: Enable support for Performance Monitor registers 2016-08-01 11:15:24 +10:00