| Message ID | 1610973148-22465-3-git-send-email-ashok.reddy.soma@xilinx.com |
|---|---|
| State | Deferred |
| Delegated to: | Tom Rini |
| Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-xilinx-onmicrosoft-com header.b=Kn1YEkdk; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DKB8719BGz9sP7 for <incoming@patchwork.ozlabs.org>; Mon, 18 Jan 2021 23:35:18 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A7FBB82799; Mon, 18 Jan 2021 13:35:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.b="Kn1YEkdk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B001182789; Mon, 18 Jan 2021 13:32:55 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on20627.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaa::627]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E2DC38276B for <u-boot@lists.denx.de>; Mon, 18 Jan 2021 13:32:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ashokred@xilinx.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AORB5LlgvFC7hx8FDRaW17zKdFyPawkpk+sBqGBN9ng/baACihUmHry9iedQRVZ6R1LseJA+ToZwIWqF5abZRTUv180V9sjcWtRX7nqm9BXJ4ahaNOI5fSkXl8zO3hYaP1K1EidJjdh36EzJH+Gl0K0xT4ICBhsPhs0j+yV9tKqFu67hTUWcexXFrEmH/gQoFsqBMbEBWTTlzihCtt85FZJhq5xf3zXJrsmQCMXpdSZR1k3bdGMMCXPSaiJYdNA/GYqpGygV/3dMq9zegM4Pf+KRG6CTv2g1NRf+yjxtKKIjAsJuMHtSASssnIi+syVmOxTxUIgFramC75pD3XWvDQ== 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=pqNPWbKE8RLPWOl14C+Z3H/w844NAieuucAVQQacZj8=; b=AbFACRQ/VwI2GDyhn23WSLiYuo9T9b6Ry9/BMjMRuF4mZuY0EBGca9f1+Jao77Si3wBAm6K6sDnVKFuSAqc/PV4DhslkCZrCvbYOkCc9o1IF3JmPoVJErIF2+KeTHv4FFCAwW7bgAR7dojlnNTIQasHHhsRGqg6K333NhTxlxqKCwl/0NpRd5b4kcbUXJrquQc0qGPvlLOftbSZaANurjHIVAqWVZKbP3ReCbTuleagQ+AASu1p11RBoz5nM2j2BpJaGoluRSnv6L8Gilu1DNMRTqrckd6glacDDxuINYsfkE2Sxx2Ecd1i+EubwJznFv4klyxKheaayxA0fi4+I/g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=amarulasolutions.com smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pqNPWbKE8RLPWOl14C+Z3H/w844NAieuucAVQQacZj8=; b=Kn1YEkdk8/m7x8IQce6+yZ2hNqJba+2wkqKmRlKAhQZliIp1F7WKoTOyjT1csY3IrLTHutRx1fhKChhzY/3IB4KgtubJgS4Y2Gx6N8pZEyWQux8z/+rDD3EiEF3zuu7tm95hlW33D5nJl1KWKH0RUrdousXpny1y+2EKScZDnOk= Received: from CY4PR1701CA0024.namprd17.prod.outlook.com (2603:10b6:910:5e::34) by SN6PR02MB5487.namprd02.prod.outlook.com (2603:10b6:805:e7::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.11; Mon, 18 Jan 2021 12:32:50 +0000 Received: from CY1NAM02FT016.eop-nam02.prod.protection.outlook.com (2603:10b6:910:5e:cafe::8b) by CY4PR1701CA0024.outlook.office365.com (2603:10b6:910:5e::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.10 via Frontend Transport; Mon, 18 Jan 2021 12:32:50 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; amarulasolutions.com; dkim=none (message not signed) header.d=none;amarulasolutions.com; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch02.xlnx.xilinx.com; Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by CY1NAM02FT016.mail.protection.outlook.com (10.152.75.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3763.12 via Frontend Transport; Mon, 18 Jan 2021 12:32:49 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Mon, 18 Jan 2021 04:32:46 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.1913.5 via Frontend Transport; Mon, 18 Jan 2021 04:32:46 -0800 Envelope-to: git@xilinx.com, jagan@amarulasolutions.com, tgorochowik@antmicro.com, wtatarski@antmicro.com, ashok.409@gmail.com, u-boot@lists.denx.de, monstr@monstr.eu Received: from [172.23.64.106] (port=48300 helo=xhdvnc125.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from <ashok.reddy.soma@xilinx.com>) id 1l1Ti9-0004mz-Ib; Mon, 18 Jan 2021 04:32:45 -0800 Received: by xhdvnc125.xilinx.com (Postfix, from userid 2896) id 50FC41210A5; Mon, 18 Jan 2021 18:02:31 +0530 (IST) From: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> To: <u-boot@lists.denx.de> CC: <jagan@amarulasolutions.com>, <monstr@monstr.eu>, <git@xilinx.com>, <ashok.409@gmail.com>, Wojciech Tatarski <wtatarski@antmicro.com>, "Tomasz Gorochowik" <tgorochowik@antmicro.com>, Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Subject: [PATCH 2/7] spi: zynqmp_gqspi: DMA transfers should be word aligned Date: Mon, 18 Jan 2021 18:02:23 +0530 Message-ID: <1610973148-22465-3-git-send-email-ashok.reddy.soma@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1610973148-22465-1-git-send-email-ashok.reddy.soma@xilinx.com> References: <1610973148-22465-1-git-send-email-ashok.reddy.soma@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e233415b-e078-4573-41b5-08d8bbad2ad9 X-MS-TrafficTypeDiagnostic: SN6PR02MB5487: X-LD-Processed: 657af505-d5df-48d0-8300-c31994686c5c,ExtAddr X-Microsoft-Antispam-PRVS: <SN6PR02MB5487CC886504DCF007CBB7B1BAA40@SN6PR02MB5487.namprd02.prod.outlook.com> Content-Transfer-Encoding: quoted-printable X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:1002; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hvd1/MnYavOos8vl88+AgU+uRXlFKsUmCmhcJ7jee/IO1iS9b+qah8BkqRhCtHFdc64L6O8dupjzc4Z5/Zw5QDoyDvazkqKiwW8bnCMz/8ea0FPQHLwsuRODi8ixIKxgG8nP3YNfXV9KE1hJhtu+atS1v3igwrJagKgM7oc8X7Bu0SDMPQokM/TBZJ6A49PC/7x+2JC7yKeAiggiS21t4hYgArymUWbhHmYTyUzJhaPHwadgl7IEJB8C5g6Yj/d31qffg2Uk1f5IQlO3fk/v5pFeinKC5nHGWMmuwozWT8oNIe8O4VAVjVx17t77thGprRxU507GHXSGxH4cYBm0cajCivPEUBrYpAUE4czMUg5EGFs+A37Ck4T27yflvYQA7uLDPXVfLSrqwgb1MQITsTidaLj4bitlUa8ftu+5M2F/eS/nTNhvb2IueSO4sDQ4gGQJTXzmenceYWLRK0Kce7TwNlazBp5xBxnHLoNejmQXAtATxO0VrOe0WAsjkU17n2fL3WY2Bu1IVkh9uo2MkCTkrLyVYmqqLRJNG3U6RvQEI3XMHj5JMISoq3yQbfQc8RqEvCvkte/jC+csfaQ7uF0V4k2iqL3QdLD5knXiUyi/Zxbe4NalF9D1ou1agiXd X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch02.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(4636009)(376002)(346002)(39860400002)(136003)(396003)(46966006)(82740400003)(6666004)(5660300002)(70206006)(7636003)(6916009)(70586007)(82310400003)(2906002)(186003)(6266002)(107886003)(54906003)(8936002)(316002)(36906005)(42186006)(336012)(8676002)(47076005)(356005)(426003)(2616005)(26005)(83380400001)(4326008)(478600001)(36756003)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2021 12:32:49.4903 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e233415b-e078-4573-41b5-08d8bbad2ad9 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: CY1NAM02FT016.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR02MB5487 X-Mailman-Approved-At: Mon, 18 Jan 2021 13:34:57 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
| Series |
zynqmp_gqspi driver updates
|
expand
|
diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c index 3e0dbb2c7b..81c5e2b22f 100644 --- a/drivers/spi/zynqmp_gqspi.c +++ b/drivers/spi/zynqmp_gqspi.c @@ -530,10 +530,10 @@ static int zynqmp_qspi_start_dma(struct zynqmp_qspi_priv *priv, struct zynqmp_qspi_dma_regs *dma_regs = priv->dma_regs; writel((unsigned long)buf, &dma_regs->dmadst); - writel(roundup(priv->len, ARCH_DMA_MINALIGN), &dma_regs->dmasize); + writel(roundup(priv->len, GQSPI_DMA_ALIGN), &dma_regs->dmasize); writel(GQSPI_DMA_DST_I_STS_MASK, &dma_regs->dmaier); addr = (unsigned long)buf; - size = roundup(priv->len, ARCH_DMA_MINALIGN); + size = roundup(priv->len, GQSPI_DMA_ALIGN); flush_dcache_range(addr, addr + size); while (priv->len) {