Skip to content
Snippets Groups Projects
Commit 21c2dd77 authored by Peter Maydell's avatar Peter Maydell
Browse files

Revert "target/arm: Make number of counters in PMCR follow the CPU"


This reverts commit f7fb73b8.

This change turned out to be a bit half-baked, and doesn't
work with KVM, which fails with the error:
   "qemu-system-aarch64: Failed to retrieve host CPU features"

because KVM does not allow accessing of the PMCR_EL0 value in
the scratch "query CPU ID registers" VM unless we have first
set the KVM_ARM_VCPU_PMU_V3 feature on the VM.

Revert the change for 6.0.

Reported-by: default avatarZenghui Yu <yuzenghui@huawei.com>
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Tested-by: default avatarZenghui Yu <yuzenghui@huawei.com>
Message-id: 20210331154822.23332-1-peter.maydell@linaro.org
parent e7e0d52d
No related branches found
No related tags found
No related merge requests found
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