Received: by 10.213.65.68 with SMTP id h4csp899933imn; Tue, 27 Mar 2018 10:50:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx48rvBKkSOJ95QgGmcTtIhKGJoGqpGlo5oDXK3BxNrb8eDvnxNlJfNdZViNpmuAUM+UfB3KF X-Received: by 10.101.97.88 with SMTP id o24mr188596pgv.270.1522173006035; Tue, 27 Mar 2018 10:50:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522173006; cv=none; d=google.com; s=arc-20160816; b=aYLGisgwwbKS4VpbWznxZlsuOUuu5KIhQ3r/fbzDmg56ZLufF973swP2YlwC2w1AR6 NQinvrDpnCDZE4HtRcop/3QsrxL1T4759muy6wZYs+wilN+xJM2gAxtGG2K0HhCzN1Lh bvaPHiu7UarqX2UoLNnRt1LROX8Indsa3sxmoHwexK8sShZrPXiOgX+o9ZdqI3x8ceq1 HFKCMWCHrO6JvlKMXeNf3s8gXA86LstwnAIrDR6FOXPjiSbDOaaxhOEyLXh1jHpBfYGV AKRwnLhJflSllvKqzxKVNwLdlgphya+Z0O0mVNV4J+c4V8+5nC4EAhcHHlUpbm3hSeaR 6LJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=5lH+uaxkzIvb1Dx/ouE9yIMDh1u+GYFZzQQpDjS7T+w=; b=xe+64avODsYs/MLWSmejVoEbEf6E5FfNgiYJn8yV2nzRtz/D9UIforHdLEQnJx744P Crw3nDzmQWNZcGFaBBs+ZHF8FYV+TF/9UJ+0CQuWumuvUG+ejbysHnkX/vp3Re4C9zDA Ng39Q643c7oJA3Dr5pSI4IjRnzD/0Eq3A5Em6JE3giPyOBmK6x6YJB1I4a59zcBoo1p9 WX0XS2nsgNj6iAVn6/xWkX0PmYdSi9pVrAq0kYKCT0BgpYzvQEu8nIbvKTio/tu8V6ds BTzcCd3tIHo1W0rHPJorSuSm9DcFvh+x+U2JIzKzQsRNz8uzTeeppzT3DD+L/25+bjPU XYHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f64-v6si1606232plf.624.2018.03.27.10.49.51; Tue, 27 Mar 2018 10:50:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753792AbeC0Qct (ORCPT + 99 others); Tue, 27 Mar 2018 12:32:49 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43524 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753742AbeC0Qcq (ORCPT ); Tue, 27 Mar 2018 12:32:46 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 3285B1098; Tue, 27 Mar 2018 16:32:45 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephane Eranian , Kan Liang , Alexander Shishkin , Arnaldo Carvalho de Melo , Jiri Olsa , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , Vince Weaver , Ingo Molnar Subject: [PATCH 4.9 54/67] perf/x86/intel/uncore: Fix Skylake UPI event format Date: Tue, 27 Mar 2018 18:27:46 +0200 Message-Id: <20180327162730.541010219@linuxfoundation.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180327162726.702411083@linuxfoundation.org> References: <20180327162726.702411083@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kan Liang commit 317660940fd9dddd3201c2f92e25c27902c753fa upstream. There is no event extension (bit 21) for SKX UPI, so use 'event' instead of 'event_ext'. Reported-by: Stephane Eranian Signed-off-by: Kan Liang Cc: Alexander Shishkin Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Vince Weaver Fixes: cd34cd97b7b4 ("perf/x86/intel/uncore: Add Skylake server uncore support") Link: http://lkml.kernel.org/r/1520004150-4855-1-git-send-email-kan.liang@linux.intel.com Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- arch/x86/events/intel/uncore_snbep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/events/intel/uncore_snbep.c +++ b/arch/x86/events/intel/uncore_snbep.c @@ -3566,7 +3566,7 @@ static struct intel_uncore_type skx_unco }; static struct attribute *skx_upi_uncore_formats_attr[] = { - &format_attr_event_ext.attr, + &format_attr_event.attr, &format_attr_umask_ext.attr, &format_attr_edge.attr, &format_attr_inv.attr,