powerpc/powernv: Query firmware for count cache flush settings
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Apr 2019 11:46:17 +0000 (21:46 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2019 06:36:42 +0000 (08:36 +0200)
commitae361096d6857727275631d1d64bcd8fec2d8f25
tree38d44f4e213c682137ad2f54e241abad3cc2ecfd
parente745d1518d7a3766841d06f7846d4217253817ed
powerpc/powernv: Query firmware for count cache flush settings

commit 99d54754d3d5f896a8f616b0b6520662bc99d66b upstream.

Look for fw-features properties 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/platforms/powernv/setup.c