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, 23 Jan 2018 18:58:11 +0000 (19:58 +0100)
commit5dc597185411ef22cdb9d29563a4f447f9999afd
tree1a9086b75c815831341f5dcf2d28c8a6be69ebb6
parent4b5158cefcbd3132c9d382252dab4889c1bc8b56
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