commit | 218907cbc2b82419c70180610163c987d4764b27 | [log] [tgz] |
---|---|---|
author | Andrew Murray <andrew.murray@arm.com> | Mon Jun 17 20:01:04 2019 +0100 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Fri Jul 05 13:56:18 2019 +0100 |
tree | a22012749fc9a5bf7c6c28c2de69374d5dccf45b | |
parent | 30d97754b2d1bc4fd20f27c25fed92fc7ce39ce3 [diff] |
KVM: arm/arm64: Remove pmc->bitmask We currently use pmc->bitmask to determine the width of the pmc - however it's superfluous as the pmc index already describes if the pmc is a cycle counter or event counter. The architecture clearly describes the widths of these counters. Let's remove the bitmask to simplify the code. Signed-off-by: Andrew Murray <andrew.murray@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>