Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3492461imm; Tue, 29 May 2018 08:09:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpOJk+BYdzCXQsfNH/b4TJOkJbtryltWF98eHnw6D2OYnTDUC/IjMeWuyiANkAfBoIPDH3H X-Received: by 2002:a17:902:9349:: with SMTP id g9-v6mr17435578plp.375.1527606554421; Tue, 29 May 2018 08:09:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527606554; cv=none; d=google.com; s=arc-20160816; b=uhJsVxbL9p63f3COPNFlBOeofTgjwG8UgBXOPohKDdqhswMu/snDDIo1MIgqeWSEXt jfEj3iqi8S0m0bmqaoeopHH9Asx2dMgbU3VNq+a17ANoDTvsU30sQsMo6P2VC8Xlr9Kx dfXrrXNaNpIaoa/VN0cvPl6W+WLvMtvyKAoRrqO4XRqXs8+L1tVGSsPpdVe7Fb32BAAd DBwHp1peXh8nObjXce/n3UAlrHRcCxzohM8aj8acXoQlZpx7k0kOpRVeGfQyApgjUOqD CFilcutWWt852Xhac6lq1D3NUQM/njdoeyHkA5BWWY4T3mmA3xiy7JLBTKatFfVvawBB Axnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=TU8GJ7q83oxxrLeph8gm98Jj8IVzBA4rJ8xr0HO9Gxs=; b=KmgAhEYCN4k6Mexj2IegIFN7i/b6OBRKMwK9dOoCPbX97D4IvC3oWB6JXN396JOh1H A2puIB9f8wB35lycH+MNBGEU6ejCFop0xnt16fY62nxNlcN1Q6lMpz2wN0NAf8dJPhXH JJHezExvVtEk4O2wcDYqUqg4AS9XVNT5S0Pj/W/DH8CBZqsaWDnOtgOLKlsRgx5ZdU59 wg7aGx0ETDBQ/dIhQYetMgzVfhgc2fP13RKfXlyrDQl3oozWLNFmbPxj53jS9oJDsIzc WMV9FPG3WTRF07uSF1IeMC/5uTQ13n+474pg/Fn4dXjl1iGHgUnUpT2bBiQg3ipX5fTC FnVw== ARC-Authentication-Results: i=1; mx.google.com; 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 m9-v6si26108353pgn.665.2018.05.29.08.09.00; Tue, 29 May 2018 08:09:14 -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; 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 S964857AbeE2PIf (ORCPT + 99 others); Tue, 29 May 2018 11:08:35 -0400 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:23192 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935283AbeE2PEC (ORCPT ); Tue, 29 May 2018 11:04:02 -0400 X-IronPort-AV: E=Sophos;i="5.49,456,1520924400"; d="scan'208";a="11998650" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 May 2018 08:04:01 -0700 Received: from [10.145.6.126] (10.10.76.4) by chn-sv-exch07.mchp-main.com (10.10.76.108) with Microsoft SMTP Server id 14.3.352.0; Tue, 29 May 2018 08:04:01 -0700 Subject: Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma To: Boris Brezillon , Peter Rosin CC: Tudor Ambarus , Nicolas Ferre , Ludovic Desroches , Alexandre Belloni , Marek Vasut , Josh Wu , Cyrille Pitchen , , , Richard Weinberger , Brian Norris , David Woodhouse , References: <20180329131054.22506-1-peda@axentia.se> <20180329153322.5e2fc1e7@bbrezillon> <20180329154416.5c1a0013@bbrezillon> <20180402142249.7e076a64@bbrezillon> <20180402212843.164d5d21@bbrezillon> <20180402222020.1d344c14@bbrezillon> <20180403091813.5fb5c18c@bbrezillon> <959d826d-1a98-ca22-acee-a4548427fcd3@microchip.com> <024079cb-77ad-9c48-e370-e6e8f2de171b@axentia.se> <9c496531-f7b6-4b9d-dd51-0bfb68ead303@axentia.se> <19d68279-072e-7646-6fdd-8649578229ea@microchip.com> <20180529164911.29820e07@bbrezillon> From: Eugen Hristev Message-ID: Date: Tue, 29 May 2018 18:01:40 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180529164911.29820e07@bbrezillon> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [...] > > I think you're missing something here. We use the DMA engine in memcpy > mode (SRAM -> DRAM), not in device mode (dev -> DRAM or DRAM -> dev). > So there's no dmas prop defined in the DT and there should not be. > > Regards, > > Boris > Ok, so the memcpy SRAM <-> DRAM will hog the transfer between DRAM and LCD if my understanding is correct. That's the DMA that Peter wants to disable with his patch ? Then we can then try to force NFC SRAM DMA channels to use just DDR port 1 or 2 for memcpy ? I have also received a suggestion to try to increase the porches in LCDC_LCDCFG3 . >> >> >> [...] > >