Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3278499pxj; Mon, 14 Jun 2021 19:46:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbc26E+U15w+lzyhAIq+7+4XmpgMdjBG8216Hc8E6VoC4S0pXDAJ1xT/rbkcZmW+1cX7WG X-Received: by 2002:a17:907:9e1:: with SMTP id ce1mr18194754ejc.104.1623725207384; Mon, 14 Jun 2021 19:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623725207; cv=none; d=google.com; s=arc-20160816; b=u6RnYZhf7ozstFaZj5fVNENbsz75+6/VdgkQRAOMVL6UwU3Zq/mYwcW96Z8JKNiUEO 6RNC/MIsaIUTEzXXGNrh0LbfE4f8aV+tySheipLVGW1t4+0+e/cmdBcDYgcH5DxJIzRB YzYuIyLtRBP5lqC1GSCvkgkcFMPEDBk2IOLzCDyRFu02CdxRKNUUUNBVuDi02EQrBpF4 EKuNCDX0wZWa1IubnnJ/WG3ImO4O84ALg1SMYXyy2lMz8Bzvx1sx9tqdROMYJZDsgxnE gCGaZWgll86ILVkmo1hkMPW3fPEc9O5fQoQlaeExUX1iKvukgcMBaBUZ+rbxFWJn8Fk0 OTXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7xvsLbXf65mdyb3qLUmqZwn3t2ST568AmCGF279evdw=; b=wFstNVgmyf9u0Bsl2G2VQN/mcqeGZq5UjFAdhAUHcVzz6mcAjIr3BQwJXIA6B010XX K192vvfPpasCGX+QhzlP6w5dgOQSIwQZA6UNhgwzNR8PQWtAkfUmPGs27LBKTxzCUa2G P2AjzxPhy29uVql/tDa0/hgDkH+GBEg9XJ47CMscXBrzLY5YkP6U9aEaU+dW9hYU7Rlg H/Af+MVzx7SzhCBCmOiGyFiXAGq9SvKWQMzk9evo4DkommLtgPC+tccUakrHg+KTxVZY K0D3Kc3Dexr1I7FS6QTIoXBhw74a3yMeoVjdsUUYcz4VV5RobaCh9b0mbOHPQBbCMcLP 5JCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mPte5ivM; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f22si12913344ejq.458.2021.06.14.19.46.24; Mon, 14 Jun 2021 19:46:47 -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=@gmail.com header.s=20161025 header.b=mPte5ivM; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230083AbhFOCp2 (ORCPT + 99 others); Mon, 14 Jun 2021 22:45:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229965AbhFOCpX (ORCPT ); Mon, 14 Jun 2021 22:45:23 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83D78C061574; Mon, 14 Jun 2021 19:43:18 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id x24so18761569lfr.10; Mon, 14 Jun 2021 19:43:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7xvsLbXf65mdyb3qLUmqZwn3t2ST568AmCGF279evdw=; b=mPte5ivMY13f4aHDh4e9CUXMO6E4zLQKcMuVaSfSD8gJ1LV2QGHNXsgvlYt6x4zJe9 ZbdVWvL71MVSwlEqrAczZWJ8UIbLR8s3G4Pk6JEKyOQLgW3iLhmzCkfhlYNfT8fh+M4c tgsuT3GzuUwaVlVM05zw6KYVUYN7g8B+ga7LaWV+fjMPky8fgPtRyjd0Vx52mzwcHUfN i0p0uP29sNA0EjVQ49ZYemjN0D9TKrbKVI9FfTOlyhvo1tGh7EBuv0YIJlikw3IX6F6X CYKritPkVEMP8OaanyeoaNFMli9ICXEM4TnXRvth/mIlIjXbYtJfwt96ca32cbBAdrF8 TuOQ== 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=7xvsLbXf65mdyb3qLUmqZwn3t2ST568AmCGF279evdw=; b=En3Mh6IAbzcDfwKNAB1jiGL3gA4h9Spdszi3WNwfkoWN/EwAYxnbBqzRzmIYnFR+vQ /s7bWl8qayG8rEwDWid9cZh63PEP7wLcP7AxTa1VYo31TIXzvrhExtxkruDddVzs4i2p 4Hymv6vd9AFajw9wWDn7CBFhbujk5l4Zjk97kZazZRpBL9l7FXpTZ7BFVNsePV+Yi1A0 lAcQcpt9AOQdPW3Bxl81leWa5TapKlU6YsFeSgT2gs7cMLXm60zEjud0pqgsaAm7BreR zzjYVKiI9weHzhtcCWZuBOdoqZTagzLhJEn4drRMfa4mnvI+LKDwa36bq02v3EoUuwRy 8Ltg== X-Gm-Message-State: AOAM532i9YBC2v0svS3TXVYQJ2b7WyHnFkExqR9zWJr01V4kvs3oIKq6 RF0A1zk2SzqqoueJ9o0LoxUnzHVmUUAs0md3h/EmoCV5GBaOSQ== X-Received: by 2002:a2e:97d1:: with SMTP id m17mr11254855ljj.490.1623723167236; Mon, 14 Jun 2021 19:12:47 -0700 (PDT) MIME-Version: 1.0 References: <1617809456-17693-1-git-send-email-yibin.gong@nxp.com> In-Reply-To: <1617809456-17693-1-git-send-email-yibin.gong@nxp.com> From: Fabio Estevam Date: Mon, 14 Jun 2021 23:12:36 -0300 Message-ID: Subject: Re: [PATCH v14 00/12] add ecspi ERR009165 for i.mx6/7 soc family To: Robin Gong Cc: Vinod , Mark Rutland , Mark Brown , Rob Herring , Catalin Marinas , Will Deacon , Shawn Guo , Sascha Hauer , Martin Fuzzey , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Dan Williams , Matthias Schiffer , Schrempf Frieder , Marco Felsch , Clark Wang , linux-spi , linux-kernel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Sascha Hauer , dmaengine@vger.kernel.org, NXP Linux Team Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Robin, On Wed, Apr 7, 2021 at 4:15 AM 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 Could you please confirm whether the sdma-imx7d.bin firmware available at https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/imx/sdma/sdma-imx7d.bin contains the "new sdma ram script which works in XCH mode as PIO inside sdma instead of SMC mode" fix? Thanks, Fabio Estevam