From patchwork Wed May 20 02:56:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 11559207 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 86CB213B4 for ; Wed, 20 May 2020 02:59:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 6439C20842 for ; Wed, 20 May 2020 02:59:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Z6MxfkQ8"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ZxaJmg9W" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6439C20842 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.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=bombadil.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=yLsy9zHE/XJqo+2kEFetaowWCkoOUhK06Q8tSLsoTf4=; b=Z6MxfkQ8Bz6cjc u09QqSrfBqQvjRVCLbviyQXKn3ExKHYCB2TCWaGfT7oY2NbnCd9/B91xPvoqF9ATNbnk71GBF7wa4 Ua+3Yp049AhxXWzVtQ0sKneT8l16+J9CaPftrnSytqIHO0HfoRb+hwDqZxe8vlhlH5+3OyWrlfKsZ N+ylWHRKUYlnl/UeSL1uVrqoDnctZqAmruv9PaIdbRuc3jOiPhjLPSBtHbmVOt8mLHV9mb+gnZTvJ iiJEnMqv1himK9vPgfrRRmqihxp5N1beUmrEKwPa5NPkkXuo4QozQDoCWjTvU4GoOQ1cbPerKoRKb ga7DxBCy7MwkKtoDK18A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbExG-0006OE-H9; Wed, 20 May 2020 02:59:38 +0000 Received: from mail-eopbgr10058.outbound.protection.outlook.com ([40.107.1.58] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbEx5-0006Dt-1J for linux-arm-kernel@lists.infradead.org; Wed, 20 May 2020 02:59:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TCQZXWiAC2encWoW6kEE3SSP7gXDApDczZLX16LeLLQGxTH+ktNR+NJl9Nio/EIbC2VY5wQcoiJMuph10LC01S8k9QtzhFCRmvt5qj7egBA9oL1n/xv8h/csnKDWst6tB1Tsl9kxKHTRgLLQu5tJWatO+Gn8/aQwBFSCkvY08lko3H62ccKzknC4qcBsorgMaGzBTspTWt6I1nXTc0gymg+JnbgMTOc59k8JgR72edB/0nLzgYxVAuyR+PLepD7MYzlX7bpTHpP82lmJN2Cbj0IpaBq8nNmFpREikYPQEz0RwlgslU63AnsLS5dRd+Mp24n7HTaMYhMWbYa7zGhpBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hl4S+04bc6DbOXLWVetB/25GFzyJXGpsiMIx/PI21XM=; b=T8VCIgQZIwcRWofV+cq8is5PWtqvbvWheMRn0d0IXdxDCEPYk++pL+cbhE24KQLOyH/FEkUP/a/grXUPRj6sAxhYx1PKelx1cgJkDnD/HqIQbbKz9EfofPOduwx+ODD//xqn/1xRPmSUj+gFSReyJLyXysdZGmrkOvbyP7GGJfr9CPQhz97ND8Ug5bEWLsDTyQn8K1z6j6OtQjli4p86Y7Ll7+C/rD9OIDMEz7WlAo0lJiNQF26r4Q+nJO26lhDMKybQo2FaQUuL0fuUXS9fY3CzZ1/crJMLYxPIcB6O7c68wF3jZbV3logllI4QBDMFhhEfbjYGFaoxU5eSTwWSgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hl4S+04bc6DbOXLWVetB/25GFzyJXGpsiMIx/PI21XM=; b=ZxaJmg9W/qFfLLTwA5ANbao1gGp8f2MCv/E/Dy4356k5tdy7o1LQaSyA4OhFTr603VA7Hv0LxIoFdaIuYxENG3eVJmBiEElPD5+A0X+1ydWWNxs8/YGWN2xYNlZyLV2GLWK1iuuJKEIFdkH7orjQ2+kqNeffNN2nkclQtYJlqCY= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DB8PR04MB6634.eurprd04.prod.outlook.com (2603:10a6:10:10e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.27; Wed, 20 May 2020 02:59:24 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::2924:94ba:2206:216e]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::2924:94ba:2206:216e%7]) with mapi id 15.20.3000.034; Wed, 20 May 2020 02:59:24 +0000 From: Joakim Zhang To: john.garry@huawei.com, will@kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, shawnguo@kernel.org Subject: [PATCH V2 1/3] bindings: perf: imx8_ddr: add identifier property Date: Wed, 20 May 2020 10:56:17 +0800 Message-Id: <20200520025619.687-2-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200520025619.687-1-qiangqing.zhang@nxp.com> References: <20200520025619.687-1-qiangqing.zhang@nxp.com> X-ClientProxiedBy: SG2PR01CA0142.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::22) To DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2PR01CA0142.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Wed, 20 May 2020 02:59:21 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [119.31.174.71] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7e58eb3c-2529-4ac4-64d8-08d7fc69cd50 X-MS-TrafficTypeDiagnostic: DB8PR04MB6634: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1303; X-Forefront-PRVS: 04097B7F7F X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fnolzcD8rYeAh480wBF+Nb/FLvRc/5vprIIQVAtww3qPpJc5d8yUBJnGIcI4YJQ4ViLl4hR81Lv1jH2fTRWoZIZ2WlA4KEUMHd1UGG6RZiwrxbQI6jiZf6dxM2v/85ZHotorwu7xsj9GiUT+Ev5EV9Ew68ViCjrWRFTbtXGf9MTf1ISpg3lnAFbeosBMDWr7VBikWhAv3d/BtvcDHhEuy+fwj40Aq0uboCOvccOB72xJKiKIvhhD8dLYTqXDbX5KU0TqJ0AeYpvq1pBKTCRSAFQvS9QsIOckA+UQEH91nX6q7PueSYWb0xVytZ00S5A2ykJZO2KXJuf3luRVIuwsyguoOSP5WeMve/SQfBbtGCltHRTvD+D0/DLNMUGzVqbmu4vsWtiAMX0GCS5UZi9XSMbxnhTqceLqWV/YQEih17SCJmTKWk4L5XTEnvxchAwJcaAnzoU24eXdQSgxf7MvVbQvcZ+Z0BWa6h4BhKXRxxILn9hI87rO1EzViEKcsXRJ X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR04MB6795.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(396003)(136003)(39860400002)(366004)(8676002)(478600001)(2906002)(6486002)(956004)(4744005)(8936002)(6666004)(2616005)(36756003)(6506007)(16526019)(5660300002)(66556008)(66476007)(4326008)(26005)(66946007)(1076003)(6512007)(316002)(86362001)(69590400007)(186003)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: TOKpmF6pVbRqEgJelulXtGjXfHTYuRGK7JOniCEVR5aDCC0VHYXBwA4hWlnrldld7leDRXQTPPsMxLZbfomtN5Oz44FZlhO9qnH+fuTuE6gPTyW1c+jvzd6Zj0WD+7xO/bIAtI5lzDxjGj34FIQ1KG5YuYMIfA/mYe9VM/jAlLALjCYVFf25o4btP26BzoSywcwx7tLkLLUcFZz57Di1APxKFkEdVAimdfb3HtaKX1k8+4VJnj+X85CmaSmIU3U94GPwZZaFIbD6JnaohFpDDVfrmcQ4Vo2QApkh/ltzBxb9paXbPqDKQTzsHuPQrjJcWuQpEIYWHFNBJkjvfjeEVW0Tl/jtG92Smh1tSO/f3F3cG9xlqNcxFnDr6W0ZioeDCEMdU/C0qKjSgqH99Rfr1j5PPQGooEZ905tHHknKIL7989HL0OH/M52Qzep4HGrTlRJXwCx3e23WwAP6kV4ZfWLt8s3DhvUwsXbO6gaEVOQ= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e58eb3c-2529-4ac4-64d8-08d7fc69cd50 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2020 02:59:24.5565 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: h0DArtWeeOnI/M3bRpO0iRQHA+pQFnngKid0Vcv26MD24aeeko5DhGj1o9D9i83GflOmEfNZDAA8msG3hMiVyg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6634 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200519_195927_073895_C3CB2A1F X-CRM114-Status: GOOD ( 10.39 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.1.58 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.1.58 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 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: devicetree@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add "identifier" property for DDR Perf which used to identity system pmu. Signed-off-by: Joakim Zhang --- Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt index 7822a806ea0a..ebb9a40094c5 100644 --- a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt +++ b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt @@ -12,6 +12,8 @@ Required properties: - interrupts: single interrupt generated by the control block +- identifier: identify system pmu + Example: ddr-pmu@5c020000 { @@ -19,4 +21,5 @@ Example: reg = <0x5c020000 0x10000>; interrupt-parent = <&gic>; interrupts = ; + identifier = "i.mx8mm"; }; From patchwork Wed May 20 02:56:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 11559209 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 A58DC90 for ; Wed, 20 May 2020 03:00:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5F32120842 for ; Wed, 20 May 2020 03:00:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LhhAGBTd"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="QZGy/+IO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F32120842 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.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=bombadil.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=L/1GOKIKf8Uqo8J0T0XD+LkJ/I1HjnPjEQfduikhUJQ=; b=LhhAGBTdncH88y 0vU2nZ3jpLwuNq3IU+DyIXulB+DSr9u2qEs6oDEeRwrb/5252Rj2gjkZbKBWDTinRlXXY6vl6YChE xYkxgHo7Dxapw3p6h2Bh1dDWJXWTkuGTyDYSd7vNH8KIskBVq0rB0dLGkaSjBPGj9QaO4bMcqZjN/ Goy3ifnATh6Ykj3gvGZDsu4/0QkWWbFXZbMdyOk46Cq7DHowImxH4N8y6vPv9/R3C+VrZrcSwoF7i EQqH6YZf6mThHUxmyCFGDUKMX4X/LYjzMPQf2rJfi867plBcIE+lUxMs9nHlnTYuKWOcQj8+cK6wN tG1IfwRebdFvDnTgmOZg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbExX-0006f2-SN; Wed, 20 May 2020 02:59:55 +0000 Received: from mail-am6eur05on2040.outbound.protection.outlook.com ([40.107.22.40] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbEx9-0006HM-JF for linux-arm-kernel@lists.infradead.org; Wed, 20 May 2020 02:59:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BodrMynLNd/06xyJLFNGKzlgagfyWRUd9LRu4lStAa2Wis1IwgFrjwd2Df5LsPZHtY6NzNRgxTWYK9K85+39xRqNPu9Y+UE3j2k/RitJslZVDj+SnGkwONZf1N/o9wABXfB01E09MUDRSkvBigGqziA6OnfYt5rT/mWxMighn06XMp5UBTeSZzyo7+b/b3RPBzGgxstYhvNj1U30nkwtrtJhYdF2yC+PPcx8MWVTXFJADIjxzCUmz7t5FhxvjLjVlJ4n+1k6xzM6LV5PqpfVJaqZ3GeHrHyKYUK+jhcsVnL2lANwBhGXt8blpbCVfD8U7co+7Gk2Yw81Yf5++j2wRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vEGsCpOy3etkzy1XeQgJjouVhubNgqAGDo4ExtLZTF0=; b=V9QB8/SBByQgQ8HRPAiKUAeo/9OCxogmUqpdhPFcagG52TLzhz69zWJvzkvkImqsyPhJUpNskrOKGfDpQfnqbwQWThpCJbL7xgxs3rWb4lJ+YnqbV/EPdVmk1UbQD8gfSPP2YTq7elLufwD+zoyALz0SiY/QivziZKPhaMQxoP2dOLq40KbfcfnsICmLKq9nBoTwJmeuP4bW3mi75wt1zaCcBoV7RXPOfoio6RWlfN6swUsMJ+OnpcaMjpC3IiPycPl5SU8YERgFWkcjcxLMKqYQIPosnh8nUY6SWlitgoQXqDLZr9gfpdCwPpM32uxAefHZNPoPxkDa/l7ZVLAl2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vEGsCpOy3etkzy1XeQgJjouVhubNgqAGDo4ExtLZTF0=; b=QZGy/+IObabbPSlqcJD/wgVSZKBt8UWlVBRCuYItEE+ov91lvVD8GfdomA28MDNCUv2tTL17hs7fdEz12+d2WD+SX1K/9cb7yKhTAVXQUxd50TDTXtzMzK4lNou+rNu/WCtCshOLkNqnGctq4crvuFKiH2P93xKBZ+ot7obvHaU= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DB8PR04MB6634.eurprd04.prod.outlook.com (2603:10a6:10:10e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.27; Wed, 20 May 2020 02:59:28 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::2924:94ba:2206:216e]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::2924:94ba:2206:216e%7]) with mapi id 15.20.3000.034; Wed, 20 May 2020 02:59:28 +0000 From: Joakim Zhang To: john.garry@huawei.com, will@kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, shawnguo@kernel.org Subject: [PATCH V2 2/3] perf/imx_ddr: Add system PMU identifier for userspace Date: Wed, 20 May 2020 10:56:18 +0800 Message-Id: <20200520025619.687-3-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200520025619.687-1-qiangqing.zhang@nxp.com> References: <20200520025619.687-1-qiangqing.zhang@nxp.com> X-ClientProxiedBy: SG2PR01CA0142.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::22) To DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2PR01CA0142.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Wed, 20 May 2020 02:59:24 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [119.31.174.71] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e52fac7e-475b-4541-4a58-08d7fc69cf62 X-MS-TrafficTypeDiagnostic: DB8PR04MB6634: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-Forefront-PRVS: 04097B7F7F X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: piKfqpcLu3STl/XPD5B8ev6isnC36YgEHQojdkihwf538NYAwpZZf+zYii5RNVkGY/WK86yKJ28PQ+Ow6nBAkYXYiE210Wtp3nqQBuj0yij/hpsMhSBScKRy1IN0HBX5XYXDHx/PQli+NcBgn7UgNzgsfg2aU+7XRHNzleZXx9SP4/0jBjYDp2oa7mAYPGQTlIcVhSI+wj5+BDMjXdxsfh9ovMkLvNqOy2av5w+jFTr7i68ohGHQyxiU/oLGPgGWYcOUJQZD+cesNueg4585naUEDU+xukj+IeVhEFsu0EE9MHt0FPhYKuDpL06CAxXJ/jFflttRkiiWQQa49c3VC9fwMOEDl9U6QmftPou5z+i7v0cgztFgaAoslH1/B+X49LSx1jPC9upVydPPtLPoq3wWyxE12Iv9lMyoufrR3eCXulU0S9aC8hFdjO2esuMafyr4JbJ6rfvhVIuZeZjOv303XmeoZkmk0xId+rpdoBdoCJsGGn9ixLma9rcACVTa X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR04MB6795.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(396003)(136003)(39860400002)(366004)(8676002)(478600001)(2906002)(6486002)(956004)(8936002)(6666004)(2616005)(36756003)(6506007)(16526019)(5660300002)(66556008)(66476007)(4326008)(26005)(66946007)(1076003)(6512007)(316002)(86362001)(69590400007)(186003)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 4+sYkLKLXMr4cNpfsU5MgNC7m/vBDkBh75QlZXXmtQRdn8jc69+AFFEd9USs11jaZ8V0D1ZFuQxEj82LP80jxatT4HdrG77qxTMzjKvdIzuN9VCFRrfuksvP1T4voLq9O+b/iKOK2PHf1KdYOA/kVfQScwyUMulMR9EieisRnjb7dY09i/PVFY3eQqXEeFq30QaQJxJZkqmoXiTfIdfatVga4rpjTvlaHVT/hkOYhF7yCz6+DwDkfJDOuki5oPKlxDVnscUwK0iOXv6XAwAP+llQNXJjIqP+jR5KtG2eohrHowO/DCONhBd+yu+YgO9tisaSL+VK0FLLkeeJ8L5F1cd9271H1BWH04lCwTFV7+cwXy2yMbjZy9WPcVVnap6mobG8jT/b84zd4i+erUTezwWDCLRCL9pczzYPo6roTTTVStFMnT3rBQj/CNa094FVFgN76bn8PpVYRDhF7q6zSz5slKK1C4UJ8G2kyCs5Hcc= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e52fac7e-475b-4541-4a58-08d7fc69cf62 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2020 02:59:27.9177 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LbNWthLNhCP7DwpbNDUI9lbPl214A5ERIfjbT5OsZngBHQ+1p+pGUTQgI2CadVoK7F5J6+kruWAMZZnK22Q4mA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6634 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200519_195931_654800_D40AE5B4 X-CRM114-Status: GOOD ( 12.55 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.22.40 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.22.40 listed in wl.mailspike.net] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 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: devicetree@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The DDR Perf for i.MX8 is a system PMU whose axi id would different from SoC to SoC. Need expose system PMU identifier for userspace which refer to /sys/bus/event_source/devices//identifier. Signed-off-by: Joakim Zhang --- drivers/perf/fsl_imx8_ddr_perf.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/drivers/perf/fsl_imx8_ddr_perf.c b/drivers/perf/fsl_imx8_ddr_perf.c index 90884d14f95f..ba523a94f4d7 100644 --- a/drivers/perf/fsl_imx8_ddr_perf.c +++ b/drivers/perf/fsl_imx8_ddr_perf.c @@ -76,6 +76,7 @@ struct ddr_pmu { unsigned int cpu; struct hlist_node node; struct device *dev; + const char *identifier; struct perf_event *events[NUM_COUNTERS]; int active_events; enum cpuhp_state cpuhp_state; @@ -84,6 +85,27 @@ struct ddr_pmu { int id; }; +static ssize_t ddr_perf_identifier_show(struct device *dev, + struct device_attribute *attr, + char *page) +{ + struct ddr_pmu *pmu = dev_get_drvdata(dev); + + return sprintf(page, "%s\n", pmu->identifier); +} + +static struct device_attribute ddr_perf_identifier_attr = + __ATTR(identifier, 0444, ddr_perf_identifier_show, NULL); + +static struct attribute *ddr_perf_identifier_attrs[] = { + &ddr_perf_identifier_attr.attr, + NULL, +}; + +static struct attribute_group ddr_perf_identifier_attr_group = { + .attrs = ddr_perf_identifier_attrs, +}; + enum ddr_perf_filter_capabilities { PERF_CAP_AXI_ID_FILTER = 0, PERF_CAP_AXI_ID_FILTER_ENHANCED, @@ -237,6 +259,7 @@ static const struct attribute_group *attr_groups[] = { &ddr_perf_format_attr_group, &ddr_perf_cpumask_attr_group, &ddr_perf_filter_cap_attr_group, + &ddr_perf_identifier_attr_group, NULL, }; @@ -601,6 +624,7 @@ static int ddr_perf_probe(struct platform_device *pdev) struct ddr_pmu *pmu; struct device_node *np; void __iomem *base; + const char *identifier = NULL; char *name; int num; int ret; @@ -620,6 +644,11 @@ static int ddr_perf_probe(struct platform_device *pdev) platform_set_drvdata(pdev, pmu); + ret = of_property_read_string(np, "identifier", &identifier); + if (ret < 0) + dev_warn(&pdev->dev, "Failed to get identifier\n"); + pmu->identifier = identifier; + name = devm_kasprintf(&pdev->dev, GFP_KERNEL, DDR_PERF_DEV_NAME "%d", num); if (!name) From patchwork Wed May 20 02:56:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 11559211 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 6EDE013B4 for ; Wed, 20 May 2020 03:00:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4BC5020657 for ; Wed, 20 May 2020 03:00:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cX8TCRFI"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="L/VWIYrH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4BC5020657 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.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=bombadil.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=0UGGVtpCw6jmtYjCRE/f91cYWgoyY7NPOETF+EeKp7o=; b=cX8TCRFISiMuRu /rX1tA8GiPwYVpZRFtWCgQmF8516iM46Sm0tqFLTgch88a9IXFpiBhruvD8fOHgv8LTZSIceRBpkj AxPfHMnAjbGt14qyW5iAjPNN5Lk9m9RpQ1CJMvt5Acs8qQa+hW6xRjJM/x3C74Yw7p+E+XsqH+Sxi x06hSR3amOj8WhqYQykhinah4L36sM7F5RrJtsBv2P4fwAPjp4VDQPvr9HlnbnTHvKA2SxyNkiLbi UdR/0tSAgZKKiZ83uWDvKqON+pBaXcE3R9BIu8WFF0z+1ymKTD7ISQ1LbzolqNor6IaVDm+WGExsE /MMN9XWOmCEj2ls+1flA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbEy2-0000u0-D5; Wed, 20 May 2020 03:00:26 +0000 Received: from mail-am6eur05on2040.outbound.protection.outlook.com ([40.107.22.40] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbExB-0006HM-CC for linux-arm-kernel@lists.infradead.org; Wed, 20 May 2020 02:59:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LgWayIxBwWXTxh77VoNlBJ0N4wnGAfQ0CKAHq4ZvmQGfRtPpjB3LMWY5Xf4tz2YAtcbY9PTlUqcKa9wFRHmXGECxew22/3YZ5idCHM2MVP2o6isflP56kDwNbe4NVweTaava+NPCgsfYAMTWAVnAFP0Fp408jG6UaE2npA5lRIFk7Gzjiujo5+plnw3rqiu603VwHkdjhvOq7EQ+YLqP5p++oBJ/OunIq+ovZu1yKzXuXNKQH7GAyH5NKAhqgNphrtjyR9cQz32oEcSXot+Fz40BHA3O30EOPSkwgbgBDz1TER3hgIqc4kD0SwEC1nkwjMg38dkbj2nbOe7uNIwuAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T5zCrxqrYdDhwlKvQaiCmennCqm9k07OLzQSm95LsW4=; b=f0UOPf5pva13C9RTo8Rn3Q5rnuch3aPLppNaxWabWTuBAOq7aUUk9/ctj+wr1YJVgj4qzGVEfaEeOjKZrc8WDSk9wIGNhyqGjizI9/pN6+BqrS6ysYZCf7CG2Hz/A6GEZAq0ATp8mi6zKmggS7sAYxGNfoq4+yo2HM5OC2XjwXp9WZz5yW3JOE+hsR76vX7W8Psl+qxmET7h3Erq6+okN8X8yDLs/BG6zpp2Ao8WvhOYdnbR1Cv49xpbNkMwxsLdDisC/vdc3dWI51cfDT6XuUpX/mTkFModqq1cZhnNESh8Q2VkA9yUI0K0pNhphwMsLNIDOvLZHOCIrJaxmiAFaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T5zCrxqrYdDhwlKvQaiCmennCqm9k07OLzQSm95LsW4=; b=L/VWIYrH1iM4xPe0R7PU677ZkR1tyXacxr5rG1CT9MZMaQ3YqvE5nnViju3SYPuFtFzEU22UkNDEArga189jG06GjTX4A+XLuYUud3Z9lXUVOdzGd0tJyeDToz+yydU1E/o/14v7rtb0todXinhmUwiqQlGT2H2epB9w7ENnJKI= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DB8PR04MB6634.eurprd04.prod.outlook.com (2603:10a6:10:10e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.27; Wed, 20 May 2020 02:59:31 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::2924:94ba:2206:216e]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::2924:94ba:2206:216e%7]) with mapi id 15.20.3000.034; Wed, 20 May 2020 02:59:31 +0000 From: Joakim Zhang To: john.garry@huawei.com, will@kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, shawnguo@kernel.org Subject: [PATCH V2 3/3] arm64: dts: imx8/8mm/8mn/8mq: add identifier for DDR perf Date: Wed, 20 May 2020 10:56:19 +0800 Message-Id: <20200520025619.687-4-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200520025619.687-1-qiangqing.zhang@nxp.com> References: <20200520025619.687-1-qiangqing.zhang@nxp.com> X-ClientProxiedBy: SG2PR01CA0142.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::22) To DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2PR01CA0142.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Wed, 20 May 2020 02:59:28 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [119.31.174.71] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: b0d37a41-12dd-4457-ba5e-08d7fc69d15b X-MS-TrafficTypeDiagnostic: DB8PR04MB6634: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:843; X-Forefront-PRVS: 04097B7F7F X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V6tnQ/Y0TIULIZwzear2fnHPLLQAMiPw4m95v8ZM1YPVY0jqpu/ID5SwN+NApStu9c/jtynpq0UEfZyOl12Vjh56pmg1ZWAfodl3PiivEvZVYxG8fZnOmXVzDqty+QF5IOqMkr3lr3YZVREN1cyv6L3EdjnMp2j7plu+8DDddPMFfYKvwvDwvDgvfpnglE7bC87cE0rmpMoeOFFqoBmZXuUlc80j7MzIfFZKVe+bdQ4jNDjlOjBP0+eRF2hhSGQnVHzReERMF8LvNneE90jN3KupaMoLjpvQw69QUwb+h6OSKxEQ9LTbXzmqlCOOPcz4zWh/SPUQPVnHG1Tz2696Z83wGzXGFNUL8bksI06XYW36yX0a0oWO5HYwr6XK7JfGS2ASHfUpDOrARB8YsaE+9ZwrrcCLMuRIUkqhCiCXmHjAuM5rJ1/gGuuwczMzVPZaQXMC+vPaUdLKcZ4B7OXD64g7BIM4EF7XYFzDst4CkwdP4yUrRJpzAchmcC2qELLt X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR04MB6795.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(396003)(136003)(39860400002)(366004)(8676002)(478600001)(2906002)(6486002)(956004)(8936002)(6666004)(2616005)(36756003)(6506007)(16526019)(5660300002)(66556008)(66476007)(4326008)(26005)(66946007)(1076003)(6512007)(316002)(86362001)(69590400007)(186003)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: CHe32/Bhg5qY8LRRCSeNJe9LnmA4dRWIa9VTyW1v4akUEupOO889gRgnyBUg7U1285l/AMlqJ83NByff5LQ3Jc7GtjWyxnz8gwfSIxBr8rIDQH3zSMGOoPkF2qvEK9ZGlprH27KFg/JLr4+5iZMrE1xjL0S0HeY4211mhQDCQAqEzS0yC7qhuZmtR0AZntl828tSy582J5ri8irOFy9wdgAheBIvhTIui0PKEaUgSZs/3QSfMlPTJTMSdJu5ZQMH2Gm+GpSKohxjXUutxjgxMuOEM3ZEe3cr5W2u6WyvZps5viM+gEf0c5m8eLy33gS0UZtyrbUtgH1wUi0GjJIhebH4GpWA5mtN6Kt8hfOn4UUoKTqzlz0QhemvWj21ET8bmerbYMrDzXueSd1kLTJ40/FYAJ2F7TppH9W8JHvmouNSkPeGXIz47J+3f0eBOV8CChNJ9AJxpdHXVSeB6w9iViCdCB9C+J0iTk+uMCkNdFk= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b0d37a41-12dd-4457-ba5e-08d7fc69d15b X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2020 02:59:31.2650 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MZS6VTlagS7bwuMKBofRKpPGqxM+J6c8+gz4gqawg/xhQrMXjq2VZq6xmda6A/xZbgQm+iUXvLrvpsLnaeqVmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6634 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200519_195933_442817_7DCC9D1D X-CRM114-Status: GOOD ( 10.26 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.22.40 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.22.40 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 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: devicetree@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add identifier property for DDR perf. Signed-off-by: Joakim Zhang --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 1 + arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1 + arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 + arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 1e5e11592f7b..ee14a6ecdb93 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -898,6 +898,7 @@ reg = <0x3d800000 0x400000>; interrupt-parent = <&gic>; interrupts = ; + identifier = "i.mx8mm"; }; }; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index a44b5438e842..b93e56ebf9a7 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -796,6 +796,7 @@ compatible = "fsl,imx8mn-ddr-pmu", "fsl,imx8m-ddr-pmu"; reg = <0x3d800000 0x400000>; interrupts = ; + identifier = "i.mx8mn"; }; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 6a1e83922c71..38cc93af35ac 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -1217,6 +1217,7 @@ reg = <0x3d800000 0x400000>; interrupt-parent = <&gic>; interrupts = ; + identifier = "i.mx8mq"; }; }; }; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index fb5f752b15fe..0c294b549806 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -436,6 +436,7 @@ compatible = "fsl,imx8-ddr-pmu"; reg = <0x5c020000 0x10000>; interrupts = ; + identifier = "i.mx8"; }; };