]> Git Repo - qemu.git/commit
ppc/xive: Record the IPB in the associated NVT
authorCédric Le Goater <[email protected]>
Fri, 15 Nov 2019 16:24:14 +0000 (17:24 +0100)
committerDavid Gibson <[email protected]>
Mon, 16 Dec 2019 23:39:47 +0000 (10:39 +1100)
commit516883c2f15bdd844543be218155898d06953c90
tree9d913306625dcdce1555674dd5d456ddd4f58b09
parent95bd61c4dfc4c08d4248071f2f70d9c2afacc0d1
ppc/xive: Record the IPB in the associated NVT

When an interrupt can not be presented to a vCPU, because it is not
running on any of the HW treads, the XIVE presenter updates the
Interrupt Pending Buffer register of the associated XIVE NVT
structure. This is only done if backlog is activated in the END but
this is generally the case.

The current code assumes that the fields of the NVT structure is
architected with the same layout of the thread interrupt context
registers. Fix this assumption and define an offset for the IPB
register backup value in the NVT.

Signed-off-by: Cédric Le Goater <[email protected]>
Message-Id: <20191115162436[email protected]>
Reviewed-by: Greg Kurz <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/intc/xive.c
include/hw/ppc/xive_regs.h
This page took 0.026785 seconds and 4 git commands to generate.