[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 6/6] target/loongarch: fix a wrong print in cpu dump
From: |
Song Gao |
Subject: |
[PULL 6/6] target/loongarch: fix a wrong print in cpu dump |
Date: |
Thu, 6 Jun 2024 12:01:55 +0800 |
From: lanyanzhi <lanyanzhi22b@ict.ac.cn>
description:
loongarch_cpu_dump_state() want to dump all loongarch cpu
state registers, but there is a tiny typographical error when
printing "PRCFG2".
Cc: qemu-stable@nongnu.org
Signed-off-by: lanyanzhi <lanyanzhi22b@ict.ac.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240604073831.666690-1-lanyanzhi22b@ict.ac.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
---
target/loongarch/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c
index b5c1ec94af..270f711f11 100644
--- a/target/loongarch/cpu.c
+++ b/target/loongarch/cpu.c
@@ -707,7 +707,7 @@ void loongarch_cpu_dump_state(CPUState *cs, FILE *f, int
flags)
qemu_fprintf(f, "EENTRY=%016" PRIx64 "\n", env->CSR_EENTRY);
qemu_fprintf(f, "PRCFG1=%016" PRIx64 ", PRCFG2=%016" PRIx64 ","
" PRCFG3=%016" PRIx64 "\n",
- env->CSR_PRCFG1, env->CSR_PRCFG3, env->CSR_PRCFG3);
+ env->CSR_PRCFG1, env->CSR_PRCFG2, env->CSR_PRCFG3);
qemu_fprintf(f, "TLBRENTRY=%016" PRIx64 "\n", env->CSR_TLBRENTRY);
qemu_fprintf(f, "TLBRBADV=%016" PRIx64 "\n", env->CSR_TLBRBADV);
qemu_fprintf(f, "TLBRERA=%016" PRIx64 "\n", env->CSR_TLBRERA);
--
2.34.1
- [PULL 0/6] loongarch-to-apply queue, Song Gao, 2024/06/06
- [PULL 1/6] tests/libqos: Add loongarch virt machine node, Song Gao, 2024/06/06
- [PULL 6/6] target/loongarch: fix a wrong print in cpu dump,
Song Gao <=
- [PULL 5/6] hw/loongarch/virt: Enable extioi virt extension, Song Gao, 2024/06/06
- [PULL 3/6] hw/intc/loongarch_extioi: Add extioi virt extension definition, Song Gao, 2024/06/06
- [PULL 4/6] hw/loongarch/virt: Use MemTxAttrs interface for misc ops, Song Gao, 2024/06/06
- [PULL 2/6] tests/qtest: Add numa test for loongarch system, Song Gao, 2024/06/06
- Re: [PULL 0/6] loongarch-to-apply queue, Richard Henderson, 2024/06/06