[PATCH] target/sparc: fix TI-SuperSparc-61 PSR version

Imre Kaloz posted 1 patch 2 weeks, 4 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261104113702.12701-1-kaloz@kernel.org
Maintainers: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>
target/sparc/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] target/sparc: fix TI-SuperSparc-61 PSR version
Posted by Imre Kaloz 2 weeks, 4 days ago
Real SuperSPARC modules report PSR version 0, as the TI-SuperSparc-51
model already does. 0x44 makes Linux treat the CPU as an unknown
implementation and halt early in boot.

Fixes: 406f82e83386 (" More CPU definitions")
Signed-off-by: Imre Kaloz <kaloz@kernel.org>
---
 target/sparc/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c
index 28ae629d50..71ae9f05c5 100644
--- a/target/sparc/cpu.c
+++ b/target/sparc/cpu.c
@@ -490,7 +490,7 @@ static const sparc_def_t sparc_defs[] = {
     },
     {
         .name = "TI-SuperSparc-61",
-        .iu_version = 0x44000000, /* SuperSPARC 3.x */
+        .iu_version = 0x40000000, /* SuperSPARC 3.x */
         .fpu_version = 0 << FSR_VER_SHIFT,
         .mmu_version = 0x01000000, /* SuperSPARC 3.x, MXCC */
         .mmu_bm = 0x00002000,

base-commit: 33eb51c859834f2024090bf843c69814267b6c26
-- 
2.47.3