- hw/virtio/virtio-pmem: Replace impossible check by assertion - tests: Fix printf format string in acpi-utils.c - softmmu/dirtylimit: Add parameter check for hmp "set_vcpu_dirty_limit" - disas/riscv: Fix the typo of inverted order of pmpaddr13 and pmpaddr14 - qga: Fix memory leak when output stream is unused - ui/vnc-clipboard: fix infinite loop in inflate_buffer (CVE-2023-3255) - target/i386: Add few security fix bits in ARCH_CAPABILITIES into SapphireRapids CPU model - target/i386: Add new bit definitions of MSR_IA32_ARCH_CAPABILITIES - target/i386: Allow MCDT_NO if host supports - target/i386: Add support for MCDT_NO in CPUID enumeration - target/i386: Export MSR_ARCH_CAPABILITIES bits to guests - target/i386: add support for FB_CLEAR feature - target/i386: add support for FLUSH_L1D feature - crypto: remove shadowed 'ret' variable - hw/i2c/pmbus_device: Fix modifying QOM class internals from instance - hw/arm/xlnx-zynqmp: fix unsigned error when checking the RPUs number Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
From 80fd3d8f92b8a2c3b640d1dfa436da8331b37b01 Mon Sep 17 00:00:00 2001
|
|
From: qihao <qihao_yewu@cmss.chinamobile.com>
|
|
Date: Mon, 16 Oct 2023 09:47:25 +0800
|
|
Subject: [PATCH] disas/riscv: Fix the typo of inverted order of pmpaddr13 and
|
|
pmpaddr14
|
|
|
|
cheery-pick from cffa9954908830276c93b430681f66cc0e599aef
|
|
|
|
Fix the inverted order of pmpaddr13 and pmpaddr14 in csr_name().
|
|
|
|
Signed-off-by: Alvin Chang <alvinga@andestech.com>
|
|
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
|
|
Message-ID: <20230907084500.328-1-alvinga@andestech.com>
|
|
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
|
|
Signed-off-by: qihao_yewu <qihao_yewu@cmss.chinamobile.com>
|
|
---
|
|
disas/riscv.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/disas/riscv.c b/disas/riscv.c
|
|
index 6768ec8188..ad7b978815 100644
|
|
--- a/disas/riscv.c
|
|
+++ b/disas/riscv.c
|
|
@@ -1307,8 +1307,8 @@ static const char *csr_name(int csrno)
|
|
case 0x03ba: return "pmpaddr10";
|
|
case 0x03bb: return "pmpaddr11";
|
|
case 0x03bc: return "pmpaddr12";
|
|
- case 0x03bd: return "pmpaddr14";
|
|
- case 0x03be: return "pmpaddr13";
|
|
+ case 0x03bd: return "pmpaddr13";
|
|
+ case 0x03be: return "pmpaddr14";
|
|
case 0x03bf: return "pmpaddr15";
|
|
case 0x0780: return "mtohost";
|
|
case 0x0781: return "mfromhost";
|
|
--
|
|
2.41.0.windows.1
|
|
|