diff options
author | Atish Patra <atishp@rivosinc.com> | 2023-02-07 01:55:24 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-02-07 20:35:55 +0530 |
commit | 470926a2900cfdc39b300d87a0ccdf037fa67b9a (patch) | |
tree | ded1957c8d4df55aabd5c90b905c1c8428d15f62 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | cbddc4c4cb9e30933777dbf3bc8645399af10140 (diff) |
RISC-V: KVM: Make PMU functionality depend on Sscofpmf
The privilege mode filtering feature must be available in the host so
that the host can inhibit the counters while the execution is in HS mode.
Otherwise, the guests may have access to critical guest information.
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions