On 8/10/23 05:41, Song Gao wrote:
Signed-off-by: Song Gao <gaos...@loongson.cn>
---
  target/loongarch/cpu.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c
index dd1cd7d7d2..95e00a044c 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;

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to