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,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 E5491C43603 for ; Thu, 19 Dec 2019 17:35:11 +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 B348724672 for ; Thu, 19 Dec 2019 17:35:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DFhIm0HY"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="aeu9sc1z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B348724672 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: Content-Transfer-Encoding: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-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fxlPNgEwPxtzqzprBu+q7z9vwqT9BIwfw8OrsFrrsbg=; b=DFhIm0HYiBkGiR2AXmnucXNU1 PSgE1xeJoPdOSXY4LwDJgNtDx5awdBVhFexz9NoAWXEqKxKhzoeaXSs50QAkUejsIMsqueDm9Cdhg QXWnl7xq/vJB3nsky3h+qJ3LW/u7e6T0aMTWXlbamiuM3GB3kN2gLfR7ZHGxe/cKcy+51qx8enWkq qhBLTlhskhRntabD95mzknbijzAHt1P2eKnNocYR333cp4PdRls+obqkGtVeYYLzyR8MV7Pu00LX0 hDKqNQ8ieDUsYhgahbgj3Xk6gb0hutooi5apGySI/52/k1Bj9W1SqplkS8pYgOjdrCZZb7x/Uk+Yl qdq1VvH7A==; 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 1ihzhe-0001N4-A8; Thu, 19 Dec 2019 17:35:10 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ihzha-0000wK-4M for linux-arm-kernel@lists.infradead.org; Thu, 19 Dec 2019 17:35:07 +0000 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (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 492B6227BF; Thu, 19 Dec 2019 17:35:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576776905; bh=s5oaspOL57PeyHvJJ2IZujrmMyDV5G1RgW/jNsRFpcI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aeu9sc1zY3qe/XYURcfyADyDRQSTY4m2jgc72uJjDA9qYqsqBUeapVh15uArYh1Pz /j2mksn7HnCACdYISyc8+X3B8RSXfCmgNGfo6CFlQdR8YvP+RNFi4eBFnFfrcL5c0b brTHvQUO3hWECeyPuRkD51cWKHNHIIaUCg9yeyjY= Date: Thu, 19 Dec 2019 12:35:04 -0500 From: Sasha Levin To: Mark Brown Subject: Re: [PATCH AUTOSEL 5.4 128/350] spi: pxa2xx: Set controller->max_transfer_size in dma mode Message-ID: <20191219173504.GN17708@sasha-vm> References: <20191210210735.9077-1-sashal@kernel.org> <20191210210735.9077-89-sashal@kernel.org> <20191211104738.GA3870@sirena.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191211104738.GA3870@sirena.org.uk> 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-20191219_093506_222664_F9D5AAAB X-CRM114-Status: UNSURE ( 7.80 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Dec 11, 2019 at 10:47:38AM +0000, Mark Brown wrote: >On Tue, Dec 10, 2019 at 04:03:53PM -0500, Sasha Levin wrote: >> From: Daniel Vetter >> >> [ Upstream commit b2662a164f9dc48da8822e56600686d639056282 ] >> >> 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. I'll drop it then, thanks! -- Thanks, Sasha _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel