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=-6.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 CBDE5C433E1 for ; Thu, 28 May 2020 13:07:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A47882084C for ; Thu, 28 May 2020 13:07:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590671275; bh=8+bOiBn4UNeBdFBuZD/p0QmjYGJU/3XrtqwKS+6zzpg=; h=Date:From:To:Cc:In-Reply-To:References:Subject:List-ID:From; b=UcKIjhPPJLocpKUWQHlLSfx5cdP2DauKdbirSK7mFgyIwOgP98l9ElbjWf1FlwW2Y ZVpKf/09cYPsPoKrV4sTOJA3kvyEoFxK+nLRAm0/rZGDr+W+adzX57cQw1PS8WyeXD IvVCOHlRgp/caCqgph0LNnUuqMMotHqvfBYXzIBU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390154AbgE1NHy (ORCPT ); Thu, 28 May 2020 09:07:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:57412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390031AbgE1NHv (ORCPT ); Thu, 28 May 2020 09:07:51 -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 EF1D9206C3; Thu, 28 May 2020 13:07:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590671271; bh=8+bOiBn4UNeBdFBuZD/p0QmjYGJU/3XrtqwKS+6zzpg=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=CxtiDCqlNaippwrhA4i2xZr+ffnMK/syNCND6rSfmhvdLl4OLl9mmx8kY7nE93W5s gFCpgBwgHAgBjfUey3uaWcHyjuyeCGvqSx2H/MhxcrhYkn1Wf2fxmp3Rlt1Jb7TWmj G/Q1OSL6UUWc8xQBW6jE+loSktf5coi1ahy7ch48= Date: Thu, 28 May 2020 14:07:47 +0100 From: Mark Brown To: catalin.marinas@arm.com, vkoul@kernel.org, mark.rutland@arm.com, will.deacon@arm.com, s.hauer@pengutronix.de, festevam@gmail.com, dan.j.williams@intel.com, Robin Gong , shawnguo@kernel.org, u.kleine-koenig@pengutronix.de, martin.fuzzey@flowbird.group, robh+dt@kernel.org Cc: linux-imx@nxp.com, linux-spi@vger.kernel.org, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1590006865-20900-1-git-send-email-yibin.gong@nxp.com> References: <1590006865-20900-1-git-send-email-yibin.gong@nxp.com> Subject: Re: [PATCH v8 00/13] add ecspi ERR009165 for i.mx6/7 soc family Message-Id: <159067126729.55053.2503604469157949492.b4-ty@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 21 May 2020 04:34:12 +0800, Robin Gong wrote: > There is ecspi ERR009165 on i.mx6/7 soc family, which cause FIFO > transfer to be send twice in DMA mode. Please get more information from: > https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf. The workaround is adding > new sdma ram script which works in XCH mode as PIO inside sdma instead > of SMC mode, meanwhile, 'TX_THRESHOLD' should be 0. The issue should be > exist on all legacy i.mx6/7 soc family before i.mx6ul. > NXP fix this design issue from i.mx6ul, so newer chips including i.mx6ul/ > 6ull/6sll do not need this workaroud anymore. All other i.mx6/7/8 chips > still need this workaroud. This patch set add new 'fsl,imx6ul-ecspi' > for ecspi driver and 'ecspi_fixed' in sdma driver to choose if need errata > or not. > The first two reverted patches should be the same issue, though, it > seems 'fixed' by changing to other shp script. Hope Sean or Sascha could > have the chance to test this patch set if could fix their issues. > Besides, enable sdma support for i.mx8mm/8mq and fix ecspi1 not work > on i.mx8mm because the event id is zero. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: imx: fallback to PIO if dma setup failure commit: bcd8e7761ec9c128b9102b0833d9c7052ae2dbcf 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 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=-6.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 51EB3C433E0 for ; Thu, 28 May 2020 13:08:04 +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 C10C3206C3 for ; Thu, 28 May 2020 13:08:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="d9OibPOO"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="CxtiDCql" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C10C3206C3 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-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Subject: References:In-Reply-To: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=Q6of9d3rtartgZCUjjwzYwlztWAk71M2RdjDkslVjY4=; b=d9OibPOO+hUhpq MgaBMX3SovvgYA08zHrdIi7Ccnz1xI3+Bk5ganIASFQa71d8S6kH1ksEVjk+zKY8OzP36MHRNGtO0 UbZhF4IyTuVBJxucIUqASrvqfgOqTnkTgtprwEB/eXwS/zGMvyPOC7pfNe5ednwloWBz0XJ30PFnW FOM/WVhmTKLfEh9mOOnuaWILLCowJzFGZTuUiUOjqYHwzo6tWKy7k+1Mcb0ZjmB+j7c556+uU/MK3 05W2pcASlMB5/cVR2oCNUb47I43M4LG5w+3qc7N0rxeJJntQvX7YRiFD1ItBjG2fFd/ZWwW+2s3i2 yUysehbvQRATLTEzJ0Mg==; 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 1jeIGJ-0007eA-Mv; Thu, 28 May 2020 13:07:55 +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 1jeIGG-0007bA-Ae for linux-arm-kernel@lists.infradead.org; Thu, 28 May 2020 13:07:53 +0000 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 EF1D9206C3; Thu, 28 May 2020 13:07:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590671271; bh=8+bOiBn4UNeBdFBuZD/p0QmjYGJU/3XrtqwKS+6zzpg=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=CxtiDCqlNaippwrhA4i2xZr+ffnMK/syNCND6rSfmhvdLl4OLl9mmx8kY7nE93W5s gFCpgBwgHAgBjfUey3uaWcHyjuyeCGvqSx2H/MhxcrhYkn1Wf2fxmp3Rlt1Jb7TWmj G/Q1OSL6UUWc8xQBW6jE+loSktf5coi1ahy7ch48= Date: Thu, 28 May 2020 14:07:47 +0100 From: Mark Brown To: catalin.marinas@arm.com, vkoul@kernel.org, mark.rutland@arm.com, will.deacon@arm.com, s.hauer@pengutronix.de, festevam@gmail.com, dan.j.williams@intel.com, Robin Gong , shawnguo@kernel.org, u.kleine-koenig@pengutronix.de, martin.fuzzey@flowbird.group, robh+dt@kernel.org In-Reply-To: <1590006865-20900-1-git-send-email-yibin.gong@nxp.com> References: <1590006865-20900-1-git-send-email-yibin.gong@nxp.com> Subject: Re: [PATCH v8 00/13] add ecspi ERR009165 for i.mx6/7 soc family Message-Id: <159067126729.55053.2503604469157949492.b4-ty@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200528_060752_382726_121357CE X-CRM114-Status: GOOD ( 13.30 ) 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: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 21 May 2020 04:34:12 +0800, Robin Gong wrote: > There is ecspi ERR009165 on i.mx6/7 soc family, which cause FIFO > transfer to be send twice in DMA mode. Please get more information from: > https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf. The workaround is adding > new sdma ram script which works in XCH mode as PIO inside sdma instead > of SMC mode, meanwhile, 'TX_THRESHOLD' should be 0. The issue should be > exist on all legacy i.mx6/7 soc family before i.mx6ul. > NXP fix this design issue from i.mx6ul, so newer chips including i.mx6ul/ > 6ull/6sll do not need this workaroud anymore. All other i.mx6/7/8 chips > still need this workaroud. This patch set add new 'fsl,imx6ul-ecspi' > for ecspi driver and 'ecspi_fixed' in sdma driver to choose if need errata > or not. > The first two reverted patches should be the same issue, though, it > seems 'fixed' by changing to other shp script. Hope Sean or Sascha could > have the chance to test this patch set if could fix their issues. > Besides, enable sdma support for i.mx8mm/8mq and fix ecspi1 not work > on i.mx8mm because the event id is zero. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: imx: fallback to PIO if dma setup failure commit: bcd8e7761ec9c128b9102b0833d9c7052ae2dbcf 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel