From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF075C56202 for ; Wed, 25 Nov 2020 15:45:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 30471206CA for ; Wed, 25 Nov 2020 15:45:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="mnBSCNuY"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="V5egs9W6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 30471206CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=h1d98CONNzpIwkMd/YW2++oPYo3+55I+QcV1pz0l9mg=; b=mnBSCNuYGTw5Mp7AuBtO9FqW+ OKBFxNgk3kFInlNCNmlv9Sc1aZUFV2up4yVIcgjTo/huQiFfdqcIoL86kXkyHV8j4PwSXZPsUnEav EJg2MxO2tSObntiJrdk/NdIHcpDEHqVNsdkagMJTStJfhWkxaXFaTnxOQFWNB61BTWPaya88Tz+D7 ielD+ganNUENVl5Mh9BXy/PjE3JMlmLFdiu4FC84+yIbYKplCb/kiJAFLcgf4YqU3xaZeFwYva1FX Nyw14HQH8fNwMssQxYdvS2R5OO+/wY4YrsvCP9FrUEAAEugZBzMUlM5tCh6hrhjKraCVhhUrFmmaM jqsBeqL7A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1khwxw-0003vq-Mx; Wed, 25 Nov 2020 15:44:20 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1khwxt-0003v8-FO for linux-arm-kernel@lists.infradead.org; Wed, 25 Nov 2020 15:44:18 +0000 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B045E206CA; Wed, 25 Nov 2020 15:44:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606319056; bh=Kv/Zba9zQeY9VafKZTCpLyOei7XTqTLGHS3YlXU+rmI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V5egs9W64dLw2eKRgGVpTrdbLoVOw1N/nDUKGpFZD50E52eYZksaswSKSX73q04md KXqDX+VD48kQj9PKkEL24T2MLgVYveuBlL95XprpZwraLWXspvyD7k1qqRxFDqS+he JBtCx5S6c6ONJceXFlnUe+lRZ/5iOw/6cBgY67tg= From: Will Deacon To: qiangqing.zhang@nxp.com, zhangshaokun@hisilicon.com, mark.rutland@arm.com, Frank.li@nxp.com, John Garry , robh+dt@kernel.org Subject: Re: [PATCH v2 0/4] perf drivers: Add sysfs identifier file Date: Wed, 25 Nov 2020 15:44:06 +0000 Message-Id: <160631703729.2332128.13220150013299384201.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <1602149181-237415-1-git-send-email-john.garry@huawei.com> References: <1602149181-237415-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201125_104417_686651_405876C1 X-CRM114-Status: GOOD ( 13.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: irogers@google.com, Will Deacon , devicetree@vger.kernel.org, catalin.marinas@arm.com, jolsa@redhat.com, linux-kernel@vger.kernel.org, acme@kernel.org, linuxarm@huawei.com, kernel-team@android.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 8 Oct 2020 17:26:17 +0800, John Garry wrote: > To allow perf tool to identify a specific implementation of a PMU for > event alias matching and metric support, expose a per-PMU identifier file. > > There is no standard format for the identifier string. It just should be > unique per HW implementation. > > Typical methods to retrieve the information for the identifier string > can include: > - Hardcoding in the driver, matched via DT bindings compat string, > ACPI HID, or similar > - Directly from DT bindings property > - Read from some HW identification register > > [...] Applied the hisi and smmu parts to will (for-next/perf), thanks! [1/4] drivers/perf: hisi: Add identifier sysfs file https://git.kernel.org/will/c/ac4511c9364c [...] [4/4] perf/smmuv3: Support sysfs identifier file https://git.kernel.org/will/c/2c255223362e I've completely lost track of the imx ddr PMU, so I dropped those parts (patch 3/4 seemed to remove a compatible string from the driver?). Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel