Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1086164imm; Thu, 6 Sep 2018 15:17:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZlCt9HUoxRY8+ZfqluHl05aH2TTNIulUNhfjxxm/d5AWPvtHxA7dkK8pRrRCrSO8Ub0LJE X-Received: by 2002:a63:b705:: with SMTP id t5-v6mr4799519pgf.366.1536272268666; Thu, 06 Sep 2018 15:17:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536272268; cv=none; d=google.com; s=arc-20160816; b=xdkM6jotA7GyWXEJAX7oCAmU+m1p+9Dj3o48o2iIjBz2Xk6K4IZ4tNQHrR7QiMWbE1 tuqKuqx4EKeRnj8CK4e0ZcivTaDAHNkng3phneWo6ULZKMl1K8UkYtKLaKQd8iOWFqb4 bOaN1mTDzXRhcgjk71zfiCb48OpHfTxkbC3yYaI8OYH+3u5gWOItvqB/5tGBkiGq9/ux Va5ixNKFiXTMv/tBSvsUAq27+SqlhADUdCM8B4PedmAOzG2Q0zCQhbdFV/Isv6nb6VPk Ral/+yA1adWOyt62W/Kv1oSNZtYh85DPm7Peo0Uw3xH68dEE6SNZljx9IBoqbzF04FBG IYNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=mECVEIDDdmNDlusyxhDC1CXUFFnjm2S9VzmYeAeKP/Q=; b=g38/gnI+Dr6CsG1cl0xnN3px2ATKquOdFK+rKUUQKtvRObMsCoFsV6EPZTz1/isRRq ixtDE05Cp23yO0sZmtD2SdEA5JTdASH0sbb/wmOroDCj6/Tw07AdQeQ2ofqt4O+Ac3vf i61RmaJtbOo78C1CNF8RfDR91xCdU5A+lzLqNr9U+MegRibdpYI1/bOT9zc/7mLGRdA+ iF+uyqMe/LCOEdTJm69EJu3jublUkgLQFuc7ey0kIoGGE+T8cXlK2pt6b+VirwaaKkBY ME77PExpxoxVELfgWnTneDon4abGEASggg5goaKshsT3SMFQ1VHDRyiTaGbsQjiTOxRk xQ9w== 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 w26-v6si6704588pgl.340.2018.09.06.15.17.33; Thu, 06 Sep 2018 15:17:48 -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 S1730463AbeIFXKe (ORCPT + 99 others); Thu, 6 Sep 2018 19:10:34 -0400 Received: from sauhun.de ([88.99.104.3]:48138 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728767AbeIFXKe (ORCPT ); Thu, 6 Sep 2018 19:10:34 -0400 Received: from localhost (i577A6E95.versanet.de [87.122.110.149]) by pokefinder.org (Postfix) with ESMTPSA id 90D022C058F; Thu, 6 Sep 2018 20:33:49 +0200 (CEST) Date: Thu, 6 Sep 2018 20:33:47 +0200 From: Wolfram Sang To: Jun Gao Cc: srv_heupstream@mediatek.com, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH v3 2/2] i2c: mediatek: Use DMA safe buffers for i2c transactions Message-ID: <20180906183347.GE8607@kunai> References: <1536239729-10008-1-git-send-email-jun.gao@mediatek.com> <1536239729-10008-3-git-send-email-jun.gao@mediatek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bi5JUZtvcfApsciF" Content-Disposition: inline In-Reply-To: <1536239729-10008-3-git-send-email-jun.gao@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bi5JUZtvcfApsciF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 06, 2018 at 09:15:29PM +0800, Jun Gao wrote: > From: Jun Gao >=20 > DMA mode will always be used in i2c transactions, try to allocate > a DMA safe buffer if the buf of struct i2c_msg used is not DMA safe. >=20 > Signed-off-by: Jun Gao Applied to for-next, thanks! --bi5JUZtvcfApsciF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAluRcwsACgkQFA3kzBSg KbZa0A//X8r1smIUOljW7c4uxJqYfYp+QlX18IAFMkaIJlEwhJeXlk7iLyYwk8j+ WYEqojJ/wE0M56aQhjGwSENT9wXcE+jcl92k+ieashTSs/kWLGZnYh1DFXXdblXj 9m5CwbyRpYcaWD/+3yf6VxnNPci0CwJ1mbocDjF2OFfgMFQtoiQ2NQjHQS5j2/iQ bMlaSFx8iFF+mSrfT9pEBfD9OJ+uQrsfvsBAxN2cOSnKtgClH5hlDVOSv/AtkVXw NZMAhcPshGfLYHQ3g+ZGRSkX50X9APZPz4LNTygHFwS+dDCIQNVPPB7CeuN4ALwI WUJSvt4xAkGnO2d6lMAH9iyYi66KSQ38eo27Xk9hLhXXd9xh9N1Sj5sBBRJzKZ33 smSRorXjLfm/hDQGLDgW2qhOb/MV1dqCLXUQVYpfmCQxIPFXiZ7zA1qzfK8UhifP 7qEyHJl1NP+r70+qATFieM2Bb1j7llUARHKjuBDj69cbW8tRTpV96SyAeoqOHRk2 jdDf2HonzQhJjAS88O9UqWz+JHmZarOzX9bDu7NqC/Y2WDD92voCnl60BSa6dTjP 5wHjp1K9iZk9R+aaRKevpIQmOnfqtq7St37UZN0mvhkguiSs2F7xiTWsmlNPiJ0X D/DeAPzRJOcRtOQLmzdLuObKpIlHEUnRo3WwAeY3Wy3tmcUdOg8= =LmrF -----END PGP SIGNATURE----- --bi5JUZtvcfApsciF--