]> git.ipfire.org Git - people/arne_f/kernel.git/commit
powerpc/pseries: Query hypervisor for count cache flush settings
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Apr 2019 11:46:16 +0000 (21:46 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2019 06:36:42 +0000 (08:36 +0200)
commite745d1518d7a3766841d06f7846d4217253817ed
treea4b79fa9e831ab5920d19750df7ef37ec7e8f429
parent98f6dedbcb1fe30ee9e7eeafd220269ae75b8afd
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: Sasha Levin <sashal@kernel.org>
arch/powerpc/include/asm/hvcall.h
arch/powerpc/platforms/pseries/setup.c