]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Add hypercall wrappers for hash page table resizing
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 9 Dec 2016 00:07:35 +0000 (11:07 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 9 Feb 2017 10:45:48 +0000 (21:45 +1100)
commita22a63ca358d1c91d05b0a1dd4eace29abe71c83
treee0d64048d66813b0c053f61b9c637c66955cbd5b
parent767a2ecb22f2df4b9e45e606cc06b09f0768eea3
powerpc/pseries: Add hypercall wrappers for hash page table resizing

This adds the hypercall numbers and wrapper functions for the hash page
table resizing hypercalls.

These hypercall numbers are defined in the PAPR ACR "HPT resizing
option".

It also adds a new firmware feature flag to track the presence of the
HPT resizing calls.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/firmware.h
arch/powerpc/include/asm/hvcall.h
arch/powerpc/include/asm/plpar_wrappers.h
arch/powerpc/platforms/pseries/firmware.c