Message ID | 1523389127-14243-8-git-send-email-jollys@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 2F7656053C for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 10 Apr 2018 19:42:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C16528249 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 10 Apr 2018 19:42:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0ED2428332; Tue, 10 Apr 2018 19:42:55 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6808A28249 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 10 Apr 2018 19:42:54 +0000 (UTC) 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=4M/yMXiSaevS9bq+RInEQ/L58Zxk2t2bJ5YY19n5rIo=; b=oIOe5NLSbuLPBa 96OHIYLEjWM8jeywsh1+UO3ruWkdAIUUaZ/yWQUtCMCSFm0oRUCmxLYk5fYwgRzmO0ErkuHjX7qF3 P5PCk+JyOG0qOkPzgTAFpd2QcqJvuolpmKlbgcpri6dufTO1p/CHJhAmozf63cGjiPMY2xSF8Oojd DXVbmIbNem/QWhdNvjbPA66ZzwKpVryw+aML5Pz8ItBo4s4SHKosHE6o9ntQZN3ADnjxCr1dxpHmJ HwqSi4AAeg9y9OfS7GkjmR0qk4ZVctIAkBuFpGNXC+1tqlthjUSCGI1YvO1tDWKSd32ujU74B6r92 nsBzK0It6jP18WurcIrA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f5zAD-0004Yi-So; Tue, 10 Apr 2018 19:42:45 +0000 Received: from mail-by2nam01on0621.outbound.protection.outlook.com ([2a01:111:f400:fe42::621] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f5z7I-0001l2-RY for linux-arm-kernel@lists.infradead.org; Tue, 10 Apr 2018 19:39:48 +0000 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; bh=tzXjjxb+XxO3qo0I5igjwilZ3KxLCYpht6qunDjCKVs=; b=UjlEOgYWIbeIeflpi2lgxi1+MhvE3AHYoZsHpRq2WHJoUDaX0avJrWcobT/a0GkjOTb8jMtVsNtW/Z4QtDpKB8SxVbdytCnzKd0qS6PumB33OdddBjF0p12hglYTMuuECVAzsrHypWMm9GZHb55IIWm2U4HscFEJENR9IHAFY10= Received: from CY4PR02CA0046.namprd02.prod.outlook.com (2603:10b6:903:117::32) by SN1PR02MB1406.namprd02.prod.outlook.com (2a01:111:e400:583d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Tue, 10 Apr 2018 19:39:30 +0000 Received: from CY1NAM02FT014.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::205) by CY4PR02CA0046.outlook.office365.com (2603:10b6:903:117::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.675.10 via Frontend Transport; Tue, 10 Apr 2018 19:39:30 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) 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.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT014.mail.protection.outlook.com (10.152.75.142) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.653.8 via Frontend Transport; Tue, 10 Apr 2018 19:39:28 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from <jolly.shah@xilinx.com>) id 1f5z72-0008Bi-C0; Tue, 10 Apr 2018 12:39:28 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from <jolly.shah@xilinx.com>) id 1f5z6x-0006GI-8m; Tue, 10 Apr 2018 12:39:23 -0700 Received: from xsj-pvapsmtp01 (xsj-smtp.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w3AJdGiJ030927; Tue, 10 Apr 2018 12:39:16 -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 1f5z6q-0006FF-4S; Tue, 10 Apr 2018 12:39:16 -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> Subject: [PATCH v6 07/11] firmware: xilinx: Add debugfs for IOCTL API Date: Tue, 10 Apr 2018 12:38:43 -0700 Message-ID: <1523389127-14243-8-git-send-email-jollys@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523389127-14243-1-git-send-email-jollys@xilinx.com> References: <1523389127-14243-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.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(1496009)(39860400002)(376002)(39380400002)(396003)(346002)(2980300002)(438002)(199004)(189003)(486006)(16586007)(9786002)(50466002)(107886003)(5660300001)(39060400002)(36386004)(48376002)(2616005)(54906003)(11346002)(446003)(126002)(77096007)(336012)(106002)(476003)(316002)(186003)(7696005)(26005)(426003)(47776003)(59450400001)(51416003)(8936002)(36756003)(2201001)(106466001)(8676002)(50226002)(81166006)(63266004)(4326008)(76176011)(2906002)(7416002)(305945005)(72206003)(478600001)(356003)(110136005)(81156014)(6666003)(107986001)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1406; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT014; 1:1hjkHuJrrouhI/vV/BadIJzZiWnhlibxnAD/G4b2/2iMSi0dPEbmKz4rCFwYHiSMESeWShH9kmWfJK5ZPO0Vv0C0W60geI9qmuuX40G3ZnHQv/n+gw3TSNeKQQqs5KF5 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:SN1PR02MB1406; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1406; 3:0JCostrkDG6gVYNO0xpy9ATQLkz0XuhRBrLg1pGzoHoU3+IArPfzKnF9skHcqxNq45IpDlRuk9WRaq/u0kUgo4knGyK6EFJBE0qj/7CPy7K1BMsBxxadpyoRsmPbZ+nZrTw7B0PwuVF09/LnktPSD1XX7wBzmfiVdPNKvE3R8NqvxEzTMLgfnl6rHcQWhTdAYTwyzfUlPvP7B0qPDQ2aZOMwFbE9xsQNcsTB4RMtyE4HhJJCh3l8rtMTz6Cb+twYJ8NP96eNFNASmCn6k8BHfKsWYCM1J2nQAey2s6HPokWky34kpkm+d5qvCGwrm3D9DjvmcrL+jKGWYtCKxnTBN49BuCvxmYmLvZ+YpWqZFDs=; 25:sYWdhzFXQR4No9tEPQMhFJMbm42taSh8KFlBv/2PddUVDq9bWCizSJtqgMp5Z3Z/UewGXWlprCb/gHNqTTK7FtKifR6VPEQ7kGEZqjhnknffDaYHXADFWWtIbgEc4aJ9iKRal0xYZ9pGmqAP9HIAt6FoJe06hZgXhsgspTJQciwmlGliyXOtVGNW/Rsm3iVZfSMwwz4GxT4E5BG8QgEZQazP24XhdHPp06rCgFHzSMHFb+0CNCRbV3BBZ8ssno2kIF4Q2qy5eN2okOfyUwMOlIbVgNys9ey0uz4UtmgcWi/RwvPTjLaQcYstlN93zN5sw5615PMzVv8YAPmHFuQn5g== X-MS-TrafficTypeDiagnostic: SN1PR02MB1406: X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1406; 31:c0ZC0+EvN5xiSLKnCsctDGbCiVIiiil1ggQlmrygG5ybyixtA0cIfJBcay/4tctjp44ahakLraRByUfT5GplP5Bu1JzcTCLqQJ8ZF/M96jAlPJMVHL6B6C5tXX0pcyM14zK670hwahwYD+lNQZRJI2NXMWVbnV53fiDo3ua1ngfE4bAtBv9tPLwxPx/5jEeA9ICl9i5Q0FIpjZaK2kb9RPPF6E765/gBmql7f7S0E/4=; 20:2ANksAj0Wxc/CxFjQ/BB+gJqieWEA5vPzae0BDKI5pyPtam0Av1Dj1/hNcL5B89ZqFCl9nUpP4uj/01mfo86ENC2alJ+5hAxZOGZxitBi071B6pPCvFdmjGhaP/ZUYkLfcm+CtFIQ2ngnyYbyAmI/0MmmFtF/pNPS7wkc+3/77H/tg3w7ojLD373SqRVw+6tIiRF3UULW9ErUVdE1A27buEEsN8V5/XVID1RAWrUTAZaogEcR3AvhPeYFQUwOLBOTuf248ifoxL2naTeK5R2gwF5KSlQpWg/T2Lr6khTU4u0oWagQuy/s0CHIi8bnnLLbLMeLpCoZF+a++/rI7VY2fMeYk3worXAEVcMcnyoPnCBIduo4cDodaLYhUdQ8t4hqwzgtRXDsl5WdwSOARsxuYwIJIVi/Sew83YaIwQatBqsU3zAer1tvw+SebdlP+KLREGI/qGlgWRyENrMldCNkMQTYh8QLMVdJ4rFLlAv/GOhuocWbMCVJPFaG+fnRzww X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: <SN1PR02MB14067CAA9C933FBE5E8813EBB8BE0@SN1PR02MB1406.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(93006095)(93004095)(3002001)(10201501046)(6055026)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(6072148)(201708071742011); SRVR:SN1PR02MB1406; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1406; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1406; 4:s1mWjSW6HFYMjyqaNBnoyoXH7Q0g0ygUqUQlyP2qK0/FpRZbieISEIP4B4naG3C9rONid+SDeNl667RZ4RtO4wn3yDTAmANCl+/DkFDoR9b0f17zadazir0ky2RB6stwfEhEB3zhu9ohCwN406WbQI5XY5LYxorFHuZPTt2eGp/T9wX+xeuZiddDMIaBEAP0XyOK0ltcCINw7WMaNmdC4eqfBB59XbW4oHFzCsQYnjL42UdAgw13vXoCUc0ijUoGH4mb/rrvoxLp/90hyuM17obhsBxV8aw2GoTfoK/DPvMUJQ6XbQvyjbEY7KgMhQsF X-Forefront-PRVS: 0638FD5066 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR02MB1406; 23:izzdrlKzoRc3DkwJT1v4NQPHH5ACVoNXNrvGM2WGv?= =?us-ascii?Q?J41e/9uquzNoumrJneB9qzt+eSP6EDehHkAn2PdYLhHvQCVLR95KdyMFIgCv?= =?us-ascii?Q?JM/PcledmG/adKi9MwMFhdP1elLGEM2EuDzMnfPvL6Vt8MoQUc1ta+sjQ5Lv?= =?us-ascii?Q?AZ1iXOs2LZQ2dz5+/cLF65wWzhzhyEDPfec8GH9gPkafCw+i+TIVCqxL/fm6?= =?us-ascii?Q?/XuIC+/pPVwc2LkdzZAyXu/xZ1bjU1YG66X1igGhr0XGyIcdKjBYpW+uAq+H?= =?us-ascii?Q?DgvGZDBqCN9vm1YDFsY9/sZPtovwgEKRo9AhRhzvjI8L/LMcX9Wk8skZqpc1?= =?us-ascii?Q?MVtYp5aViMmcpDdqye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AO9ipMT7E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1406; 7:JcHWDKZox4ccdB8NHv4w3Lmt499DzBqcOxQWQv72402B/cMhPJT7Q+swnWE5M/gSppNwseOrVva4J+wVZ++Bbycgqbv9I5baCHN08GTO9y3r8DXMCIGVPv0SOGLqJ9UaB6sZQVr9Pty71op7ctJABtEjUuAoDmnK/hsxTypnXsFZfRWqg+53XnvOxCp3SVamBeT/ptp9GNJ+Ivv6d8j/061VkLg+BSJjYhb1RgAOkcUEvwJNBXvUNvBMBPxNSqcv X-MS-Office365-Filtering-Correlation-Id: c7549872-b252-4eee-0fa4-08d59f1ac6cb X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2018 19:39:28.7049 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c7549872-b252-4eee-0fa4-08d59f1ac6cb 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.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR02MB1406 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180410_123944_929335_7D3FD02E X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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: devicetree@vger.kernel.org, rajanv@xilinx.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jolly Shah <jollys@xilinx.com> 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 X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/firmware/xilinx/zynqmp-debug.c b/drivers/firmware/xilinx/zynqmp-debug.c index 4800366..148dbff 100644 --- a/drivers/firmware/xilinx/zynqmp-debug.c +++ b/drivers/firmware/xilinx/zynqmp-debug.c @@ -32,6 +32,7 @@ static char debugfs_buf[PAGE_SIZE]; #define PM_API(id) {id, #id, strlen(#id)} static struct pm_api_info pm_api_list[] = { PM_API(PM_GET_API_VERSION), + PM_API(PM_IOCTL), }; /** @@ -95,6 +96,15 @@ static int process_api_request(u32 pm_id, u64 *pm_api_arg, u32 *pm_api_ret) sprintf(debugfs_buf, "PM-API Version = %d.%d\n", pm_api_version >> 16, pm_api_version & 0xffff); break; + case PM_IOCTL: + ret = eemi_ops->ioctl(pm_api_arg[0], pm_api_arg[1], + pm_api_arg[2], pm_api_arg[3], + &pm_api_ret[0]); + if (!ret && (pm_api_arg[1] == IOCTL_GET_PLL_FRAC_MODE || + pm_api_arg[1] == IOCTL_GET_PLL_FRAC_DATA)) + sprintf(debugfs_buf, "IOCTL return value: %u\n", + pm_api_ret[1]); + break; default: sprintf(debugfs_buf, "Unsupported PM-API request\n"); ret = -EINVAL;