Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp682139ybt; Wed, 24 Jun 2020 08:42:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcWeuDkUUVH3ganQhREpqg8a+2GSuFRWJeSIt3mP1V6gRO/afBXez3WIYTDcMaL7ebnuKU X-Received: by 2002:a17:906:e294:: with SMTP id gg20mr7726479ejb.521.1593013336903; Wed, 24 Jun 2020 08:42:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593013336; cv=none; d=google.com; s=arc-20160816; b=y+h7T25IUKauKp2VodPnG6szNNL5aUlSjzUKk7Y6izHzy1hbMmFQfpjcgPsAg5GihA G0xan7Fc7mN/Og44VDFPdZ1KNiABwzRlJ/42DDKCdHgy6PeaWCkfV9dQK/rHqWcMCwo9 mN9FnyBG8xQFEUdOpyAcS1yK9GHPgM0kcHmA3K6FLIbDyMbhYLxnar+CNjNEoFd4paCP riF4rbmAWxm04Dv5RaPfRLbcqWRqcam2TlaNqKajg93rZHFhGAmOJm/+rQDQqPV8bN25 Zz+xpB3oqXbbBGD7/XgXp4k5keyrd5Vb8bLcbV3PXNTHufHYuo7pOA8UjsLCft1/rXrS i9GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:subject:references:in-reply-to :cc:to:from:date:dkim-signature; bh=IJVX5hVyf6iOKwzr9vGTVJff30zDCTFU1HGkkT4XIww=; b=T/fLXZ+ljd8V83arGCaI8LGrkAjLd8g9hrVVkXGgOXsxQ+wSS4U5KdKe1xM9RAaFuK t9pHpO503krrjR5g75WzvAktVufjBjObNkix+E4P02jnIL8CsB7T07vnPvDg7sIE6cr5 VtCZ6+oCDhCnBoyOh6cp31f9OOhrftHUwWnvG9ExaETBSRPRXTuM9O0p2u+TUk48PybG +mVNRofZEZavtnVEFrHvmbKMXqjZhM3DCDTR3WLK5xjSuzsvPWt6WVG2n6LpAJd4KXmd 8j9in6vlT9au3CEsnyJo62iB0bYzaxBViZO60RuUQLRnw4+/BlCJtgIPfWOCCLQY0+FQ zCnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1Q5LTRk2; 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 41si1448298edq.343.2020.06.24.08.41.53; Wed, 24 Jun 2020 08:42:16 -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=1Q5LTRk2; 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 S2404443AbgFXPiz (ORCPT + 99 others); Wed, 24 Jun 2020 11:38:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:34540 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404108AbgFXPiz (ORCPT ); Wed, 24 Jun 2020 11:38:55 -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 110E820773; Wed, 24 Jun 2020 15:38:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593013134; bh=rBEexD3kTqqrn1V3KiC3V5YnC5CMLc93o+STib2A0o8=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=1Q5LTRk2uO7+yNluGySNEd2FFBod7tDPbYkFmsf1WDoyvWzSrsnwnxY5//ZTuMuZK MY2EcQ/Aq/YUqXfzhyYvBo69iXVjccfbY4D3LrAElkTP0ZJQKxWkPtoxmKz4Y6elEF x9MVRox+QPHkZAvuMEl7LZRMnT+ZZoUV6ugbVBOM= Date: Wed, 24 Jun 2020 16:38:52 +0100 From: Mark Brown To: matthias.schiffer@ew.tq-group.com, shawnguo@kernel.org, Robin Gong , s.hauer@pengutronix.de, robin.murphy@arm.com, festevam@gmail.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com In-Reply-To: <1592347329-28363-1-git-send-email-yibin.gong@nxp.com> References: <1592347329-28363-1-git-send-email-yibin.gong@nxp.com> Subject: Re: [PATCH v2 0/2] introduce fallback to pio in spi core Message-Id: <159301312738.33627.16633087934814581680.b4-ty@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 Jun 2020 06:42:07 +0800, Robin Gong wrote: > Introudce fallback pio way at spi core level so that the tx/rx buffer > mapped by spi core for dma could be unmap and fallback pio again. Hence no > need the below patch where 'dma_sync_sg_for_devic' to sync fresh data back > into 'device' memory and sync to 'cpu' again in spi core. > https://www.spinics.net/lists/arm-kernel/msg812236.html > > If you want to use this fallback feature, please set xfer->error with > SPI_TRANS_FAIL_NO_START in case dma transfer failed(but no any data push > into spi bus yet) in spi client driver and add 'master->fallback' checking > in your can_dma() to ensure spi core can fallback to pio next time. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/2] spi: introduce fallback to pio commit: 809b1b04df898b6d182069146231a3cbf5f2d9cc [2/2] spi: imx: add fallback feature commit: 7a908832ace7543ca996303928bfed7190dd2cdd All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark