Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp63197imu; Thu, 8 Nov 2018 05:06:25 -0800 (PST) X-Google-Smtp-Source: AJdET5d67CmxRBsp3vhK+O6D08Uo3Gwz0auAMfHaV1/hIQYMNzjjkRJvSN8YQd6QaMu44jZn1qPl X-Received: by 2002:a17:902:768b:: with SMTP id m11-v6mr908685pll.322.1541682385748; Thu, 08 Nov 2018 05:06:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541682385; cv=none; d=google.com; s=arc-20160816; b=gCcKFJOpb7urCy61xyQCQFW72Cv65ezTZ6cXWAWZz/IRiIh85X5r2ImWShef6eQ0tT eDlQfs8/Ibu/9hDVw1xpWItuyGmYnMEx5mR6Y3FWOCqYG9v/9fXDtxW0aX6rNWOgsTUv ea1gxHUOdeGeTF/hRNeNI9TKvS5wywfHY4d11KUSel1xepfN0T1KBB6Iuui2pxunlR7Q dh19uN3enh2tLHac6YJ8aABYoEsYUZZbnKQB0L5pXhJaFD56FxbLe5zZcQ+ZTDkVEjRb XFt3Ycv5UdTBrNN2hDcvdIs6IUtV3LNNq4I7ACMAxedDxKvFU43e8hfQmHRj2MPWVIeh ygSA== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=hiiBjEY6cjYfdsREu3FlEoBCmx0fvKKF+iMuU7pKBAY=; b=RIN511P5W1iErMCd7wiEhCa5E1w/3e2WRTEUgIdEDaeuCteOAwnKShRhZnRVQGpmKM oINFgwE3o5JHd4osIrl8qv1ZKb4Hy3raGnIpQ+ueejVsmS0/u5OXoADq+ZK4SiVtrnFc qWJU56rQoAlD3GcLgrUKc0X1Adzks8H1R2P4d5IdRZjlO8mOK5/gjVZcXDHUObLm6OzW DXQDP2MR/96GsYT0dpeDTm7TG7KrNYeACLF6A5ZGOjSxh4wrX95zzGhqYeTglpDRoZiS 3p+nAhB/ltFsmODt2XN9H9ecD+Lh4ZVs3q1++2u5BNgLwSJrbvV/UFYQiPJFWu3zSLIZ V7NA== 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 q201-v6si5476697pfq.14.2018.11.08.05.05.38; Thu, 08 Nov 2018 05:06:25 -0800 (PST) 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 S1727155AbeKHWjU (ORCPT + 99 others); Thu, 8 Nov 2018 17:39:20 -0500 Received: from mail.bootlin.com ([62.4.15.54]:37138 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726359AbeKHWjU (ORCPT ); Thu, 8 Nov 2018 17:39:20 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id EE3D5224CD; Thu, 8 Nov 2018 14:03:54 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from bbrezillon (aaubervilliers-681-1-30-49.w90-88.abo.wanadoo.fr [90.88.15.49]) by mail.bootlin.com (Postfix) with ESMTPSA id A3271207B0; Thu, 8 Nov 2018 14:03:44 +0100 (CET) Date: Thu, 8 Nov 2018 14:03:44 +0100 From: Boris Brezillon To: Cc: , , , , , , , Subject: Re: [PATCH 6/7] mtd: spi-nor: ensure memory used for nor->read() is DMA safe Message-ID: <20181108140344.77dcc0e8@bbrezillon> In-Reply-To: <20181108110653.21063-7-tudor.ambarus@microchip.com> References: <20181108110653.21063-1-tudor.ambarus@microchip.com> <20181108110653.21063-7-tudor.ambarus@microchip.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Nov 2018 11:07:18 +0000 wrote: > Use GFP_DMA to ensure that the memory we allocate for transfers in > nor->read() can be DMAed. See my comment on patch 5.