powerpc/xive: add OPAL extensions for the XIVE native exploitation support
authorCédric Le Goater <clg@kaod.org>
Wed, 10 Apr 2019 17:04:33 +0000 (19:04 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Apr 2019 05:31:41 +0000 (15:31 +1000)
commit88ec6b93c8e7d6d4ffaf6ad6395ceb3bf552de15
tree7ecd1492c4ec25868724001ff186004929cb6c11
parent8c2ffd9174779014c3fe1f96d9dc3641d9175f00
powerpc/xive: add OPAL extensions for the XIVE native exploitation support

The support for XIVE native exploitation mode in Linux/KVM needs a
couple more OPAL calls to get and set the state of the XIVE internal
structures being used by a sPAPR guest.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/opal-api.h
arch/powerpc/include/asm/opal.h
arch/powerpc/include/asm/xive.h
arch/powerpc/platforms/powernv/opal-call.c
arch/powerpc/sysdev/xive/native.c