]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 15 May 2018 05:35:36 +0000 (07:35 +0200)
commit162ff407c51b7c7a8fefabc31a8e3ffb1393a5ed
treedad2f359619083f7252f7bda6c47797836562c2a
parent2342a214e36d57ba160f8493e3c677cbdf4b4a70
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>
(cherry picked from commit 37c0bdd00d3ae83369ab60a6712c28e11e6458d5)

CVE-2018-3639 (powerpc)

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/powerpc/platforms/powernv/setup.c