|
From: | Sebastian Ott |
Subject: | Re: [PATCH v5] arm/kvm: Enable support for KVM_ARM_VCPU_PMU_V3_FILTER |
Date: | Wed, 17 Jan 2024 17:29:30 +0100 (CET) |
On Wed, 17 Jan 2024, Eric Auger wrote:
On 1/15/24 09:01, Shaoqin Huang wrote:+ /* + * The filter only needs to be initialized through one vcpu ioctl and it + * will affect all other vcpu in the vm. + */ + if (pmu_filter_init) {I think I commented on that on the v4. Maybe I missed your reply. You sure you don't need to call it for each vcpu?
From (kernel) commit d7eec2360e3 ("KVM: arm64: Add PMU event filtering
infrastructure"): Note that although the ioctl is per-vcpu, the map of allowed events is global to the VM (it can be setup from any vcpu until the vcpu PMU is initialized). Sebastian
[Prev in Thread] | Current Thread | [Next in Thread] |