Re: [PATCH v4 25/38] KVM: x86/pmu: Add AMD PMU registers to direct access list

2025-05-16 Thread Sean Christopherson
On Mon, Mar 24, 2025, Mingwei Zhang wrote: > From: Sandipan Das > > Add all PMU-related MSRs (including legacy K7 MSRs) to the list of > possible direct access MSRs. Most of them will not be intercepted when > using passthrough PMU. > > Signed-off-by: Sandipan Das > Signed-off-by: Mingwei Zhan

[PATCH v4 25/38] KVM: x86/pmu: Add AMD PMU registers to direct access list

2025-03-24 Thread Mingwei Zhang
From: Sandipan Das Add all PMU-related MSRs (including legacy K7 MSRs) to the list of possible direct access MSRs. Most of them will not be intercepted when using passthrough PMU. Signed-off-by: Sandipan Das Signed-off-by: Mingwei Zhang --- arch/x86/kvm/svm/svm.c | 24 +++