summary refs log tree commit diff stats
path: root/docs/sphinx/kerneldoc.py
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2024-07-11 15:31:12 -0700
committerAlistair Francis <alistair.francis@wdc.com>2024-07-18 12:08:44 +1000
commit8cff74c26dbdfc746d8f0165c233be3d396d4572 (patch)
treeda6de2e9cd89e56ddbc401d09684cf27e9bcaffa /docs/sphinx/kerneldoc.py
parent46023470e014234f3e15ec4497e003550bd7da0d (diff)
downloadfocaccia-qemu-8cff74c26dbdfc746d8f0165c233be3d396d4572.tar.gz
focaccia-qemu-8cff74c26dbdfc746d8f0165c233be3d396d4572.zip
target/riscv: Enforce WARL behavior for scounteren/hcounteren
scounteren/hcountern are also WARL registers similar to mcountern.
Only set the bits for the available counters during the write to
preserve the WARL behavior.

Signed-off-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20240711-smcntrpmf_v7-v8-9-b7c38ae7b263@rivosinc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'docs/sphinx/kerneldoc.py')
0 files changed, 0 insertions, 0 deletions