diff options
author | Atish Patra <atishp@rivosinc.com> | 2022-07-11 10:46:30 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-08-11 14:58:18 -0700 |
commit | 0209b5830bea42dd3ce33ab0397231e67ec3b751 (patch) | |
tree | f847556ac6dc832d42b7f411a2302c26fcfaa1ca /net | |
parent | 133a6d1fe7d7ad8393af025c4dde379c0616661f (diff) | |
download | linux-rpi-0209b5830bea42dd3ce33ab0397231e67ec3b751.tar.gz linux-rpi-0209b5830bea42dd3ce33ab0397231e67ec3b751.tar.bz2 linux-rpi-0209b5830bea42dd3ce33ab0397231e67ec3b751.zip |
RISC-V: Fix SBI PMU calls for RV32
Some of the SBI PMU calls does not pass 64bit arguments
correctly and not under RV32 compile time flags. Currently,
this doesn't create any incorrect results as RV64 ignores
any value in the additional register and qemu doesn't support
raw events.
Fix those SBI calls in order to set correct values for RV32.
Fixes: e9991434596f ("RISC-V: Add perf platform driver based on SBI PMU extension")
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220711174632.4186047-4-atishp@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions