diff options
author | Tomasz Jeznach <tjeznach@rivosinc.com> | 2025-02-24 16:08:24 -0300 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2025-03-04 15:42:54 +1000 |
commit | 3b1d07b6279defa40bf9903f420d8ddcf839794d (patch) | |
tree | 8432607ec4496536f003a2c2eccd6e3ae1dac62c /scripts/python_qmp_updater.py | |
parent | 4faa3e6f906c832f4c5382fbd618e368525ad2dc (diff) | |
download | qemu-3b1d07b6279defa40bf9903f420d8ddcf839794d.zip qemu-3b1d07b6279defa40bf9903f420d8ddcf839794d.tar.gz qemu-3b1d07b6279defa40bf9903f420d8ddcf839794d.tar.bz2 |
hw/riscv/riscv-iommu.c: add RISCV_IOMMU_CAP_HPM cap
Now that we have every piece in place we can advertise CAP_HTM to
software, allowing any HPM aware driver to make use of the counters.
HPM is enabled/disabled via the 'hpm-counters' attribute. Default value
is 31, max value is also 31. Setting it to zero will disable HPM
support.
Signed-off-by: Tomasz Jeznach <tjeznach@rivosinc.com>
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20250224190826.1858473-10-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/python_qmp_updater.py')
0 files changed, 0 insertions, 0 deletions