]> 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)
commit6f7b5b0b57c55d45ff7f268eea1844c10123c266
treeb453a0e9f72a00c0fb2730fe0bf24c853befe8ef
parent8c68594bf8488ef62877489ae16ee266d0e28b16
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