summary refs log tree commit diff stats
path: root/hw/core/machine-hmp-cmds.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2019-06-30 22:45:53 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2019-07-02 09:43:58 +1000
commit8256870ada9379abfd1f5b2c209ad01092dd0904 (patch)
tree00fbeacc234b617d65aed76f0a3281e466228870 /hw/core/machine-hmp-cmds.c
parentfe9a9d527da8ae939ee7eb32cb0045d2c3f75a11 (diff)
downloadfocaccia-qemu-8256870ada9379abfd1f5b2c209ad01092dd0904.tar.gz
focaccia-qemu-8256870ada9379abfd1f5b2c209ad01092dd0904.zip
ppc/xive: Make the PIPR register readonly
When the hypervisor (KVM) dispatches a vCPU on a HW thread, it restores
its thread interrupt context. The Pending Interrupt Priority Register
(PIPR) is computed from the Interrupt Pending Buffer (IPB) and stores
should not be allowed to change its value.

Fixes: 207d9fe98510 ("ppc/xive: introduce the XIVE interrupt thread context")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190630204601.30574-3-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/core/machine-hmp-cmds.c')
0 files changed, 0 insertions, 0 deletions