Skip to contentSkip to conversation

target/sparc: fix TI-SuperSparc-61 PSR version

PATCH New Imre Kaloz 1 participant 1 message Nov 4

lore
Share & tools
lore

Imre Kaloz

author
#0 lore raw

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

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")
---
 target/sparc/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/sparc/cpu.c +1 -1
index 28ae629d50..71ae9f05c5 100644
@@ -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

Signature · 1 line
2.47.3