On Wed, 05 Jun 2024 05:08:35 +0000, Manali Shukla wrote:
PMU event filter test fails on zen4 architecture because of the unavailability of family and model check for zen4 in use_amd_pmu(). use_amd_pmu() is added to detect architectures that supports event select 0xc2 umask 0 as "retired branch instructions".
Model ranges in is_zen1(), is_zen2() and is_zen3() are used only for sever SOCs, so they might not cover all the model ranges which supports retired branch instructions.
[...]
Applied to kvm-x86 selftests, with a fair bit of massaging (as described in my previous reply).
[1/1] KVM: selftest: Add a common check to identify AMD cpu in perf event filter test https://github.com/kvm-x86/linux/commit/6f19c3165d9f