Message ID | 1512624067-13554-7-git-send-email-appanad@xilinx.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <dmaengine-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 DA9AF60325 for <patchwork-dmaengine@patchwork.kernel.org>; Thu, 7 Dec 2017 05:36:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBE662A32A for <patchwork-dmaengine@patchwork.kernel.org>; Thu, 7 Dec 2017 05:36:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C09B22A32D; Thu, 7 Dec 2017 05:36:40 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, 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 412F92A32A for <patchwork-dmaengine@patchwork.kernel.org>; Thu, 7 Dec 2017 05:36:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752381AbdLGFgY (ORCPT <rfc822;patchwork-dmaengine@patchwork.kernel.org>); Thu, 7 Dec 2017 00:36:24 -0500 Received: from mail-bn3nam01on0079.outbound.protection.outlook.com ([104.47.33.79]:22766 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752357AbdLGFgV (ORCPT <rfc822;dmaengine@vger.kernel.org>); Thu, 7 Dec 2017 00:36:21 -0500 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=tHMATIm8f1h+9jiw0FvKCJlp9doBQTZYWqnuNMsipqU=; b=oVv/ltl7/C6vXWLurGssGry2dn3KZd7c4fur3QpCGCuph+8PSWxmSxV0F4UFw2VovtLEtaZHl7gFGzKsAjPwRPHk7bafbaLBbrehV2NJWMWwDyP/IfjUP98lKGj8HTrPG8MACNBfXWjhAK/+WpUV10WSPb3KETBY2Vxy26nUlYI= Received: from SN4PR0201CA0017.namprd02.prod.outlook.com (10.161.238.155) by CY4PR02MB3269.namprd02.prod.outlook.com (10.165.88.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Thu, 7 Dec 2017 05:36:19 +0000 Received: from CY1NAM02FT059.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::207) by SN4PR0201CA0017.outlook.office365.com (2603:10b6:803:2b::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.302.9 via Frontend Transport; Thu, 7 Dec 2017 05:36:19 +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 CY1NAM02FT059.mail.protection.outlook.com (10.152.74.211) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.282.5 via Frontend Transport; Thu, 7 Dec 2017 05:36:18 +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 <appana.durga.rao@xilinx.com>) id 1eMor3-00049c-Gu; Wed, 06 Dec 2017 21:36:17 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from <appana.durga.rao@xilinx.com>) id 1eMor3-0003mf-AN; Wed, 06 Dec 2017 21:36:17 -0800 Received: from xsj-pvapsmtp01 (xsj-smtp1.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id vB75a6Kx013210; Wed, 6 Dec 2017 21:36:07 -0800 Received: from [172.23.37.82] (helo=xhdpunnaia40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <appanad@xilinx.com>) id 1eMoqs-0003aq-B0; Wed, 06 Dec 2017 21:36:06 -0800 From: Kedareswara rao Appana <appana.durga.rao@xilinx.com> To: <dan.j.williams@intel.com>, <vinod.koul@intel.com>, <michal.simek@xilinx.com>, <appanad@xilinx.com>, <lars@metafoo.de>, <akinobu.mita@gmail.com>, <joabreu@synopsys.com>, <mike.looijmans@topic.nl>, <kedare06@gmail.com> CC: <dmaengine@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH v7 6/6] dmaengine: xilinx_dma: Differentiate probe based on the ip type Date: Thu, 7 Dec 2017 10:51:07 +0530 Message-ID: <1512624067-13554-7-git-send-email-appanad@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1512624067-13554-1-git-send-email-appanad@xilinx.com> References: <1512624067-13554-1-git-send-email-appanad@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-23512.006 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)(39860400002)(376002)(346002)(2980300002)(438002)(189003)(199004)(7416002)(77096006)(47776003)(63266004)(5660300001)(2950100002)(48376002)(51416003)(36386004)(7696005)(478600001)(50466002)(76176011)(2201001)(2906002)(8936002)(81166006)(33646002)(50226002)(54906003)(110136005)(106466001)(16586007)(39060400002)(305945005)(9786002)(81156014)(36756003)(106002)(356003)(4326008)(316002)(8676002)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR02MB3269; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; PTR:unknown-60-83.xilinx.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT059; 1:KNA5AMTQRIFnYBqw0sq4T6zyxAnv8/FtQsDthDX75R7ta4wxnG1XCW1+FLvgGzIfIr5YIzhDiqZrzMjRjzAWBQavYkWJLPbDAUJw8gWdaNmasngMF4J31xx+SJ5cVHB5 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1f02f30b-f061-496d-7966-08d53d3470fe X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4608076)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603286); SRVR:CY4PR02MB3269; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3269; 3:DTKU5xnlGB8YJHMA1yHgUVbM7TFjo6f0iaWtEnHhYPsTZw/xXAPcHXMpRkkDEVd97EbsFcCMz1zzm8ILA6IuLUuMaAJPUYqYfKucAS1l52BCABO81HQuGQW/XAWwIcerMsJQHaqyYnawmKMHuHeb0LUsb+uLdGL5JktAj0/sWoG1a0HEZzis+Z5Rc0rwGvr+AMyKBI9TNeZOixFwemkR+Iqx8YAzZKiOPVeXQctdjjacl2zwwqn0ItncUhfyOPkTToG5nVsN2ajgOJ3M5xcP8AURf2kabBl8aG28xQ0DtrxS2mX2F1CFW1lY7B+0DFk+Yc8tIUn2w4cGrsI+q60dxB3d8jpjkyZ7w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JO+Ed9M+5sRcZBRC4/l3NF8LbTOwMh1WESri3Jl6Op7fwh2g0rujGIJ77bBSPbSrnZTWnKELscsZNXEJsen2/mvcMjH/a X-Microsoft-Antispam-PRVS: <CY4PR02MB326979A332F537826EEFB975DC330@CY4PR02MB3269.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(93006095)(93004095)(10201501046)(3002001)(3231022)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123560025)(20161123558100)(6072148)(201708071742011); SRVR:CY4PR02MB3269; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR02MB3269; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3269; 4:22fKgvXvqNlw5JlsHza8QXoM1RpxC+Sl5GRhYdo1ZaY+ntXeeMTuI4+pJcXmcLhcn24pLVUd8bHgKqFCDW/GIcduR7zZzREONwYRJto3JIQTaZhgBh4dp/WDq3NHp10k3Sdb0miz08rZekQgfNvHt9bRmHNyqYwtiCxZQM6WmFOvm20082bLrRoimidZAlMpDqOTUOhdX1R85DAS3jawtqVn/u5+v7fzhBP/6PG5uQcuAhdFx8Okzg3ZMzdd7KCh1SIwLC3Qedb5kIDC9CbnKrbbkB6HwtbT+Z75mdZJchkjV4gMjVgzEdOD9cdAi87b X-Forefront-PRVS: 05143A8241 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR02MB3269; 23:HNhHwTTz+7gYMYvt1ec7vukyvflB1QIk10z2bKIeM?= =?us-ascii?Q?AdDMog4DHif+9i41CIJI1nPgRQp/TxXie7zrhmcoun57ZNgsE0GhsHKgz1bo?= =?us-ascii?Q?0fSuxbf3cLr+AqArMk5+hXNxpbxIfg9LA1bVCgLs1ciD81t5j1BbYFd8jCli?= =?us-ascii?Q?rib3byUrY2zcKG0Ub1kpPVQjzRCVigbBSVBtKwGRIGUlHLyY9RmCAaQggV7l?= =?us-ascii?Q?jMmVWSR2ntrdMP0+TaCGrCVqVRTZbv2xiR2VE7YvB2L57uS9zZqtAiQKi/GT?= =?us-ascii?Q?cOsir+OajI5fYzmSULI5JiTDzSjDPhlD71W6g5J6uE+3av7dplVSEXzGctDs?= =?us-ascii?Q?cIr9J4iqrtCg96P2hubadqdZhXi4h+MgwkrGcc7Dbb2FJrhJnYjvcLOWY0+c?= =?us-ascii?Q?E3R2btI8H/9721jpCKXvuvVelJIfjmLlOeOLDMSALLH8soBzdhNxKvCtuhaB?= =?us-ascii?Q?4O/Ua9ouOV8k8mmBq5NP84/cBIBzUPavVRmltmIVffsf7HewzJSIvD9VoBQS?= =?us-ascii?Q?pZZVOfOGpBXTgU8naDQKGp2TgG4S16aWqs6sanDSCH0gK/X4weazHIwrVZvS?= =?us-ascii?Q?C//b3MAXmfIalWAQKYHSYGA1M4UBld7U9KxZxXNfEUhks0qQ8XgpPpg1h6Eb?= =?us-ascii?Q?1A5gopEcKbLDuLLxSvjMx0GqOfou8Wc4miAF4elvEB7EEfAxWgUndRyamYWg?= =?us-ascii?Q?2vipspS3s9emBFZYediO8OfSRhusWU80Bjn/+w8iulgx6OgXdbySwwhlhCBI?= =?us-ascii?Q?a6TWhXwKO9JmB870VyhOAmJKTqq/WrNjw1lU5bKgE0tFPxu+aahdLDJ3JT/q?= =?us-ascii?Q?PMjUtNhbaeRbyOMqTNDnY5te5n28+I6HXqlcU87M7b/qqeQL8fr43dojrvhN?= =?us-ascii?Q?k14icxinIyy00I/SWuDeTRlNpwECzxHMFLXAss98kSVin41+RqnT+sbMoiOm?= =?us-ascii?Q?JQMW8U+kEJ1M8NoAM3Oq1bmgs32wbdzfK+jdzSetw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3269; 6:Fe+ohZzzT0PqY8jAmGgjqKEQ4Bqq43SnY3eN+pI6MYq7Y9cPggISN/VOBjWe7TXzwuPnBE3KgbUcBPSdDiRjLMgAfNr+lxVndgRQ8/66s5lfOn59eKt/IQcGFUJJUoPHhJejkoU3KpimJ3gCUX5nCdpLKVkGtzVRV5Znj28LyGYUMeXpULl96/zzfRLN1uRYjzCiGBYBfpsh9n2BZWqR91mtwLt2SIVlEep5eFOifiKqEBxFvKp8fMhEmJ68o5y5+7g+0arob6jYl8CjcT0BKdMMlhxwN7QXwAVc7uSo1vUd2ntp29fum97WtvM8rU8TskFZqEYahy7yOIqfZ3vY+Mfs18SJV+HoczkC2Tocgms=; 5:DCk2kMOvsNnJwyXWrKv3dMmUlyom9NbALQfuuh8X4TOtKuJhzAoAvStQYRrAlg0Q/kBQzofJudJqwQhPNt/HQygQx5sCJmWGF2EU4OfQnZ3gLUiCiNE1k51xDoDy2r0tHe9WW5q8nBc8u3PU4SdyGdUz6dqTmQdYXNdd+MYFpIc=; 24:TFscDC1x6NXCSlip1meILJ7vbWAUhMU3gFdY3NwNeE+62OoDL9rh6LVWWMQGUl1nZW54D/L9AoNR/w3WWhSuwPFQqzhPzNNG6Y+nnHWP1as=; 7:QPbRvNPmOgki6KgNcASW40/QxtADNG6jlhwwo3smxFR6tjJvm8uMHgKAm8AA+9GkXqsDbK1CapzRuElaT71PKQ6a1eDwdLSPex40GbjKKGwB4CYBCGbx2juQFln/zZaGlOpW/o22z7GWqnSf2ja0IZw7g4fQsbck+0RvG/juTntCnqREtQGji6MFPmuV2SzR/xOjNYp70hpxzNvwWmOUI61lka8y2h3FQyoPXPVHFxhSd/3uqQ9o5gevnh3pIlDN SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2017 05:36:18.2206 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1f02f30b-f061-496d-7966-08d53d3470fe 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: CY4PR02MB3269 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: <dmaengine.vger.kernel.org> X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index b09a8ef..52e2f18 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/xilinx/xilinx_dma.c @@ -2680,7 +2680,12 @@ static int xilinx_dma_probe(struct platform_device *pdev) goto error; } - dev_info(&pdev->dev, "Xilinx AXI VDMA Engine Driver Probed!!\n"); + if (xdev->dma_config->dmatype == XDMA_TYPE_AXIDMA) + dev_info(&pdev->dev, "Xilinx AXI DMA Engine Driver Probed!!\n"); + else if (xdev->dma_config->dmatype == XDMA_TYPE_CDMA) + dev_info(&pdev->dev, "Xilinx AXI CDMA Engine Driver Probed!!\n"); + else + dev_info(&pdev->dev, "Xilinx AXI VDMA Engine Driver Probed!!\n"); return 0;
This patch updates the probe banner info based on the ip probed. Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com> --- Changes for v7: --> New patch. drivers/dma/xilinx/xilinx_dma.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)