ppc/xive: Make XIVE generate the proper interrupt types
commit4aca9786542e427d4337503566efdf09f2cb87cd
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 6 Jun 2019 17:44:09 +0000 (6 19:44 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 12 Jun 2019 00:41:50 +0000 (12 10:41 +1000)
treea0c13c6cfc240ac73a588f361045d77953c677f2
parent8d409261416171efcaf3f741f677566308c16290
ppc/xive: Make XIVE generate the proper interrupt types

It should be generic Hypervisor Virtualization interrupts for HV
directed rings and traditional External Interrupts for the OS directed
ring.

Don't generate anything for the user ring as it isn't actually
supported.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20190606174409.12502-1-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xive.c
include/hw/ppc/xive.h