]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Use the security flags in pnv_setup_rfi_flush()
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 27 Mar 2018 12:01:50 +0000 (23:01 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 27 Mar 2018 12:44:53 +0000 (23:44 +1100)
commitd286eccc4b4cb7104e29de89382d419ac0f8f0a4
tree2c4f3ee6f3063a8ecc204bac30189982a379cb39
parentbd771f8adca7399669a02e987f31079cc7135839
powerpc/powernv: Use the security flags in pnv_setup_rfi_flush()

Now that we have the security flags we can significantly simplify the
code in pnv_setup_rfi_flush(), because we can use the flags instead of
checking device tree properties and because the security flags have
pessimistic defaults.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/setup.c