Message ID | 1527713725-1086-9-git-send-email-jollys@xilinx.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show
Return-Path: <linux-clk-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0723060327 for <patchwork-linux-clk@patchwork.kernel.org>; Wed, 30 May 2018 20:56:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E80322917D for <patchwork-linux-clk@patchwork.kernel.org>; Wed, 30 May 2018 20:56:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DBE9229578; Wed, 30 May 2018 20:56:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 612E12917D for <patchwork-linux-clk@patchwork.kernel.org>; Wed, 30 May 2018 20:56:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932238AbeE3U4P (ORCPT <rfc822;patchwork-linux-clk@patchwork.kernel.org>); Wed, 30 May 2018 16:56:15 -0400 Received: from mail-cys01nam02on0052.outbound.protection.outlook.com ([104.47.37.52]:32279 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932241AbeE3U4I (ORCPT <rfc822;linux-clk@vger.kernel.org>); Wed, 30 May 2018 16:56:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PnUuKT3KOVxk9qJDl1SweGkZ/cx6bMHa0cexhaMd9sI=; b=x2UAoDkrjDi3oOYLtMOoFnI9AMtqeTGUfgTUNelrc3JazjXDCnLR3xT+dkyhu7/qL+7tWNe06WpHpLvYpfEySy/is4f2fKpP8HKZnotEx+ENsIue8J8w7LsVtYg69Lwf88OqTr0hGjbDIGuzSF4Cya7Dc7nrIgVbXoK6neJDzPs= Received: from BL0PR02CA0048.namprd02.prod.outlook.com (2603:10b6:207:3d::25) by DM5PR02MB2201.namprd02.prod.outlook.com (2603:10b6:3:4e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.820.11; Wed, 30 May 2018 20:56:05 +0000 Received: from BL2NAM02FT020.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::203) by BL0PR02CA0048.outlook.office365.com (2603:10b6:207:3d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.797.11 via Frontend Transport; Wed, 30 May 2018 20:56:05 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by BL2NAM02FT020.mail.protection.outlook.com (10.152.77.162) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.820.8 via Frontend Transport; Wed, 30 May 2018 20:56:05 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:50247 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from <jolly.shah@xilinx.com>) id 1fO88a-0004RK-GR; Wed, 30 May 2018 13:56:04 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from <jolly.shah@xilinx.com>) id 1fO88V-00088S-Dx; Wed, 30 May 2018 13:55:59 -0700 Received: from xsj-pvapsmtp01 (smtp3.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w4UKtrSc028656; Wed, 30 May 2018 13:55:53 -0700 Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <jollys@xilinx.com>) id 1fO88P-00086i-Bm; Wed, 30 May 2018 13:55:53 -0700 From: Jolly Shah <jolly.shah@xilinx.com> To: <ard.biesheuvel@linaro.org>, <mingo@kernel.org>, <gregkh@linuxfoundation.org>, <matt@codeblueprint.co.uk>, <sudeep.holla@arm.com>, <hkallweit1@gmail.com>, <keescook@chromium.org>, <dmitry.torokhov@gmail.com>, <mturquette@baylibre.com>, <sboyd@codeaurora.org>, <michal.simek@xilinx.com>, <robh+dt@kernel.org>, <mark.rutland@arm.com>, <linux-clk@vger.kernel.org> CC: <rajanv@xilinx.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, Jolly Shah <jollys@xilinx.com> Subject: [PATCH v7 08/10] firmware: xilinx: Add debugfs for query data API Date: Wed, 30 May 2018 13:55:23 -0700 Message-ID: <1527713725-1086-9-git-send-email-jollys@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527713725-1086-1-git-send-email-jollys@xilinx.com> References: <1527713725-1086-1-git-send-email-jollys@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(376002)(346002)(39380400002)(39860400002)(396003)(2980300002)(438002)(199004)(189003)(26005)(2201001)(7416002)(107886003)(6666003)(186003)(77096007)(2906002)(478600001)(47776003)(39060400002)(426003)(11346002)(486006)(5660300001)(446003)(126002)(4326008)(476003)(2616005)(110136005)(54906003)(106002)(36386004)(316002)(16586007)(63266004)(81156014)(81166006)(44832011)(8676002)(36756003)(106466001)(305945005)(8936002)(9786002)(336012)(356003)(50226002)(76176011)(48376002)(72206003)(7696005)(51416003)(59450400001)(50466002)(107986001)(921003)(5001870100001)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR02MB2201; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; LANG:en; PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; BL2NAM02FT020; 1:pYOnIaGrDwBhGFPdKt9egiSaMwiLknI2ZDFLrKPdaM/CA8F+QUImV1/V8kt9Gr5JG/rsYmUb0lSqyoEAIFW8bsns34KlOIcWOcr15I9JfJeUMrv9IK/xRqmd8ONDXqC2 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:DM5PR02MB2201; X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2201; 3:o8J6FuB7V9OXtPYFc/tJUwEsEg02PW6BWpQB9PlqebALv56CZ3Mb9vnQbTdt0wIo1W8rMaSnEY3Db5AUHGVO5XuG0wBbT3nDLHIy8QIWFb37BCljvlF7rqPDT0S5mXer6lw/Wa1nUmL847AabEADWKAYclEhiltgVGbQw42Up20W+LN1M3Yw27b/d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Ovshb+qBx+YKzCclv/U+n+4766tQ8J8LVvDnrPilw2BMCl3y4L/tX37qme1gTPz1hs51o5bxu1YmeTfWjIbD6ZgMoPD9dFfHq/yOmyH4AmheDyYhBxoij7U1RqmuIipinBcgtE5JzQlCqaeWXA0nBd6KNKsq0HSNF2HLRyieUbgS0/0dmg6MOeUZ73HvgItx2CCsIhJbGtzuVeHyFhhbg3sd4SPOQ4S9f4B6Mr0b0ZrXaLjr1P3AhXomcbEsdvFgW83wpTBFZ1KEoBOZ4Dh0+x X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: <DM5PR02MB2201771209B748E6B4CB5B08B86C0@DM5PR02MB2201.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(93004095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:DM5PR02MB2201; BCL:0; PCL:0; RULEID:; SRVR:DM5PR02MB2201; X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2201; 4:y2P98w6gTX3jIMUSyL6Os/DiIJJIdAoPZXbxWQZ80ouh4xK4XhaESoBy8WOTwZ8Pa+zjKPa5bu5rsjDmcMYqLcPa5Zh/5J+lkrzSMRlMoPCvIluSlGYQc1719A2qEIlMSFYWKnAuA59HC/x+QvZ6RBki7Amzk7cJEtAUtlCkgQH1kpGs62Dt5rQH4UYq1Tb2bE8qqQvmdF8NKn6nG4WdRav+5kLhFDtNoupQ7XBGQj/NW4vAqQJPxdPTenj/3i3kwUdWME6h3F6vIQS1Osfqgc8Yp4Ak+t+3Dn7NUYv3JEA8CjWy2uwHjjO/DUAEHKWl X-Forefront-PRVS: 0688BF9B46 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR02MB2201; 23:yFJHQzh3iQSet0dJndfkkqZjk63DVSn0rFATGddgU?= =?us-ascii?Q?TK56g2sLj78YcMeTEhpn88vbgec7TiMpTMM9wcf6E0/A6o4LEjp22fjpyvK3?= =?us-ascii?Q?QxxaAh7EyeSZ4Eykdl5cNc9ymUk7ORdscPLI/QH69kT7km3qrOSsfW99GJBB?= =?us-ascii?Q?MWUQx6z5a/JKh8XO7WkjxnNtcr5GF9sVCwwM70fmeRm+fN2nX5vvGd9pbUID?= =?us-ascii?Q?pUGF6M6ClNezJCEEjxZEnBPAsXiHHKvTndTp2DlQQrpiWqURIoDZcDJah9MN?= =?us-ascii?Q?Bhen6HTfKg8UyRhlSz2mQLGmq/UVdhoe3ct1YjkEHavcjlMIihWYCJs1DjAk?= =?us-ascii?Q?5EVwqydBa7VqcsutjCquj9sdbjwf+9ZVM/pnYtnuHqs96VXtHEZzTG+a91VU?= =?us-ascii?Q?+uG6/N6FoSVGUcfvdp2UR3kVp2X83DhhoAbnZnhyVRxz/gNJGucSIjhdwSMM?= =?us-ascii?Q?nGCKclIlJt/biCi2ao7pNZSgAlcEgdxG6rd9K4oYks190kaiAHsve1/M9WQ8?= =?us-ascii?Q?SaA65mDkU5rCu3jQNQrOvBKK6oF6//bv66KKtVzewskDJrun3VOGeySwL9G4?= =?us-ascii?Q?P2wB0FS8LAMFYDtjct/zDNHEeA8V+1BgtUynQbfxMzeE52+hKwfpptbJgtHe?= =?us-ascii?Q?SRbUaJfbm5qS7yiObm/76Nee8ndKhyUDDFioTi2suqgYe0a8LMb3YQBBopWL?= =?us-ascii?Q?Q9/R0u1hkOMsSQ5vdkwdsx7nmOr17DLvkFcQYM+6xE4XGMvqwCW5s5P8CraI?= =?us-ascii?Q?mPu6/ipmIhJn1HmHIgh1BezS9FvZW05SeVh9yGrP9xSumnvnmljBhETEJoOc?= =?us-ascii?Q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lur/uhEAcRDT7Ssy/jGmsBt4kQSQLcyIe83SYoP5r1nPfLF2q7/WmGZcnlRHonA5ItQ6voX0BIWNkALM2wl8NPd7Q5cl+FMdqJ/HHWLcdfxgREGyxgzz7tCVLbg1FGP2rDKr8VUqvPgGXKz4QFtL7E/Sqt3JoD2fHi59yiPjuHrHmtleJSsTfXol5QcKFEXy2+N4toSjQdPoHiMAit+4h333kOtjj3z1dxttxSP9Y3CzDSketaig/JHiasgCS9yc9l85brcTSLeoq2A==; 5:b90ox+vziw6gY1Uf/w5Kw+aSVj/VFS9F2zNiq322IaGj6KncH6Hb8wsx+0BgyoLWT2i2T47oHP22gbMfnffTOMkFt30/2uzD2mJKQsTBhQK0jT2M1Wd0q6viOwiwj5wKLPnqeXKsu6ECp1TeqrHzfr1yqgBXGjukScXcPRmvbRw=; 24:rxoFhrXxkIoixgbgOezaYuAkLmK2JkJQLHQpOIVvp1C6LuuPnXQj+itTLe54eO8v245gWEPnDkYeJCWvNNo0qKIur4hFhnA6jrlKNxxvl5U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2201; 7:XJsIEcpiNXLZZ6PrtRT01WEieNa27HO48bE24Qr6p2b61XDnkDBMVkqtT8mUORZ+JdaCiJF45nUyEK/5xa1BEFXxcO4/c2L+kP5/BWQJgrkzo/LfnLtN/rKYVhkr7wnz3YoCxXlQLSEoPMibp/nQGmBkAySaT+g1RKmLRezlOzVQnrxaxW5dxC1wFUzkvoTtQgyy7Z0a9tjML6Hu7ye7+3aYwmYqSGIgDgIP/9TNKC6ZIfskGlaAvhBW09XaP1wa X-MS-Office365-Filtering-Correlation-Id: eeb7e0ca-d5bd-4f34-2710-08d5c66fc2bf X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2018 20:56:05.1894 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eeb7e0ca-d5bd-4f34-2710-08d5c66fc2bf X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB2201 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: <linux-clk.vger.kernel.org> X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/firmware/xilinx/zynqmp-debug.c b/drivers/firmware/xilinx/zynqmp-debug.c index 148dbff..1cb69f7 100644 --- a/drivers/firmware/xilinx/zynqmp-debug.c +++ b/drivers/firmware/xilinx/zynqmp-debug.c @@ -33,6 +33,7 @@ static char debugfs_buf[PAGE_SIZE]; static struct pm_api_info pm_api_list[] = { PM_API(PM_GET_API_VERSION), PM_API(PM_IOCTL), + PM_API(PM_QUERY_DATA), }; /** @@ -105,6 +106,32 @@ static int process_api_request(u32 pm_id, u64 *pm_api_arg, u32 *pm_api_ret) sprintf(debugfs_buf, "IOCTL return value: %u\n", pm_api_ret[1]); break; + case PM_QUERY_DATA: + { + struct zynqmp_pm_query_data qdata = {0}; + + qdata.qid = pm_api_arg[0]; + qdata.arg1 = pm_api_arg[1]; + qdata.arg2 = pm_api_arg[2]; + qdata.arg3 = pm_api_arg[3]; + + ret = eemi_ops->query_data(qdata, pm_api_ret); + if (ret) + break; + + if (qdata.qid == PM_QID_CLOCK_GET_NAME) + sprintf(debugfs_buf, "Clock name = %s\n", + (char *)pm_api_ret); + else if (qdata.qid == PM_QID_CLOCK_GET_FIXEDFACTOR_PARAMS) + sprintf(debugfs_buf, "Multiplier = %d, Divider = %d\n", + pm_api_ret[1], pm_api_ret[2]); + else + sprintf(debugfs_buf, + "data[0] = 0x%08x\ndata[1] = 0x%08x\n data[2] = 0x%08x\ndata[3] = 0x%08x\n", + pm_api_ret[0], pm_api_ret[1], + pm_api_ret[2], pm_api_ret[3]); + break; + } default: sprintf(debugfs_buf, "Unsupported PM-API request\n"); ret = -EINVAL;