aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.ibm.com>2024-07-24 16:21:26 -0500
committerNicholas Piggin <npiggin@gmail.com>2024-07-26 09:51:33 +1000
commit4c81813e25d24ece49141572ad5f07d8efe7bf4d (patch)
treea7119be72e5013b4a60b73e68bce07af92ac46f5 /hw
parent9d7188a2ba6e520934691612915afb98c10823c5 (diff)
downloadqemu-4c81813e25d24ece49141572ad5f07d8efe7bf4d.zip
qemu-4c81813e25d24ece49141572ad5f07d8efe7bf4d.tar.gz
qemu-4c81813e25d24ece49141572ad5f07d8efe7bf4d.tar.bz2
pnv/xive2: Set Translation Table for the NVC port space
Set Translation Table for the NVC port space is missing. The xive model doesn't take into account the remapping of IO operations via the Set Translation Table but firmware is allowed to define it for the Notify Virtual Crowd (NVC), like it's already done for the other VST tables. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Michael Kowal <kowal@linux.vnet.ibm.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/intc/pnv_xive2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/intc/pnv_xive2.c b/hw/intc/pnv_xive2.c
index c3b5bfe..08b9166 100644
--- a/hw/intc/pnv_xive2.c
+++ b/hw/intc/pnv_xive2.c
@@ -722,6 +722,7 @@ static int pnv_xive2_stt_set_data(PnvXive2 *xive, uint64_t val)
case CQ_TAR_NVPG:
case CQ_TAR_ESB:
case CQ_TAR_END:
+ case CQ_TAR_NVC:
xive->tables[tsel][entry] = val;
break;
default: