From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8603EC43603 for ; Wed, 11 Dec 2019 10:47:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 57DE5206A5 for ; Wed, 11 Dec 2019 10:47:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SVZFpNvV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 57DE5206A5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jIjVLmq1YZsrjv8nYLPYGGYGjfp3ok1DQY6CMQg+/N8=; b=SVZFpNvVQhLGtnXWwCtnXApID 5BKNfgxlKEBp3ito6R3fuBv+/UcIbR0+tUBW+YKKNEHJUGYcvaSuskd8YInVNXi7A/6pkA3olOYS3 Wi09il6t/mr76m8jV7pgE9+a0x3uh6CwClGawoqiCn46hkSGNfz1JnGeav38S4n4fbIRd4szl41Y0 K2K7//ask/ec5AngXvNZ/wXthxV8ghiSNsw+b01RzZyHLTZAX1ntcV12MET/JSIw4j6Ma25A6EClD GraA3irhvLe5lJRLjx26DhQ2YE29YwQkdKHWm9gU2BGNwy6rDYKJUZQWnstb8cT8BQIaTtyb+i+Is 6DL0tWwlg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iezWz-0000Ze-63; Wed, 11 Dec 2019 10:47:45 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iezWw-0000Z2-RO for linux-arm-kernel@lists.infradead.org; Wed, 11 Dec 2019 10:47:44 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8A4311FB; Wed, 11 Dec 2019 02:47:40 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 04D693F6CF; Wed, 11 Dec 2019 02:47:39 -0800 (PST) Date: Wed, 11 Dec 2019 10:47:38 +0000 From: Mark Brown To: Sasha Levin Subject: Re: [PATCH AUTOSEL 5.4 128/350] spi: pxa2xx: Set controller->max_transfer_size in dma mode Message-ID: <20191211104738.GA3870@sirena.org.uk> References: <20191210210735.9077-1-sashal@kernel.org> <20191210210735.9077-89-sashal@kernel.org> MIME-Version: 1.0 In-Reply-To: <20191210210735.9077-89-sashal@kernel.org> X-Cookie: NOBODY EXPECTS THE SPANISH INQUISITION! User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191211_024742_929021_B5B9F4B0 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, Andy Shevchenko , Daniel Vetter , Robert Jarzmik , linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-spi@vger.kernel.org, Noralf =?iso-8859-1?Q?Tr=F8nnes?= , Haojian Zhuang , Sam Ravnborg , Daniel Mack Content-Type: multipart/mixed; boundary="===============8175874803014281267==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============8175874803014281267== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 10, 2019 at 04:03:53PM -0500, Sasha Levin wrote: > From: Daniel Vetter >=20 > [ Upstream commit b2662a164f9dc48da8822e56600686d639056282 ] >=20 > In DMA mode we have a maximum transfer size, past that the driver > falls back to PIO (see the check at the top of pxa2xx_spi_transfer_one). > Falling back to PIO for big transfers defeats the point of a dma engine, > hence set the max transfer size to inform spi clients that they need > to do something smarter. This won't fix anything by itself, this asks other code to change how it behaves which may or may not work in older kernels. --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl3wyUcACgkQJNaLcl1U h9B1owf/c2+Di9MxB58DRS++wONQSVLBDBAzhSYBzUcKxUidr6Yieo8WKOq5RnZa Xfw5SuLTDnTe7S4iXTo0Gn3ejpU1Eb63YvCGs9+6bM4z3lfcU3wIzXUhW7OsmIxY HVSTa7iqOjusoR7WpboRgWRyFUdvcK4Y6jBUxh5roUD5IIojLGuVmk2QQVLlLaSq Mpw15lKs5DGIjq5AHQA0vmNDtjAhVdr/mFw3XSqeviIvfQ3H0CTbz6B8RIgiwGZ8 V9HDm7EeEHvb4H1nbeK9ileA1+Sor/2iGHt1Lwrb1xzKZJ+twuU6dB0NAkWcPv5A JCBMe73eK3vBVARzxfKmxEApfO37rQ== =C+Pn -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- --===============8175874803014281267== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============8175874803014281267==--