]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Query hypervisor for count cache flush settings
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 23 Jul 2018 15:07:55 +0000 (01:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 14:32:26 +0000 (00:32 +1000)
commitb7085824e82542641898b95919e3dbb7113544bc
treeb453a0e9f72a00c0fb2730fe0bf24c853befe8ef
parent0896e37d6a184ff2a18aa2504fdc998b731f3363
powerpc/pseries: Query hypervisor for count cache flush settings

Use the existing hypercall to determine the appropriate settings for
the count cache flush, and then call the generic powerpc code to set
it up based on the security feature flags.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/hvcall.h
arch/powerpc/platforms/pseries/setup.c