diff options
| author | Atish Patra <atishp@rivosinc.com> | 2024-07-11 15:31:15 -0700 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2024-07-18 12:08:45 +1000 |
| commit | dd4c123636dbdabd7dcc4f76c97af90271cd5fb6 (patch) | |
| tree | 9f1c9ed43d29cb209cc88f7ad92795b54ae5c710 /docs/sphinx/dbusdomain.py | |
| parent | 74112400df659b0edb1da35db5c948313ffeffd0 (diff) | |
| download | focaccia-qemu-dd4c123636dbdabd7dcc4f76c97af90271cd5fb6.tar.gz focaccia-qemu-dd4c123636dbdabd7dcc4f76c97af90271cd5fb6.zip | |
target/riscv: Do not setup pmu timer if OF is disabled
The timer is setup function is invoked in both hpmcounter write and mcountinhibit write path. If the OF bit set, the LCOFI interrupt is disabled. There is no benefitting in setting up the qemu timer until LCOFI is cleared to indicate that interrupts can be fired again. Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Signed-off-by: Atish Patra <atishp@rivosinc.com> Message-ID: <20240711-smcntrpmf_v7-v8-12-b7c38ae7b263@rivosinc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'docs/sphinx/dbusdomain.py')
0 files changed, 0 insertions, 0 deletions