Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21849718ybl; Mon, 6 Jan 2020 12:33:43 -0800 (PST) X-Google-Smtp-Source: APXvYqyGNwmWbhnNmBidxNtJaJxntWQlbCbPkpDNjgAE+4CgafpB3pu+fEm2WKf573UffWqjk5rc X-Received: by 2002:a9d:51c1:: with SMTP id d1mr111976179oth.136.1578342823374; Mon, 06 Jan 2020 12:33:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578342823; cv=none; d=google.com; s=arc-20160816; b=ubCOiqUUOe07XyphRbyySrpKN37KX2ihd0mMPbOtPZmuB7heZrf2rOz+Y8IoYQo5Q0 nvdgICKiVRfYX8et8VAx1apKIQmwwmfdc9w6p2KO6t2eArwoqtk15G8YSg4HMwpDjDEm 3y/1KGJCTCDme9TSNMwfWM9R/T8qWvUXZVEOPHb88rICLga8DpseIYmaQuvrqZLnstPE 7g616WCnjknvRnSBlA00YirdqhvJnWUu52WyGYsyTPyOrLtP7lgzuJTBcNEeRzRbt+Nq 7QbTnG+vm7eF6zH6OWeklv+MiyaJWaxORO3ltOXkneZ7u4RFC8bDaUBIeihAJN6U9Owh qh0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=PU73iJuBZIjchWjvzh4QzJ8mVOo4eT81JAxdh2/mLbg=; b=uIOte3QWhLrE0jWA+X1G+C4n20Kue0cBm4oK1s+SfJodi9WpnDsxwYMYgZ8OwafNL5 Lh8EJDozhJ9mxVkW8eXS+R0pNBsW1+BKHi9hVpxkm/swd3ndUt7/b/6Jg5c0aSvBsqW6 WHXRHeBKUB/vnpZukPNHQ1ZHYFLphWeYB5YlxfVOguyvqIohTHmSz8KcpkWRLW0N3fuY N81LpdFYb5c7IhrNyf6KFCUawRgkUh4VmKP5+XRbjOcjTFvfER6MfjWMJ6VrTs7tMG8m VFsmdSb10/+ICy12Qsa3bTL/yyjtrrdI9uPKpXiGp5i6GxOeTHhIGigWZ0Uy018kzO6t ZnCQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si36298557otq.144.2020.01.06.12.33.30; Mon, 06 Jan 2020 12:33:43 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727140AbgAFUbL (ORCPT + 99 others); Mon, 6 Jan 2020 15:31:11 -0500 Received: from mga03.intel.com ([134.134.136.65]:10717 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727025AbgAFUaX (ORCPT ); Mon, 6 Jan 2020 15:30:23 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jan 2020 12:30:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,403,1571727600"; d="scan'208";a="245699465" Received: from labuser-ice-lake-client-platform.jf.intel.com ([10.54.55.50]) by fmsmga004.fm.intel.com with ESMTP; 06 Jan 2020 12:30:22 -0800 From: kan.liang@linux.intel.com To: peterz@infradead.org, acme@redhat.com, mingo@kernel.org, linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, jolsa@kernel.org, eranian@google.com, alexander.shishkin@linux.intel.com, ak@linux.intel.com, Kan Liang Subject: [PATCH V5 RESEND 05/14] perf/x86/intel: Fix the name of perf capabilities for perf METRICS Date: Mon, 6 Jan 2020 12:29:10 -0800 Message-Id: <20200106202919.2943-6-kan.liang@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200106202919.2943-1-kan.liang@linux.intel.com> References: <20200106202919.2943-1-kan.liang@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kan Liang Bit 15 of PERF_CAPABILITIES MSR indicates this architecture provides built in support for perf METRICS. The perf METRICS is not a PEBS feature. Rename pebs_metrics_available perf_metrics. No one use the bit in current code. The following patch will use it. Signed-off-by: Kan Liang --- No changes since V4 arch/x86/events/perf_event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/events/perf_event.h b/arch/x86/events/perf_event.h index 6ebca54f86df..ecce05141f71 100644 --- a/arch/x86/events/perf_event.h +++ b/arch/x86/events/perf_event.h @@ -532,7 +532,7 @@ union perf_capabilities { */ u64 full_width_write:1; u64 pebs_baseline:1; - u64 pebs_metrics_available:1; + u64 perf_metrics:1; u64 pebs_output_pt_available:1; }; u64 capabilities; -- 2.17.1