Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp644963ybz; Wed, 15 Apr 2020 15:50:56 -0700 (PDT) X-Google-Smtp-Source: APiQypIaOkqPxgEF3ZOrP3a5p3EuUQnayW2nCBvtZsZAHYbJV2WVgZZ9pZ1bVBms8uscfo7Svsiw X-Received: by 2002:a50:d308:: with SMTP id g8mr27138719edh.88.1586991056438; Wed, 15 Apr 2020 15:50:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586991056; cv=none; d=google.com; s=arc-20160816; b=TgmuNA1IASbksOXS93hzVRKU1XpkwbLHVULV3ZQLJMUnxwYUpxhy4iMIL4rtgPcXZO +rHbVarUVc3JsarVD5dcnFFpCBshr/lK66vQSXh2z+Tw8O91cqxWhJTwKmDX2eUdtqHU JIXMuBZLRI9qB9zWGpgTOG4HTAyu9gs9ihoMkrClh/MhiGm3IeP+IRaX/Wio/JQ/xfqo A43bfFpTKCpFPxUSRdt/14gBRICO1VDo/d4w0ZmwhKo/pupsl/XnMNDKvahgQn92oIHq gZZq91mFUaldbzNlR4w+kl4zTA4I62rS3sDx3ze4vOV9QT9X2t3MnrEd6KZfkVJqh+bl J6RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=B0qy5LvgHxuRhiqgWueJQ6xJ9sv8tPQCF7n+fvQHiOs=; b=xdxV6LvTwMjVlyJf7KGHmgBL7CDfG2ss5V7xmTIfU6waV4J3x0P3/W7HNni24TJsMX AxiHyHfpYJzWAzjxGb7P7RDvydo98z4IeIuO/MAFSiUMHAaeZqR2afEKJZfYYpmJDDUm 8KiCtTXVgUeykrlrJcLJxbaPiB57jq84rl4lEZNi97tkTdgVF4GvYZTSaw05WOmhhmpH +zyRSb6lt3h3gHQiNZQHfUsvNA5RD70Z85DNcxV6bEijHb9lwmwWZdqi0XZnKAU+Wh2O DhMPSN/lewYp6QLgV63RQno2CBfsx1zdu30tWTJ1uy/RkZfKF4xgfdxB6TZU8A9ddl41 Ju3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flowbird.group header.s=google header.b=NMrJNqcK; 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=flowbird.group Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e8si10952689ejd.76.2020.04.15.15.50.32; Wed, 15 Apr 2020 15:50:56 -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=@flowbird.group header.s=google header.b=NMrJNqcK; 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=flowbird.group Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2895801AbgDOJr3 (ORCPT + 99 others); Wed, 15 Apr 2020 05:47:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2895800AbgDOJrY (ORCPT ); Wed, 15 Apr 2020 05:47:24 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6975AC061A0F for ; Wed, 15 Apr 2020 02:47:24 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id u15so2975752ljd.3 for ; Wed, 15 Apr 2020 02:47:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flowbird.group; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B0qy5LvgHxuRhiqgWueJQ6xJ9sv8tPQCF7n+fvQHiOs=; b=NMrJNqcK5eyfNz31lPbY+TyReQxJrnuEFiiI4ZHZ0RnGAep4m9OjU2s0Rahr5YHYpY 6WRSCNOS4baRnCAsvEYr+dpc/PQ6WzUxxo3xfLtRealkbI7fZee+//V3BHy5FJKc/9j9 90g6sX9fD4OSQuzvj6/DnLoV1DG5J9cQYAgGEEpl7v2ioZmNBalV6Oq5fKi3raobEXpa Fp4AYfeeJ57k3lRyyTphoQPXEhGnFLELLopIT5C+oSfwpe9Y9ZLHBDQBYPctrB/9Po8g pPMCcgWu8JTWAkQEFXN3DYv2QwvGGVaPmM/bcRIGn8n8FtTHP0YX3J5KDzH3zs6zIy7y xLWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B0qy5LvgHxuRhiqgWueJQ6xJ9sv8tPQCF7n+fvQHiOs=; b=D5tiBIuhXGB81enkweMrwWlUDUDOgoxa/Kypr38RgpG4SRlM0AvBrKqrzyUJ8TpTe1 mwAgL7Su18UOpD9iWG6dRsNDk36HIhzt3+FCei9XwvnD4je6YlaLpWQ3IpxTddXQZ1T3 wfrDOY3vBvmJRN98JovlrVNtkfBmukZNtXu4jZ+TRCYaufguRayT1BYsfiRLJxgjlga8 O9pxYpF72Wh54tpDkpOYUr6u8qOXPYdL5FQGEVr1BwSf52jaY5+oLRUIQLvU2vm4kAJ4 rdNyyDTD4JGS61ppJU0RDkSjQEOrPNiQ7ZxRIAM0F+iqBVeH8+/2hboEpG1rWgDsrWsK pmcA== X-Gm-Message-State: AGi0PuZbuJ5WScEg6UAT2NeNAF1iPzRy9GeQD7U7HSeGVMHdfNwFEN45 YGc9TMpWBmDVsUgu+6fC9fY/vhNWX8t/1k+EgemYrg== X-Received: by 2002:a2e:5746:: with SMTP id r6mr2665731ljd.15.1586944042730; Wed, 15 Apr 2020 02:47:22 -0700 (PDT) MIME-Version: 1.0 References: <1583944596-23410-1-git-send-email-yibin.gong@nxp.com> In-Reply-To: <1583944596-23410-1-git-send-email-yibin.gong@nxp.com> From: "Fuzzey, Martin" Date: Wed, 15 Apr 2020 11:47:11 +0200 Message-ID: Subject: Re: [PATCH v7 00/13] add ecspi ERR009165 for i.mx6/7 soc family To: Robin Gong Cc: Sascha Hauer , vkoul@kernel.org, Shawn Guo , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Mark Brown , Rob Herring , Fabio Estevam , dan.j.williams@intel.com, mark.rutland@arm.com, catalin.marinas@arm.com, Will Deacon , Lucas Stach , Sascha Hauer , linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Linux-Kernel@Vger. Kernel. Org" , dl-linux-imx , dmaengine@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Robin, On Wed, 11 Mar 2020 at 09:35, 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. > > PS: > Please get sdma firmware from below linux-firmware and copy it to your > local rootfs /lib/firmware/imx/sdma. > https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/imx/sdma > A couple of questions 1) Is this series needed for the i.MX6DL? (the document you linked only seems to mention i.MX6D/Q 2) If the laterst SDMA firmware mentionned above is used will this break systems running mainline kernels without this patch series applied? Regards, Martin