From patchwork Mon Oct 21 13:37:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaldo Carvalho de Melo X-Patchwork-Id: 177082 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3435261ill; Mon, 21 Oct 2019 06:39:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqw4OHtd2gq2C9pd6Q3VJTHVjhhWhIXLQnzdRwQqZFiBgT4fNxH9LsGQi/NJ9QJ0IK9qZP0T X-Received: by 2002:aa7:dd18:: with SMTP id i24mr25583042edv.239.1571665190618; Mon, 21 Oct 2019 06:39:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571665190; cv=none; d=google.com; s=arc-20160816; b=JPPcsx7iHxuJhayqMOphs7o3Y6pq4xbT7HgDvswPLaFgnBDD5Rmk4EJc9g9RFtECvJ BTrUjtJQaGc5IWGK3AMXIpWjKCClNbz8KjUpwqz2n2Q++sUi9Z5FNAaan+nn4dCYBx70 wn4CrwWXPuyJa93RtQQcamQm+6oozuJqwTtjafVJoTR5XpXIY9TDz72oFJaFlmAjOvR5 1AxsVkvWhzDXpkQ2nEMuIkWnghMOncT5i3TmJ2xl4QQ6HDjH191FD2v52MNVvCmMugwH Iqe+hiFxD7Iq94h2robIaLxQ2ZdQQFA6YoRU4K8hZGGVDz44cpSZrPpml8quECaUN4Dc SYXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DV1+KuhfIkUisUY/zZd0DhS23dzeS3KrFa50pDifSRA=; b=vHhgDJJvmX45CSAGiUSETrW5SZM888o30UIHEjPkWAglW+HpELTaQV1IgbpzEpZ7pz dveqVqFfv9hBRG3oB9miyrlYzY8544eQCfGLcgy2vOxgChxOFMdFIGd0pAYren8aCF1B 3d4iWnrP/o5hPB3oN+5nyro17Vvie/Hr0SvL1ck3Ja8uelqPW8hw8gr9JLpDeiS2jYMD vO+3URM8fZVtK+y8lFe1B/2kq2TGEt1oKM1XzPtVbXYIpeh0OqDl79nrzsJe0pEw7KeZ uNuAUVgdSKK2+pifEYEa64mz3X03zkWfZWr+CDgNxywhxLzfjH/6nhw8e3mownuAHUNh TPsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dy+IUPvk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12si10046535edc.279.2019.10.21.06.39.50; Mon, 21 Oct 2019 06:39:50 -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; dkim=pass header.i=@kernel.org header.s=default header.b=dy+IUPvk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728921AbfJUNjs (ORCPT + 26 others); Mon, 21 Oct 2019 09:39:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:41350 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729322AbfJUNjp (ORCPT ); Mon, 21 Oct 2019 09:39:45 -0400 Received: from quaco.ghostprotocols.net (unknown [179.97.35.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4F636222CD; Mon, 21 Oct 2019 13:39:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571665184; bh=TKjbtLzyoUTJoSbE0uVvw5o+RJxx7DrmcCrnkTwLt+g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dy+IUPvkxw1EarrpGlab9WCoUFxZRUjG95FER+gh1H1O3qtgVKVa+wrCbl6An3qPs vyC3L/QEBQ0Gdq5o2DAoe5pUvHeQFAo3oYJo68OGaYVODUHZp8tHrR50jXvLmPPUep wQHS6jLRjghPTk4OB70qctLeGF4N46MYXN/9fI+w= From: Arnaldo Carvalho de Melo To: Ingo Molnar , Thomas Gleixner Cc: Jiri Olsa , Namhyung Kim , Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, John Garry , Shaokun Zhang , Alexander Shishkin , Jiri Olsa , Mark Rutland , Peter Zijlstra , Will Deacon , linuxarm@huawei.com, Arnaldo Carvalho de Melo Subject: [PATCH 19/57] perf vendor events arm64: Fix Hisi hip08 DDRC PMU eventname Date: Mon, 21 Oct 2019 10:37:56 -0300 Message-Id: <20191021133834.25998-20-acme@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191021133834.25998-1-acme@kernel.org> References: <20191021133834.25998-1-acme@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: John Garry The "EventName" for the DDRC precharge command event is incorrect, so fix it. Fixes: 57cc732479ba ("perf jevents: Add support for Hisi hip08 DDRC PMU aliasing") Signed-off-by: John Garry Reviewed-by: Shaokun Zhang Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Will Deacon Cc: linuxarm@huawei.com Link: http://lore.kernel.org/lkml/1567612484-195727-2-git-send-email-john.garry@huawei.com Signed-off-by: Arnaldo Carvalho de Melo --- .../perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.21.0 diff --git a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json index 0d1556fcdffe..99f4fc425564 100644 --- a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json +++ b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json @@ -15,7 +15,7 @@ }, { "EventCode": "0x04", - "EventName": "uncore_hisi_ddrc.flux_wr", + "EventName": "uncore_hisi_ddrc.pre_cmd", "BriefDescription": "DDRC precharge commands", "PublicDescription": "DDRC precharge commands", "Unit": "hisi_sccl,ddrc",