ppc/xive: Provide escalation support
commitb4e3066684ea9379e09c8c6b0902eceb939fa97c
authorCédric Le Goater <clg@kaod.org>
Thu, 18 Jul 2019 11:54:08 +0000 (18 13:54 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 21 Aug 2019 07:17:39 +0000 (21 17:17 +1000)
treed6dc7179e1cdc14bca8bcf56d3f30afb8a8a2ce5
parent52c5acf04ee0f111657c03916db13ff325c58866
ppc/xive: Provide escalation support

If the XIVE presenter can not find the NVT dispatched on any of the HW
threads, it can not deliver the interrupt. XIVE offers an escalation
mechanism to handle such scenarios and inform the hypervisor that an
action should be taken.

Escalation is configured by setting the 'e' bit and the EAS in word 4
& 5 to let the HW look for the escalation END on which to trigger a
new event.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190718115420.19919-6-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xive.c