target/loongarch: Fix cpu_reset set wrong CSR_CRMD
commit3ef4b21a5c767ff0b15047e709762abef490ad07
authorSong Gao <gaosong@loongson.cn>
Fri, 5 Jul 2024 02:18:39 +0000 (5 10:18 +0800)
committerSong Gao <gaosong@loongson.cn>
Fri, 12 Jul 2024 01:41:18 +0000 (12 09:41 +0800)
treead52b1c5cbb3490c33135ede7abfd14f3ea663d7
parentbba1c36da0589b4179c16e0895256ca731023f2c
target/loongarch: Fix cpu_reset set wrong CSR_CRMD

After cpu_reset, DATF in CSR_CRMD is 0, DATM is 0.
See the manual[1] 6.4.

  [1]: https://github.com/loongson/LoongArch-Documentation/releases/download/2023.04.20/LoongArch-Vol1-v1.10-EN.pdf

Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Message-Id: <20240705021839.1004374-2-gaosong@loongson.cn>
target/loongarch/cpu.c