Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2098495imm; Sat, 29 Sep 2018 10:20:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV60qJ2pWJUkPMd/ZhAm8yYhYhjiIOMCJW32v/w1L8aAyxUPGn0k7Lv/zUMpQmPilyOJQT/hu X-Received: by 2002:a63:2703:: with SMTP id n3-v6mr3674664pgn.113.1538241617824; Sat, 29 Sep 2018 10:20:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538241617; cv=none; d=google.com; s=arc-20160816; b=LGyZ0v6yAu6yaEv7ErMX+BWaKa95fB+tvPUsm/nLuQcBr3ELQfotIV72ryVBcUugIf Yf4Jls/a2o6BdphAXTXBucHDVaRYHcXdjb+uohVt6yuvMVmC2vCsIRkNtCclsoLOla+F ITc5pAUJU4TfNyxDwnmJ1w0ArDxRszMtKVUc357g5u7W1iX/jXZkAUngG1rnkgo0S2cF IB4yPsqk1kXL1OPmPIHBG6jEoSDb5SrGHoWJtEr1N9NDtKJFYHErWMv/xzzzPVXmu7Ro bdGLQngvAil99GKLcckt3hlxDQkMzZYNt33qZEE1y9kn9oiOmf4qo3wJuXe58mn246pa cIfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=pQFiw5W5oC1ey5rAaTGJjCCIb9MLxvN0BQkEkebZCX8=; b=O7EnSTpvxl+k2R2U7IEWtE3omk/faELrrUv4/gVBsqLNVUGFpHESrfGFyURxtUQ3ps m5HV31JZ9l5ZqEWKz/K0krnBHF2gWcp3RX0zpJiQIkTFWvbu83so8Mn+uxmmMoCaIar4 jSmkv7a5rKmONTY4100Nh5psF7V/tr4kFXRO4Fl8gjRBjeIUxVYcpb08sWuo0EsvbHbr BJAsrxEF/LEiknnmTUXpyz49Ozs7kevHOdqkdpcTQFyfZHp8PRe2quEf8gFYcwHBgZy1 EvlnsLmvZU1L5O4Txl9kJU1TnR5OUOTsqqhxIzyG6uIBiRhs5tabuhuLVb1l4I+6Kq7T J1Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=NTBOi8Iv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h4-v6si4807060pgj.507.2018.09.29.10.20.03; Sat, 29 Sep 2018 10:20:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=NTBOi8Iv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728567AbeI2Xrm (ORCPT + 99 others); Sat, 29 Sep 2018 19:47:42 -0400 Received: from mail-co1nam03on0089.outbound.protection.outlook.com ([104.47.40.89]:56262 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728430AbeI2Xrl (ORCPT ); Sat, 29 Sep 2018 19:47:41 -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=pQFiw5W5oC1ey5rAaTGJjCCIb9MLxvN0BQkEkebZCX8=; b=NTBOi8Iv+zgaoeCnVmfKzuiC0U4EYn4vCECVImFiD4FfDRsLFrOyo4N4clXzMoxZN/3it+mGKRyuZPooKgDJVGf8SLhblHgauhcojFvpHl2JG6k2WJqiz+FRh50mnxmIsXfd0kCdKBIUpNuKFcDTEJvbMXZ0ZkG2s/7xnx5elmY= Received: from DM6PR02CA0007.namprd02.prod.outlook.com (2603:10b6:5:1c::20) by BYAPR02MB4758.namprd02.prod.outlook.com (2603:10b6:a03:4e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.23; Sat, 29 Sep 2018 17:18:25 +0000 Received: from CY1NAM02FT039.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::202) by DM6PR02CA0007.outlook.office365.com (2603:10b6:5:1c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1185.20 via Frontend Transport; Sat, 29 Sep 2018 17:18:24 +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 CY1NAM02FT039.mail.protection.outlook.com (10.152.75.140) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1185.13 via Frontend Transport; Sat, 29 Sep 2018 17:18:24 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:40018 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1g6Isp-0001Ai-UE; Sat, 29 Sep 2018 10:18:23 -0700 Received: from [127.0.0.1] (helo=xsj-smtp-dlp1.xlnx.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1g6Isk-0001eH-Ml; Sat, 29 Sep 2018 10:18:18 -0700 Received: from xsj-pvapsmtp01 (xsj-mail.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w8THIH4C021906; Sat, 29 Sep 2018 10:18:18 -0700 Received: from [172.23.37.150] (helo=ubuntu) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1g6Isj-0001e3-Gb; Sat, 29 Sep 2018 10:18:17 -0700 Received: by ubuntu (Postfix, from userid 13245) id AE0973C40A1; Sat, 29 Sep 2018 11:18:16 -0600 (MDT) From: Radhey Shyam Pandey To: , , , , CC: , , Subject: [PATCH v2 4/4] dmaengine: xilinx_dma: Fix 64-bit simple CDMA transfer Date: Sat, 29 Sep 2018 11:18:00 -0600 Message-ID: <1538241480-13844-5-git-send-email-radhey.shyam.pandey@xilinx.com> X-Mailer: git-send-email 2.4.4 In-Reply-To: <1538241480-13844-1-git-send-email-radhey.shyam.pandey@xilinx.com> References: <1538241480-13844-1-git-send-email-radhey.shyam.pandey@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-Result: No--2.952-7.0-31-1 X-imss-scan-details: No--2.952-7.0-31-1;No--2.952-5.0-31-1 X-TM-AS-User-Approved-Sender: No;No X-TM-AS-Result-Xfilter: Match text exemption rules:No 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)(396003)(136003)(376002)(346002)(39860400002)(2980300002)(438002)(189003)(199004)(478600001)(47776003)(103686004)(106466001)(5660300001)(426003)(90966002)(6666003)(4326008)(7049001)(63266004)(356003)(446003)(2616005)(486006)(476003)(126002)(11346002)(305945005)(186003)(6266002)(336012)(8936002)(8676002)(81166006)(81156014)(316002)(42186006)(16586007)(106002)(50226002)(2906002)(110136005)(54906003)(36756003)(2201001)(50466002)(26005)(34290500001)(52956003)(48376002)(51416003)(76176011)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR02MB4758;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;LANG:en;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;CY1NAM02FT039;1:6ZLhLjNnEIpfFhT0oftohCSlbxwuca/27IOTbw3H8I4sq/yVRVkt72QLtZpJzEs8JnFrBx/H9fq5C8ih+VaxMpwRrK2T2NWbdroQI48Y0/WxEbO7laTrsgED7aAu0XId MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 778f5bd8-5817-4dab-6e52-08d6262f905f X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BYAPR02MB4758; X-Microsoft-Exchange-Diagnostics: 1;BYAPR02MB4758;3:aAeBZOmpFCRIbozeeV84qINJSlD8OcmnZl8xlbsWXw5ouwyNRRJfo5Tc/qLeLWyfCfgNQsq50I8/U/5gBdZHwCE0JO8JagHGR5l/GBYuLyR1zXiUuqYReWeSUHv4XqAKF8ztBU804eNYyGkmgmJkdtZtsnDKODCHAzDaKgH1mc3McMDoBDNgRUZGqJEPYCf5rXTzDVpBgBS8SUMR0gkzn/uMGlJ6Lwv/f0oFl57CnZkyGnCiYSctFYtreFse9zKFozwxc/KC4KPFaUVelcBuhSnP1MEhT69fg81LHvn34jg5ydOAOiyoExn/WiORhFwnjY+baxqrVwaKea4JmtUNt5a+xPiJKwhH6elGy1bX1QU=;25:KFjZvrNhxew2+IziYqbeoW2VBMw/URSUYMGHCPU79XwLM0J1UADvBvrxDABoGkxlgN7ssI0JXbogv9RghV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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: 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)(3231355)(944501410)(52105095)(93006095)(93004095)(3002001)(10201501046)(6055026)(149066)(150057)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(201708071742011)(7699051);SRVR:BYAPR02MB4758;BCL:0;PCL:0;RULEID:;SRVR:BYAPR02MB4758; X-Microsoft-Exchange-Diagnostics: 1;BYAPR02MB4758;4:siR8p9o4U6KBb5P+qvKTzGKqIjDUkHlWE4n1j3TTxg16DKWffeNYc37cHfyQmnWpzmcVcD5C3ENfgZSOZvZy4SNOOukqlbWqjjTjqncr+AX8S8KXK/vWV5tw3zDUlaJlQ0LbunRRNXit8pgKFp4v0tZqmPGwdjv0NjGhuON7OsbUygFCTj7EzBXNBNIsJkx/yWQwGRqhodsVMyJ0yuAZpGxUIE69KBwg9xExWI09U/+xtgNdeoWMminJZoo7QakpGmd4iwzMGZuTagJ2VxpA9Dq9fAer+oNzFUBVkBrmRY35K3HpIB45M3ZtjDOHZeAx X-Forefront-PRVS: 0810818DA0 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BYAPR02MB4758;23:XpoxYBm/TAqSHvQDn/egWL8M5xUI3OFr4gRX9dqWS?= =?us-ascii?Q?R8/O6cjPIQunfWBAmk1uNTLtwrf+ipJX5a/uPhqc2U9h+9e+CSnN3qWHA1as?= =?us-ascii?Q?BOyP19srkZCvIx8wTDIEL7R05OhDDUawz6dZTyVhLbXhRTKpCR7GISNYpGgw?= =?us-ascii?Q?npyoA4vmfPWAScsDHspYLn+qWE8WrYfS/cMbZz2jslG3THlgTZByNGFR4gaA?= =?us-ascii?Q?sJ9P2ALzWidW7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V0FKlBg5/cWt+RnDQ1IoPHcaHJMeBNkPvByfB1isPC4Xo9ogeJQ4Wt4ZTczdMrfbTMFFVokmTBCxPnu5YEIHUYNl43JD4cZASpfPqJgGgHv6YFshw=;7:Vzn1l0ffRvJUfYJaERwqAdj6DViklNV2lXJCvYv9ED7DSMu4zH63q3UWb5d/PikHakz+Ds/eV6uMsLYWLZcAsfcg9h+mGOA/h5AYh+0BAhiUvvP3DkxG18I6COqXUzQbD1Ip2NDgzNrSzDNctCE80cv3quEIQ4kigKr2/ik9JPauyeGoASpOswxJ4cJD2Cq12uVasIjNFRVxlqkUNb68jlP2DGkdx8whBMRLQ7RVkX137bbBZ1aQ6V85Brp9JAs2 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2018 17:18:24.3557 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 778f5bd8-5817-4dab-6e52-08d6262f905f 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: BYAPR02MB4758 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In AXI CDMA simple mode also pass MSB bits of source and destination address to xilinx_write function. This fixes simple CDMA operation mode using 64-bit addressing. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Michal Simek --- Changes for v2: Use helper macro for preparing dma_addr_t. --- drivers/dma/xilinx/xilinx_dma.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index c27ab64..d04ef85 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/xilinx/xilinx_dma.c @@ -1247,8 +1247,10 @@ static void xilinx_cdma_start_transfer(struct xilinx_dma_chan *chan) hw = &segment->hw; - xilinx_write(chan, XILINX_CDMA_REG_SRCADDR, hw->src_addr); - xilinx_write(chan, XILINX_CDMA_REG_DSTADDR, hw->dest_addr); + xilinx_write(chan, XILINX_CDMA_REG_SRCADDR, + xilinx_prep_dma_addr_t(hw->src_addr)); + xilinx_write(chan, XILINX_CDMA_REG_DSTADDR, + xilinx_prep_dma_addr_t(hw->dest_addr)); /* Start the transfer */ dma_ctrl_write(chan, XILINX_DMA_REG_BTT, -- 1.7.1