Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3387266pxk; Mon, 5 Oct 2020 08:27:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztWgEiyF0rvn5zjpOKVEkT4GfAxw2Y/pHRtjwFl6BaXwDSiTP09rEgbanLSo45bxj5M1Sy X-Received: by 2002:a17:907:7215:: with SMTP id dr21mr226316ejc.239.1601911621998; Mon, 05 Oct 2020 08:27:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601911621; cv=none; d=google.com; s=arc-20160816; b=gn0Y+/t2ZESMvrKS5hPWaepoup6nzicQ+a5HJK411+3UKaa64Lv3t7zAm34KR0HdjU p53KHx/98zwEoHGQGYPWmd9zojAb+ot2jZH+5PM94wF0ChHpy+PI9JV0P2n0ZDJdhEvt hmi7tda3iZb4GTgDGiaw9Teaqka9PJwmX7ervlpyzrncOQ1LNmeqCiQd1mhZpUB5D2EQ vHwo6O9OqKvoYSMOoQ8n+4Yt2m+XvcnUVSI11i9IsUkYd2l328RGSX2BDFBFDX3eV0yk bGPrWYQuzhjCUsX78Ml8RQgyS1rnB1EJicqUPGZSpSGFqE9ragi5DDw23/1zb8wboRGW zlug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/0vJ0HMwCSkrTpW5w34rc3yXEgUT3MBnMmLGptxX8uM=; b=GyeetdqxJ4E13dQuo5g4edo73j4kgwSBus0nlwuNOl/R5Z8H4qAakTsdW/zo1pZFdS 56kaFnahLJmLPnW5iCMHJ2hwmiWNM0bnMiUs89jHxwpZ1SA1RfQJx2e9d/J9seuHqQVe MTLVvXx1Kykt4J3EU7vnAZSvtiB29OCzjkbmNFwKBjLaXQy8o1simTlCRE3OoNRY+Jsd ua/srDh4phTbRAcqCTYUr4MOqlBapF8URfiBH1lPOtL6nlgEAz7ap9GjiXuWChttsKt9 d1rnXfrJ5D3jw+FLMmIYGF8hNjsTI5Tkln8VOLBKJ25Qi0qw053Fd0FO1cg0MtGv6TYF mAsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Qy98+eb/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s19si228104edx.480.2020.10.05.08.26.39; Mon, 05 Oct 2020 08:27:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Qy98+eb/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727007AbgJEPZi (ORCPT + 99 others); Mon, 5 Oct 2020 11:25:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:50574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726891AbgJEPZh (ORCPT ); Mon, 5 Oct 2020 11:25:37 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8C7AE207BC; Mon, 5 Oct 2020 15:25:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601911537; bh=/0vJ0HMwCSkrTpW5w34rc3yXEgUT3MBnMmLGptxX8uM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Qy98+eb/pll06WRY9c4Hdk9tjpntJ5pyAruG18eik5s0/fQE1SlJMSZvfQsdpUPpk 0BZSMPkAh3tXs21TzpDU7l8N6VqBiCGPOo17y4Q1JRvtEUq2RgVZhCJjYiJpuPq5+O q6tCRQnpcbbxDs3TVukuSm+tWILbREc8hd2aZPWE= Date: Mon, 5 Oct 2020 16:24:33 +0100 From: Mark Brown To: Ikjoon Jang Cc: Rob Herring , devicetree@vger.kernel.org, linux-spi@vger.kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Matthias Brugger , Chuanhong Guo , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 2/4] spi: spi-mtk-nor: use dma_alloc_coherent() for bounce buffer Message-ID: <20201005152433.GA48857@sirena.org.uk> References: <20200929073755.3741416-1-ikjn@chromium.org> <20200929153320.v4.2.I06cb65401ab5ad63ea30c4788d26633928d80f38@changeid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline In-Reply-To: <20200929153320.v4.2.I06cb65401ab5ad63ea30c4788d26633928d80f38@changeid> X-Cookie: Check here if tax deductible. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Sep 29, 2020 at 03:37:53PM +0800, Ikjoon Jang wrote: > Use dma_alloc_coherent() for bounce buffer instead of kmalloc() to > make sure the bounce buffer to be allocated within its DMAable range. This doesn't apply against current code, please check and resend. --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl97OrAACgkQJNaLcl1U h9AT1wf9ESrZU04ckhFQ4aOa5o4YIQYd+068sqPdWJvoXIuVHFya+smMWADlWXXo jRD77fQGo8++5zgtAv3JYvJ86yal8Y9vrg3ZCZmn6Jh4pJTMQx7pJkLABTffTU+T 7FTBAo5l1uZLrxr2BsR4ZKrkmANWBpVAtjscoz5zm5goUYTuDDspW7MzKoHEgjP+ 0BBEzpKvRYA3Ixn0KX9KCtX2U6emSR+nIGOht9TjD3+XFBCSW7OSBlwsLDq7DH5I 3+xFFzP2qHz+fE2pfYjpiIAFJrDVGD8vSi83HtU6/9NxDTzUfAVT3SIPZUdSKDXg X4F4jfG1IUlJnb59tQOD7o/Bwib1Pg== =AQQn -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ--