Received: by 10.213.65.68 with SMTP id h4csp3657072imn; Tue, 10 Apr 2018 02:30:44 -0700 (PDT) X-Google-Smtp-Source: AIpwx49763VY45DpCYtZHkELBR95iVHIx47K9oCm1dfc7MqnLTJYmNO5E+hM1uAGJ5JdRUw7Hgp8 X-Received: by 10.99.54.73 with SMTP id d70mr26862842pga.86.1523352644600; Tue, 10 Apr 2018 02:30:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523352644; cv=none; d=google.com; s=arc-20160816; b=wZINe+50sk4ruMSUjKaj4ajR8wsoU0IyLwQKBToCtYOmL2AlQFod6HKbFHCRa1zOeI Yl2Xo5efkhzNpZJDce0g7N8FG4pmIb4cD125CVp+pbNQQ1QzJK6OOrJeTg1Eq41vt2Po ftNJ/QVZHCDLknkXuoCaLfXCUDc44aLY4EFaPC5w/J1H1DCmHXqOfBwmYk0MLB+/6AOx aJ+T74BYASTy0AmnIgnUUjqV6OUFEyiGXp9HWAQ5ojSR3tO9WntQ0pvowX5eqv6hgANk kNeVLwQnqORNbgGSojotTWPsBriimrLV1q7PZqxnq/Qofjnq+0b/CGHioYoHtsdtdqsy VHhQ== 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:dkim-signature :arc-authentication-results; bh=UWZO6SLF3y3pE/lZpqSp0o07eW9mlW3O6pfuRQJISsg=; b=FaSawpaSjLkhLS6TebAcqkLjdV0vSU2yfr96rv0egz0HGL7IR7xnnLsXcYNDE12fMR yAIBh8TwTV65s2X4r2eTg77oMkyUP9v0Nge8qK1yefjG4LPzkicalhs0Rv4R31FkAs9x y/klMAGmOrTfJBhvHhEW/9kY1kKFCgjfNLuglXTGhglQ3M/K+KbsM4NbCJpc3hu1feBv akcwTLmzoB14ZtC5Uu/vUNeMamr/IpagSMpRM41nO5A/2eRBanDRF29ARqP5lSimu0bs iv5165+xlmNWIfmHH2kCCOiZZe1kq0rvsjdVWLoxXXbbtr9OhWaGGkHRM32nRkKMopbY l22A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AdXLCl0N; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si1568461pgj.169.2018.04.10.02.30.07; Tue, 10 Apr 2018 02:30:44 -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=@gmail.com header.s=20161025 header.b=AdXLCl0N; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752853AbeDJJZk (ORCPT + 99 others); Tue, 10 Apr 2018 05:25:40 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:40651 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752084AbeDJJZj (ORCPT ); Tue, 10 Apr 2018 05:25:39 -0400 Received: by mail-wm0-f66.google.com with SMTP id x4so21933585wmh.5 for ; Tue, 10 Apr 2018 02:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=UWZO6SLF3y3pE/lZpqSp0o07eW9mlW3O6pfuRQJISsg=; b=AdXLCl0NS/FhvmdVE/hR7a0SXyqij0HynCeeOwp817NPF+8Zvt4nSLJtLAqUMRN9K6 v9RZGtQV9pMzXTL2PTPClVdRnApTGQzn53kZ+vTsXkx7iJQB1rm4+CwOpU1hUjBYCJWH qFrhRx5ycXUAqaohYAoWKJ0Q25rXdSGG0BOSBRjFpJv9gR5tBO+UHmezHA2DtDg5S8Lw jmg1R0oyrULBvstvVAa2XHoi1PLOQrRVfyQaVre0poXrcBwmqF/hGthCgC+s3jiAZde9 c4CmPNW8jf3FAlwJMxttCYtoBzSDgWFPbK+Z9PelknePDNuvHFWS6jY3yqHDQ45XnT25 Z28Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UWZO6SLF3y3pE/lZpqSp0o07eW9mlW3O6pfuRQJISsg=; b=dmMKYHPpuKihOz8HIXQJe67WzrNCQnRfTD8MXqqxr6k7HWkiNltA4rXkSnyEbsG0OJ E5TkNQHXkwNzZvzkoenCgqTXpi3/VnR89vT0Wvw71iqFWEReYCm03imfPezTVHaWe2gN KeNiruhFrLyHRAW0Gwwaaduwz5vrC7mPZ5J5dWtCy/eR8fJXXV4v16HQ9GHDtOsCtFFX x0HugNcQyjGCp93FoTmwxGklO85mYLxcg8kmbUzJb7nzoBzqWXesByOxjLkBZeXCrRI8 i+xUvHhALfVvXc4hHNSVJKGk3u58sL64T4dAYv6i0036CSAl/48aYz+XiBxmh+kZyIO1 ZfAw== X-Gm-Message-State: ALQs6tBmbCmTuUT3Rm8WSxbASunhBMskM8Wn2b1M+fMy/uMnYzCIZ4lC S08ucczxH+ud7yhUx4aYvY0= X-Received: by 10.28.195.67 with SMTP id t64mr1109320wmf.113.1523352338535; Tue, 10 Apr 2018 02:25:38 -0700 (PDT) Received: from [192.168.1.4] (ip-86-49-107-50.net.upcbroadband.cz. [86.49.107.50]) by smtp.gmail.com with ESMTPSA id e202sm1994300wma.43.2018.04.10.02.25.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Apr 2018 02:25:38 -0700 (PDT) Subject: Re: [PATCH] mtd: spi-nor: cadence-quadspi: Add DMA support for direct mode reads To: Vignesh R Cc: Brian Norris , Boris Brezillon , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Linux ARM Mailing List References: <20180410081910.858-1-vigneshr@ti.com> From: Marek Vasut Message-ID: <70777773-8ade-bd42-e75a-6d5d9c3e50a2@gmail.com> Date: Tue, 10 Apr 2018 11:21:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180410081910.858-1-vigneshr@ti.com> Content-Type: text/plain; charset=utf-8 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 On 04/10/2018 10:19 AM, Vignesh R wrote: > Add support to use DMA over memory mapped reads in direct mode. This > helps in reducing CPU usage from ~100% to ~10% when reading data from > flash. For non-DMA'able/vmalloc'd buffers, driver just falls back to CPU > based memcpy. > > Signed-off-by: Vignesh R Reviewed-by: Marek Vasut -- Best regards, Marek Vasut