diff options
| author | Oliver Upton <[email protected]> | 2024-11-20 00:52:30 +0000 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2024-11-21 01:23:32 +0000 |
| commit | 13905f4547b050316262d54a5391d50e83ce613a (patch) | |
| tree | 08f9cce9d35d3c922ca9ebf2918b50ea56d71a2d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | KVM: arm64: Ignore PMCNTENSET_EL0 while checking for overflow status (diff) | |
| download | kernel-13905f4547b050316262d54a5391d50e83ce613a.tar.gz kernel-13905f4547b050316262d54a5391d50e83ce613a.zip | |
KVM: arm64: Use MDCR_EL2.HPME to evaluate overflow of hyp counters
The 'global enable control' (as it is termed in the architecture) for
counters reserved by EL2 is MDCR_EL2.HPME. Use that instead of
PMCR_EL0.E when evaluating the overflow state for hyp counters.
Change the return value to a bool while at it, which better reflects the
fact that the overflow state is a shared signal and not a per-counter
property.
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
