id = 1981 title = "wrong address of pmpaddr13 and pmpaddr14 CSRs" state = "closed" created_at = "2023-11-15T10:09:04.373Z" closed_at = "2023-11-17T07:03:31.753Z" labels = ["target: riscv"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1981" host-os = "- OS/kernel version:" host-arch = "- QEMU flavor:" qemu-version = "- QEMU command line:" guest-os = "- OS/kernel version:" guest-arch = "## Description of problem" description = """In qemu\\disas\\riscv.c lines 2119 & 2120 it seems that there is a confusion about the correct address of the pmpaddr13 and pmpaddr14 CSRs ``` line 2117 case 0x03bb: return "pmpaddr11"; line 2118 case 0x03bc: return "pmpaddr12"; **line 2119 case 0x03bd: return "pmpaddr14"; <--- pmpaddr13 should be here line 2120 case 0x03be: return "pmpaddr13"; <--- pmpaddr14 should be here** line 2121 case 0x03bf: return "pmpaddr15"; ```""" reproduce = "n/a" additional = "n/a"