Message ID | 20200712163341.61410-4-ajaykumar.rs@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=XX2c=AY=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 988C2138C for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 13 Jul 2020 04:14:03 +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 717112070B for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 13 Jul 2020 04:14:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VIEJTwGx"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="Wxv06GAR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 717112070B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.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:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=wvGGGR+6fNUApqyzhkz4+JZNInp0RMyg/B36oCWqZUQ=; b=VIEJTwGxOlMATp9pTRE66ctgb/ wmfgGWhVSvzeLW4fMDVEEFTt+4iMhicPxjnNDaRItWM83d6At3I7THyHPKPeiM0T50bYOtC5xNetJ a6PVKOai7PZSg6BU4F687urswNtbBo0sCrFKb/9bVnDiMIdaAtHmOW4Vr7QFJ07DfSYOmx2K1YrTS sz6G0+v/9BajwVK4waCtorV0Vj3oh1O9jiPiCCwA07AeTWRsriRKOuwPer0c0JP4+BU59Hd7aRl4Q KFdmBmnOojAvoR9uCj1yzFlbcn7e1lEISp7C4BQ4l111QPYmRw/X/5U2gjHmxvXqgIS7aLhH/KXvw DT9N9VNA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1juppV-0007N2-ML; Mon, 13 Jul 2020 04:12:37 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1juppS-0007Lf-JQ for linux-arm-kernel@lists.infradead.org; Mon, 13 Jul 2020 04:12:35 +0000 Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200713041231epoutp016d0a105fdccd03cc19322e5c54ebe277~hNJOGrRxH0812608126epoutp01I for <linux-arm-kernel@lists.infradead.org>; Mon, 13 Jul 2020 04:12:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200713041231epoutp016d0a105fdccd03cc19322e5c54ebe277~hNJOGrRxH0812608126epoutp01I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1594613551; bh=WxkJtSa7eES8+Km0LsmOv5+cGpeKNu5iVLcobvcKMJA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wxv06GARrAg9SIw/5uwgFchIxZU950hRVuezcZJjzpmD0kU6L7HFPEK+/3qczUzMx aCeusyMuTYEuENym6o9fpidoApJ9hcxhgHK2QUlc0hyzwxFfX3ZfBDm2TqKpMHxxMp HJt53z7U6Q2XebN8419639g8SHaZHfgItN3e00NY= Received: from epsmges5p2new.samsung.com (unknown [182.195.42.74]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20200713041230epcas5p2c1e0440e2e2bdc1e503445a6bb671491~hNJNWyrHk1043310433epcas5p20; Mon, 13 Jul 2020 04:12:30 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 24.C1.09703.E2FDB0F5; Mon, 13 Jul 2020 13:12:30 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20200712165524epcas5p1a57d969a3e48a67731530437d559d560~hD6BQjSrs1800418004epcas5p1G; Sun, 12 Jul 2020 16:55:24 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200712165524epsmtrp16926f6995ea332d8561c9ddc2a9d4b1c~hD6BPv7fX0161101611epsmtrp1j; Sun, 12 Jul 2020 16:55:24 +0000 (GMT) X-AuditID: b6c32a4a-4cbff700000025e7-40-5f0bdf2e6dec Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 72.C5.08303.C704B0F5; Mon, 13 Jul 2020 01:55:24 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200712165522epsmtip2183a5cd13a31f69e383b51d43de423c8~hD5-pjIrt0711607116epsmtip23; Sun, 12 Jul 2020 16:55:22 +0000 (GMT) From: Ajay Kumar <ajaykumar.rs@samsung.com> To: linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, mark.rutland@arm.com, will@kernel.org Subject: [PATCH 3/4] perf/smmuv3: add device tree support Date: Sun, 12 Jul 2020 22:03:40 +0530 Message-Id: <20200712163341.61410-4-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200712163341.61410-1-ajaykumar.rs@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgleLIzCtJLcpLzFFi42LZdlhTXVfvPne8wZuZYhYH3h9ksXgwbxub RefsDewWmx5fY7VYev0ik8W3YzEWrXuPsFsc/PCE1eLIw93sFtuvNrFatNwxdeD2eHJwHpPH mnlrGD0u9/UyebQcecvqsWlVJ5vH5iX1Hn1bVjEGsEdx2aSk5mSWpRbp2yVwZSxftYGx4B9b xaHNnWwNjC9Zuxg5OSQETCR+zO0Fs4UEdjNK3JqcA2F/YpRYcdqyi5ELyP7MKPGpax8TTMPZ q+tYIBK7GCU2b5/EDuG0MEkc2rqEHaSKTUBbYtv0m0BVHBwiAqkSK1cpgNQwCxxhlDh0+T4j SI2wgKXE+Scz2EBsFgFViYfPzoDFeQVsJRb1LYE6T15i9YYDzCA2p4CdxKQVb1hBBkkIfGWX +LaiBWyBhICLRGezIkS9sMSr41vYIWwpiZf9bewQ9f2MEk/v/2GGcFYzSjx4eIEZospe4sCV OWCDmAU0Jdbv0ocIy0pMPbUO7GVmAT6J3t9PoN7nldgxD8QG2asmsXWFH0RYRuLMwStQJR4S S9dOZYYEykRGieO939gmMMrNQtiwgJFxFaNkakFxbnpqsWmBUV5quV5xYm5xaV66XnJ+7iZG cCLR8trB+PDBB71DjEwcjIcYJTiYlUR4o0U544V4UxIrq1KL8uOLSnNSiw8xSnOwKInzKv04 EyckkJ5YkpqdmlqQWgSTZeLglGpganOSbJvgOGnLoYo2hthF7/K+WmspePKUa3rUukY2NuYK lk9crP2zZl/FqqPmZj8VJbc/rNhgqXeHma2R4/ezmPd3J9Q71/5qNkqU6vq11cHxUI5P/cH8 LOZHv6qc7C7o/XHVPWzWbGpVW5fh/nDDiQP1K+/GdN+6sSfmtntbiZjQvqnuXMKqT9/Lv7t6 ROtI57b6+ccyZzL+s9m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xz4NF2lWSo5ywWv79pkcHBD35+C0+UT35zq2wWa+QjJZbijERDLeai 4kQAmlMB/ccCAAA= X-CMS-MailID: 20200712165524epcas5p1a57d969a3e48a67731530437d559d560 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P X-CMS-RootMailID: 20200712165524epcas5p1a57d969a3e48a67731530437d559d560 References: <20200712163341.61410-1-ajaykumar.rs@samsung.com> <CGME20200712165524epcas5p1a57d969a3e48a67731530437d559d560@epcas5p1.samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200713_001235_143654_F217F084 X-CRM114-Status: GOOD ( 17.54 ) X-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-5.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [203.254.224.24 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [203.254.224.24 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: shaik.ameer@samsung.com, nleeder@codeaurora.org, shameerali.kolothum.thodi@huawei.com, Ajay Kumar <ajaykumar.rs@samsung.com>, alim.akhtar@samsung.com, robin.murphy@arm.com, joro@8bytes.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series | Add DT support for arm_smmuv3_pmu driver | expand |
diff --git a/drivers/perf/arm_smmuv3_pmu.c b/drivers/perf/arm_smmuv3_pmu.c index 48e28ef93a70..25feab718c20 100644 --- a/drivers/perf/arm_smmuv3_pmu.c +++ b/drivers/perf/arm_smmuv3_pmu.c @@ -856,9 +856,15 @@ static void smmu_pmu_shutdown(struct platform_device *pdev) smmu_pmu_disable(&smmu_pmu->pmu); } +static const struct of_device_id arm_smmu_pmu_match[] = { + { .compatible = "arm-smmu-v3-pmu", }, + {}, +}; + static struct platform_driver smmu_pmu_driver = { .driver = { .name = "arm-smmu-v3-pmcg", + .of_match_table = arm_smmu_pmu_match, }, .probe = smmu_pmu_probe, .remove = smmu_pmu_remove,
Add a OF match table with compatible string to add device tree support onto arm_smmuv3_pmu driver. Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com> --- drivers/perf/arm_smmuv3_pmu.c | 6 ++++++ 1 file changed, 6 insertions(+)