Skip to content
Commit 036369c5 authored by Ricardo Koller's avatar Ricardo Koller Committed by Andrew Jones
Browse files

arm: pmu: Add tests for 64-bit overflows



Modify all tests checking overflows to support both 32 (PMCR_EL0.LP == 0)
and 64-bit overflows (PMCR_EL0.LP == 1). 64-bit overflows are only
supported on PMUv3p5.

Note that chained tests do not implement "overflow_at_64bits == true".
That's because there are no CHAIN events when "PMCR_EL0.LP == 1" (for more
details see AArch64.IncrementEventCounter() pseudocode in the ARM ARM DDI
0487H.a, J1.1.1 "aarch64/debug").

Signed-off-by: default avatarRicardo Koller <ricarkol@google.com>
Reviewed-by: default avatarReiji Watanabe <reijiw@google.com>
Reviewed-by: default avatarEric Auger <eric.auger@redhat.com>
Signed-off-by: default avatarAndrew Jones <andrew.jones@linux.dev>
parent 7d1f853a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment