]> 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)
commit97a891138af7987209b9a1ed44e7ce3771e6313c
tree2c4f3ee6f3063a8ecc204bac30189982a379cb39
parent9ae402d78f3cbe6129ed786fc2228091d0de381f
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