From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634AbdFIANz (ORCPT ); Thu, 8 Jun 2017 20:13:55 -0400 Received: from mga04.intel.com ([192.55.52.120]:22854 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751502AbdFIANV (ORCPT ); Thu, 8 Jun 2017 20:13:21 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,316,1493708400"; d="scan'208";a="97324957" From: Andi Kleen To: peterz@infradead.org, acme@kernel.org Cc: jolsa@kernel.org, linux-kernel@vger.kernel.org, eranian@google.com Subject: Fix Skylake PEBS data source for perf Date: Thu, 8 Jun 2017 17:13:05 -0700 Message-Id: <20170609001309.26396-1-andi@firstfloor.org> X-Mailer: git-send-email 2.9.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix data source reporting for Skylake and Skylake Server. The encodings have changed to express support for L4 and persistent memory. The first patch is a (independent) cleanup. The second is for the kernel and the third for perf/tools. The kernel part and perf tools will compile independently. v1: Initial post v2: Merged some patches. Change encoding to use special bit for each combination instead of modifiers. v3: Switch to new generic lvlnum indication