Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752300AbaBETzP (ORCPT ); Wed, 5 Feb 2014 14:55:15 -0500 Received: from merlin.infradead.org ([205.233.59.134]:58152 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751175AbaBETzM (ORCPT ); Wed, 5 Feb 2014 14:55:12 -0500 Date: Wed, 5 Feb 2014 20:55:06 +0100 From: Peter Zijlstra To: Vince Weaver Cc: junk@eslaf.co.uk, alan@lxorguk.ukuu.org.uk, Ingo Molnar , Stephane Eranian , linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf,x86,p6: Add userspace RDPMC quirk for P6 Message-ID: <20140205195506.GN2936@laptop.programming.kicks-ass.net> References: <20140205102718.GF3229@twins.programming.kicks-ass.net> <20140205192012.GL2936@laptop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 05, 2014 at 02:37:29PM -0500, Vince Weaver wrote: > On Wed, 5 Feb 2014, Vince Weaver wrote: > > > Has someone actually hit this bug? People used PAPI/perfctr on these > > machines for years, and it uses rdpmc by default so I would think it would > > show up if it were an issue. I should check the perfctr code to see if it > > had some sort of check. > > I can verify the perfctr code does have a case for PPRO errata 26, but it > only disables things on pentium pros with stepping less than 9. The doc said 0xB1, right? Should we keep it at that? Its not like there's a lot of PPro machines left out there, so better safe than sorry. > It also disables rdpmc on original Pentiums due to errata 74 but I don't > think we have to worry about that one. We don't have a Family 5 driver, so no. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/