summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCédric Le Goater2019-11-25 07:58:16 +0100
committerDavid Gibson2019-12-17 00:39:48 +0100
commita5b841f18c1ffdf306f48ff6baccf5193d368c0b (patch)
tree28c56c8f336bdeb26b871832c26a96db1028f130 /include
parentppc/xive: Remove the get_tctx() XiveRouter handler (diff)
downloadqemu-a5b841f18c1ffdf306f48ff6baccf5193d368c0b.tar.gz
qemu-a5b841f18c1ffdf306f48ff6baccf5193d368c0b.tar.xz
qemu-a5b841f18c1ffdf306f48ff6baccf5193d368c0b.zip
ppc/xive: Introduce a xive_tctx_ipb_update() helper
We will use it to resend missed interrupts when a vCPU context is pushed on a HW thread. Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20191125065820.927-17-clg@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ppc/xive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/xive.h b/include/hw/ppc/xive.h
index 24315480e7..9c0bf2c301 100644
--- a/include/hw/ppc/xive.h
+++ b/include/hw/ppc/xive.h
@@ -469,6 +469,7 @@ void xive_tctx_pic_print_info(XiveTCTX *tctx, Monitor *mon);
Object *xive_tctx_create(Object *cpu, XiveRouter *xrtr, Error **errp);
void xive_tctx_reset(XiveTCTX *tctx);
void xive_tctx_destroy(XiveTCTX *tctx);
+void xive_tctx_ipb_update(XiveTCTX *tctx, uint8_t ring, uint8_t ipb);
/*
* KVM XIVE device helpers