[PATCH v3 2/2] perf/x86/kvm: Avoid unnecessary work in guest filtering

2018-10-19 Thread Andi Kleen
From: Andi Kleen KVM added a workaround for PEBS events leaking into guests with 26a4f3c08de4 ("perf/x86: disable PEBS on a guest entry.") This uses the VT entry/exit list to add an extra disable of the PEBS_ENABLE MSR. Intel also added a fix for this issue to microcode updates on

[PATCH v3 2/2] perf/x86/kvm: Avoid unnecessary work in guest filtering

2018-10-19 Thread Andi Kleen
From: Andi Kleen KVM added a workaround for PEBS events leaking into guests with 26a4f3c08de4 ("perf/x86: disable PEBS on a guest entry.") This uses the VT entry/exit list to add an extra disable of the PEBS_ENABLE MSR. Intel also added a fix for this issue to microcode updates on