powerpc/powernv: Check device-tree for RFI flush settings
authorOliver O'Halloran <oohall@gmail.com>
Tue, 9 Jan 2018 16:07:15 +0000 (03:07 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Feb 2018 11:35:55 +0000 (12:35 +0100)
commit6aec12e1869e31839f317c02f81a92c393222f71
tree5156e5b7368e0dfb4d763baf1d423020ad5a95b5
parent7db0fff62f52c3f23c39262b9e037d8b43dfc88d
powerpc/powernv: Check device-tree for RFI flush settings

commit 6e032b350cd1fdb830f18f8320ef0e13b4e24094 upstream.

New device-tree properties are available which tell the hypervisor
settings related to the RFI flush. Use them to determine the
appropriate flush instruction to use, and whether the flush is
required.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/powernv/setup.c