summary refs log tree commit diff stats
path: root/gitlab/issues/target_riscv/host_missing/accel_missing/1981.toml
blob: 86f6b6017f28bba7f6ffa39af2c3a26d46b289b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"