From patchwork Sun Jul 12 16:33:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 11658677 Return-Path: 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 486E56C1 for ; Mon, 13 Jul 2020 04:15: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 217FB20738 for ; Mon, 13 Jul 2020 04:15: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="wlxSyElC"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="J7IjZR7b" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 217FB20738 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: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:In-Reply-To:List-Owner; bh=Lz+A2FTasIobGVGEZbipG4pKZTHXkepbMq40RHTNBCo=; b=wlxSyElCMhDw4chUScoEXdRvt7 fHliwtUI4IYRLMCEu+rX1m02rZ6ujbZq7Q8JhNnz670fXclvJC7e+92PNjBC18PVwyAws1kAV/e19 /wX+7IaqloVC2++0qXA6/ro2u6DX38oWPxDttBu119zo/Ij8KLZAUwpMS1iDzsvJHhvyVlOpOEmLh 2qlFjYFvz5n5BzBCtwfQpUfQZTIM4tbc9ofCH3dQDlSdY082hNc6EkDRRJeiY/m62hbGUyvI6d1E+ SZM1vYXTHENtd+3MvzHiBoFZ6I+rWu3P+/bdCF80Fals0YliQMdli2hJvLxxvWguCc2hfQ9l916Cr XBQE0ZEw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1juprG-0007yc-R3; Mon, 13 Jul 2020 04:14:26 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1juprE-0007xI-O0 for linux-arm-kernel@lists.infradead.org; Mon, 13 Jul 2020 04:14:25 +0000 Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20200713041422epoutp04f2815dbfd7aea8ed1779b28403efc0c4~hNK1xVerA2368223682epoutp04_ for ; Mon, 13 Jul 2020 04:14:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20200713041422epoutp04f2815dbfd7aea8ed1779b28403efc0c4~hNK1xVerA2368223682epoutp04_ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1594613662; bh=tW0GfOMVfiQf5X09GW3Gzfv/Lmk8qbWDNWr2fCs+rmg=; h=From:To:Cc:Subject:Date:References:From; b=J7IjZR7bHanVgb0ZHgb9g/p0OKyuo43ZD+f1PisWz5KkUnx45c19TQRJvzMPUwYtM kx5csxTwp08jeAAV7I0fqOu6udIcJzM58WJc+RBXj139vp7bvo8nW8bqOcimPxExsp +8sJiFvPsb60RLLH3eLMstBfFoaWAvm/SclfPaso= Received: from epsmges5p3new.samsung.com (unknown [182.195.42.75]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20200713041422epcas5p2c813ea8d3988c94403c5859da971a607~hNK1R0ijY0127001270epcas5p2X; Mon, 13 Jul 2020 04:14:22 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 75.C8.09475.D9FDB0F5; Mon, 13 Jul 2020 13:14:22 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20200712165509epcas5p29e66777a4e0115420b9104ba5aa83f57~hD5zh2pkd2014920149epcas5p2o; Sun, 12 Jul 2020 16:55:09 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200712165509epsmtrp1276c47ed63a9a94e8b7375d43773cf60~hD5zecCcO0161101611epsmtrp1g; Sun, 12 Jul 2020 16:55:09 +0000 (GMT) X-AuditID: b6c32a4b-39fff70000002503-56-5f0bdf9d5839 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 28.40.08382.D604B0F5; Mon, 13 Jul 2020 01:55:09 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200712165507epsmtip299b80d0d7f564f6daa096c319c50ea96~hD5x6NUF-1457514575epsmtip2r; Sun, 12 Jul 2020 16:55:07 +0000 (GMT) From: Ajay Kumar To: linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, mark.rutland@arm.com, will@kernel.org Subject: [PATCH 0/4] Add DT support for arm_smmuv3_pmu driver Date: Sun, 12 Jul 2020 22:03:37 +0530 Message-Id: <20200712163341.61410-1-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrMIsW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Luag4EQDtNINThgMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDLMWRmVeSWpSXmKPExsWy7bCSvG6uA3e8wawNUhYH3h9ksXgwbxub RefsDewWmx5fY7VYev0ik8W3YzEWrXuPsFsc/PCE1eLIw93sFtuvNrFatNwxdeD2eHJwHpPH mnlrGD0u9/UyebQcecvqsWlVJ5vH5iX1Hn1bVjEGsEdx2aSk5mSWpRbp2yVwZUy6385c0M5W ce3Pf5YGxvssXYycHBICJhJ/1m5h62Lk4hAS2M0o8fPqITaIhIzE8x1PoYqEJVb+e84OUdTE JDHtbD9YEZuAtsS26TfBikQEMiX+3DwJNolZ4AyjxPJf18ESwgK2Ep193cwgNouAqsS3ebOZ QGxeoPiXW9OgNshLrN5wgHkCI88CRoZVjJKpBcW56bnFhgWGeanlesWJucWleel6yfm5mxjB AailuYNx+6oPeocYmTgYDzFKcDArifBGi3LGC/GmJFZWpRblxxeV5qQWH2KU5mBREue9Ubgw TkggPbEkNTs1tSC1CCbLxMEp1cC0/Ombg6cKi1euemz+9u4BnrUeswO7WYtEZsjtyzvHfrG2 OELW/VhbQ89SheyXmTwxF5I1kzgeiAYu+MnsMdu54frFh6dlzLiklrSsyfNdu2LZ4n2TWr+r davx7Xt56bVtubjJ/EW6mctuWYVyqf7RbNSY/JwxOPXMliVvZ3d+Cz9qWvTO+2/+iwv99d1R 7Td1PjOK7lr6sV5OPFFttcf2S99NFws6dX1Wy3t0J6zf/sHca7bH9FZ5pYW8VWGUluve+y3a eL2a/yaOSTMc21+xf3CT6Oqp+y1rYrtzEttdxRO8HY3/ejfdVVi1cJHP1Ez27Zy/hF+GXZdr mlw7/+eU3z9Pa999UzO1gvny59llSizFGYmGWsxFxYkA6jW7eq8CAAA= X-CMS-MailID: 20200712165509epcas5p29e66777a4e0115420b9104ba5aa83f57 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P X-CMS-RootMailID: 20200712165509epcas5p29e66777a4e0115420b9104ba5aa83f57 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200713_001425_076179_8E943811 X-CRM114-Status: GOOD ( 13.17 ) 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 ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [203.254.224.34 listed in wl.mailspike.net] -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [203.254.224.34 listed in list.dnswl.org] -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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: shaik.ameer@samsung.com, nleeder@codeaurora.org, shameerali.kolothum.thodi@huawei.com, Ajay Kumar , alim.akhtar@samsung.com, robin.murphy@arm.com, joro@8bytes.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Currently, only those platforms using ACPI can enable arm_smmuv3_pmu driver. This patchset adds support for enabling arm_smmuv3_pmu driver on platforms which do not enable ACPI and instead rely on DT. Ajay Kumar (4): perf/smmuv3: Remove dependency on CONFIG_ACPI Documentation: perf: Add documentation for arm-smmu-v3-pmcg perf/smmuv3: add device tree support perf/smmuv3: fix crash when platdata not specified .../bindings/perf/arm-smmu-v3-pmcg.txt | 21 +++++++++++++++++++ drivers/perf/Kconfig | 2 +- drivers/perf/arm_smmuv3_pmu.c | 11 ++++++++-- 3 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/perf/arm-smmu-v3-pmcg.txt