]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/pseries: Query hypervisor for count cache flush settings
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 29 Mar 2019 11:26:06 +0000 (22:26 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2019 04:25:13 +0000 (06:25 +0200)
commit05cc3eb64e1532606ae632f527b1e5821f1b9305
tree8dc7be05426ccec2b8800a139c569b4131151f63
parent9346855c66dc54a15febd728c2a78d72bc3454c8
powerpc/pseries: Query hypervisor for count cache flush settings

commit ba72dc171954b782a79d25e0f4b3ed91090c3b1e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/include/asm/hvcall.h
arch/powerpc/platforms/pseries/setup.c