From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753267AbdCPUAA (ORCPT ); Thu, 16 Mar 2017 16:00:00 -0400 Received: from mail.kernel.org ([198.145.29.136]:44342 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752705AbdCPT75 (ORCPT ); Thu, 16 Mar 2017 15:59:57 -0400 From: Andy Lutomirski To: X86 ML Cc: "linux-kernel@vger.kernel.org" , Borislav Petkov , Vince Weaver , Andy Lutomirski Subject: [PATCH 0/2] x86/perf: A CR4.PCE bugfix and clarification Date: Thu, 16 Mar 2017 12:59:38 -0700 Message-Id: X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all- Vince found a bug in our CR4.PCE handling. While investigating, I found what looked like another bug but actually wasn't. Here's a fix for the bug (cc'd to stable) and a comment and lockdep annotation for why the other non-bug isn't actually a bug. Andy Lutomirski (2): x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm x86/perf: Clarify why x86_pmu_event_mapped() isn't racy arch/x86/events/core.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) -- 2.9.3