Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751205AbbKNTlC (ORCPT ); Sat, 14 Nov 2015 14:41:02 -0500 Received: from one.firstfloor.org ([193.170.194.197]:50072 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751107AbbKNTk7 (ORCPT ); Sat, 14 Nov 2015 14:40:59 -0500 Date: Sat, 14 Nov 2015 20:40:56 +0100 From: Andi Kleen To: Jiri Olsa Cc: Stephane Eranian , Andi Kleen , lkml , Ingo Molnar , Paul Mackerras , Peter Zijlstra , Don Zickus , Joe Mario Subject: Re: [RFC] perf x86 intel: Question about pebs_data_source data Message-ID: <20151114194056.GP3533@two.firstfloor.org> References: <20151109153620.GA11597@krava.xlan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151109153620.GA11597@krava.xlan> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 633 Lines: 15 > I'm probably misunderstanding SDM (wouldn't be the first time) what do I miss? Hi Jiri, We checked the history, and it appears the SDM was not updated when the definition of the bits changed (around Sandy Bridge, possibly Westmere). So perf is correct for newer CPUs, but not for older, and we have to fork the table. I'll work on a patch and also see that the SDM gets fixed. -Andi -- 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/