powerpc/powernv: Define real-mode versions of OPAL XICS accessors
authorPaul Mackerras <paulus@ozlabs.org>
Mon, 21 Nov 2016 05:01:36 +0000 (16:01 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 22 Nov 2016 23:32:11 +0000 (10:32 +1100)
commitffe6d810fe95208b9f132fb7687930185129305a
tree42bc124a623f522fe273344e709ad6da11bbfb82
parent9d66195807ac6cb8a14231fd055ff755977c5fca
powerpc/powernv: Define real-mode versions of OPAL XICS accessors

This defines real-mode versions of opal_int_get_xirr(), opal_int_eoi()
and opal_int_set_mfrr(), for use by KVM real-mode code.

It also exports opal_int_set_mfrr() so that the modular part of KVM
can use it to send IPIs.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal-wrappers.S
arch/powerpc/platforms/powernv/opal.c