xics: Implement H_IPOLL
commit075edbe3bad4c22995ab472c507565b48c4e0985
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 26 Sep 2013 06:18:45 +0000 (26 16:18 +1000)
committerAlexander Graf <agraf@suse.de>
Fri, 25 Oct 2013 21:25:47 +0000 (25 23:25 +0200)
treec5714d1db298d18a3d265b0041dc7b5e0a7fe5dd
parent11ad93f68195f68cc94d988f2aa50b4d190ee52a
xics: Implement H_IPOLL

This adds support for the H_IPOLL hypercall which the guest
uses to poll for a pending interrupt. This hypercall is
mandatory for PAPR+ and there is no way for the guest to
detect whether it is supported or not so just add it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/intc/xics.c