[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/31] target/loongarch: Fix loongarch_la464_initfn() misses setti
From: |
Song Gao |
Subject: |
[PULL 03/31] target/loongarch: Fix loongarch_la464_initfn() misses setting LSPW |
Date: |
Thu, 24 Aug 2023 17:23:41 +0800 |
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230817093121.1053890-11-gaosong@loongson.cn>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230821125959.28666-4-philmd@linaro.org>
---
target/loongarch/cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c
index dc617be36f..a1ebc20330 100644
--- a/target/loongarch/cpu.c
+++ b/target/loongarch/cpu.c
@@ -391,6 +391,7 @@ static void loongarch_la464_initfn(Object *obj)
data = FIELD_DP32(data, CPUCFG2, LSX, 1),
data = FIELD_DP32(data, CPUCFG2, LLFTP, 1);
data = FIELD_DP32(data, CPUCFG2, LLFTP_VER, 1);
+ data = FIELD_DP32(data, CPUCFG2, LSPW, 1);
data = FIELD_DP32(data, CPUCFG2, LAM, 1);
env->cpucfg[2] = data;
--
2.39.1
- [PULL 00/31] loongarch-to-apply queue, Song Gao, 2023/08/24
- [PULL 02/31] target/loongarch: Remove duplicated disas_set_info assignment, Song Gao, 2023/08/24
- [PULL 03/31] target/loongarch: Fix loongarch_la464_initfn() misses setting LSPW,
Song Gao <=
- [PULL 05/31] target/loongarch: Extract 64-bit specifics to loongarch64_cpu_class_init, Song Gao, 2023/08/24
- [PULL 07/31] target/loongarch: Add new object class for loongarch32 cpus, Song Gao, 2023/08/24
- [PULL 09/31] target/loongarch: Support LoongArch32 TLB entry, Song Gao, 2023/08/24
- [PULL 04/31] target/loongarch: Introduce abstract TYPE_LOONGARCH64_CPU, Song Gao, 2023/08/24
- [PULL 08/31] target/loongarch: Add GDB support for loongarch32 mode, Song Gao, 2023/08/24
- [PULL 06/31] target/loongarch: Add function to check current arch, Song Gao, 2023/08/24
- [PULL 01/31] target/loongarch: Log I/O write accesses to CSR registers, Song Gao, 2023/08/24
- [PULL 22/31] hw/loongarch: Remove restriction of la464 cores in the virt machine, Song Gao, 2023/08/24
- [PULL 23/31] target/loongarch: Add avail_FP/FP_SP/FP_DP to check fpu instructions, Song Gao, 2023/08/24
- [PULL 15/31] target/loongarch: Extract make_address_pc() helper, Song Gao, 2023/08/24