Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp626362ybk; Wed, 13 May 2020 08:51:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9XeUXfxV63GseIuqfqEdLz8ET9O5tHbMldqEszGR6GfzJ8rDpzVqot6lMk3a/uV6YEboU X-Received: by 2002:a05:6402:a48:: with SMTP id bt8mr264866edb.197.1589385084459; Wed, 13 May 2020 08:51:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589385084; cv=pass; d=google.com; s=arc-20160816; b=yaoI7g4vBPiY9beweZEHujiuexXOG6jm/jPDcELvl2EQAZAz01dxHFFE0RgLLdJoME LM07CdIKrnENKy3e3k6muCWglqkduszGGutR2cLInVE08oC2LlkptoHhK/JrT8jxIq7+ ZPyJcZ0ytVKX3VfW60n083ywlNrDL6RKjWdVRg/0c5fLVEH6ZIWU4fop8hq20Hgnj5pp 08wHHX39/L6DekcxJCMfeOhR2ZQW7nigDIu0cagVHhAAnP3d/+T1m4/SOsdc/Qb5VfXT cgou9cFFRi9Zppq2iSUDSZSiCui8IoRn7AI7Pm0NGtOawB9EL4EzuDMU5sofsTtNC5Ev LEmA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=HJKWGi8K1AoaMsEqCEf3yLrQ4uYdt7gD+wRZoEs5tqU=; b=F8K4sWwgPC5nTPULMcz3r2DZgqEwL0ntYJ298GbyY4zeKJXmT6gZR5OQghfbPw7rEk hmwAe0OlzXkb+9H78HTPbUe+D/yF6nxB1tzPaQajOX0hxlmPIuppZq+P5Siy/JscnOAZ ksTEKjmPJXJR38mkOVNhxi2gNRIsf1DVWP7KS+pDKidi7iJSt5dWzVnbrK/L67jNV60K sFAV/ZteTqt3+nHvR8sGQUBjgWoAWWLAW1Ob0P9ND+/i4MtI4+ql3Hh5C1CTQ1pKQj1Z oqfPSB7NOExYS2TbQn+Md6jzhTKMxCazYR6WTIFhKIHhVp7mnI6sfTonxYQW3/558xe1 f1tQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=CwdKCPTL; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l20si6293716eds.589.2020.05.13.08.51.00; Wed, 13 May 2020 08:51:24 -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=@nxp.com header.s=selector2 header.b=CwdKCPTL; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389320AbgEMPs2 (ORCPT + 99 others); Wed, 13 May 2020 11:48:28 -0400 Received: from mail-eopbgr140054.outbound.protection.outlook.com ([40.107.14.54]:14786 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729604AbgEMPs1 (ORCPT ); Wed, 13 May 2020 11:48:27 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I1U34UP5M0MUn9oXy0j9QPFU/qbxOG6vXMCbZk0kdpH+RicRYVVT9TDy8sXEUbJroXhIUdxw1NCW0n07qgqiYiN3wlN6p6wSamW3qVKIXpjB4dQyACYSsc87lcr2Vh58v4liGo/KjY7bZEQzDF/V/PTpyDmEIs+YvT15+zMyuszd9TrOk+ih9+r+/5i+h8VL+XOxtAHMm3YyCiYIiENrTL8eHqGXhXy9qVnHKn86pFLl2PwW1MC5agPk3auuD+6L6UyWKv1fvORJEz5XCbl3okL8h1vuAqjuxSf/NfxjuclA7JO1JBVDERczNhi+SXET1jOgjPQB6FGEn4kLrBcO+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HJKWGi8K1AoaMsEqCEf3yLrQ4uYdt7gD+wRZoEs5tqU=; b=KLZhepLhrMFGS553lbusqf6/2d4xzGRUNOaoy8GsFmvV7mYVu62iwjwau+3hkzTRVOPs8+XUcXXabSG+6JNMzk94lNWGMHbhW/aYMBL0n973qfsA46gD0dfmhhz+LC70gAAXwgb1lEqWWmHeqwJ9oiE8i8OM2YXGy34eLNYU+J6XEaXDFa3VEJvRZVOYFaEKxNAzAEbkg/7iE71CG323W/ph3Vd/RFCCrX1GNs2Wz7EAJRWkhQ3t9Qrm4cCqqEfpPR3TRe3+gg99u/Lq6/aMzrl2PKwvdAgsmTNY/6gDuxmgaFF/y1XFHWW07Vmp+a6NFnSwdb3hF6+VZRvVQew4Uw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HJKWGi8K1AoaMsEqCEf3yLrQ4uYdt7gD+wRZoEs5tqU=; b=CwdKCPTLhR6bzTjSzF8ehFctl5KjWJ2KKeJ/il+8cRi2Y/CMc0DmvekCAForwriSY1LvFG4+GVxZSN4J5xKymP59LSTjvBEH5l4rw5nQ7v09U18/F2LcO3SCzzafafjM2aiiDScRRyiejMAOiFm7OLlIjTPetDvqbDOjfB9UkZ4= Received: from VE1PR04MB6638.eurprd04.prod.outlook.com (2603:10a6:803:119::15) by VE1PR04MB6654.eurprd04.prod.outlook.com (2603:10a6:803:129::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.33; Wed, 13 May 2020 15:48:22 +0000 Received: from VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::d5f0:c948:6ab0:c2aa]) by VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::d5f0:c948:6ab0:c2aa%4]) with mapi id 15.20.3000.016; Wed, 13 May 2020 15:48:22 +0000 From: Robin Gong To: Sascha Hauer CC: "vkoul@kernel.org" , "shawnguo@kernel.org" , "u.kleine-koenig@pengutronix.de" , "robh+dt@kernel.org" , "festevam@gmail.com" , "dan.j.williams@intel.com" , "mark.rutland@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "l.stach@pengutronix.de" , "martin.fuzzey@flowbird.group" , "kernel@pengutronix.de" , "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" Subject: RE: [PATCH v7 RESEND 07/13] spi: imx: fix ERR009165 Thread-Topic: [PATCH v7 RESEND 07/13] spi: imx: fix ERR009165 Thread-Index: AQHWJ3cnZ0DWmxBZKkqSbDLRijv4Zqiln1IAgAATtwCAAASDgIAAAJXwgAAIeACAAB4RQA== Date: Wed, 13 May 2020 15:48:22 +0000 Message-ID: References: <1589218356-17475-1-git-send-email-yibin.gong@nxp.com> <1589218356-17475-8-git-send-email-yibin.gong@nxp.com> <20200513072132.GL5877@pengutronix.de> <20200513084815.GP5877@pengutronix.de> <20200513092038.GR5877@pengutronix.de> In-Reply-To: <20200513092038.GR5877@pengutronix.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: pengutronix.de; dkim=none (message not signed) header.d=none;pengutronix.de; dmarc=none action=none header.from=nxp.com; x-originating-ip: [183.192.237.11] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: db82b458-7f95-496d-ad76-08d7f755111b x-ms-traffictypediagnostic: VE1PR04MB6654:|VE1PR04MB6654: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3173; x-forefront-prvs: 0402872DA1 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: N9SQOXlZSIUpGLuAmAE7x3FDiDFlMcrdZKhvSOl8Mxcc2HWLbkJ23uqaK3rmmiWDY9+BYoT6I74EXcwbe348WIUeKBhnGwnWQTIa04DnhrrQIB3fxHVEtG6KQPv9bNo6v2oWSgSnAGYUmw8oM4YrEXno3yiCbPaHInnyJ+Owihl7PYrdmWdqiJ96ZSiTTMfdYJFJ/PONiKtRbHLb356xALk5/IR6l51dcjy53uwZpGV5Bk4aM9uD8QMbdF76/xi0o+edHiDqAuJCo2E6qYp9jiCyVU2FFqo5TbSE983l4uJ8is+qkU7iTTFC32WZQZ5gnlil6XhoRO8ZVwHPK0Li4VpjoLZ032ADHYLYg15ZzyKsE1v2c/pD3Vh9KxQayIkCKPBOsd3Og3idHFQ/dQ6eKXRe0myK9q7NqBsg/koZXGKcDGps63Rgc/Fyzv0eN82oIzY4aIdarYXC5kpimMOfTGQPs1DiA1gIDgJ813cVOvWMh7mHa62tA8igQ0FHy0y/WLOoqE8E8aSogwttCcPv5w== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6638.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(39860400002)(346002)(136003)(366004)(376002)(33430700001)(316002)(8676002)(66476007)(8936002)(66446008)(2906002)(4326008)(6916009)(66556008)(64756008)(54906003)(186003)(66616009)(33656002)(478600001)(26005)(7696005)(33440700001)(4744005)(71200400001)(7416002)(55016002)(53546011)(6506007)(76116006)(99936003)(9686003)(66946007)(5660300002)(86362001)(52536014);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: c3DzGH7tD7e+1nsm8kjAdusa7imUmzga/YOeHM4x6YyC9o4PD6/CKcSG69hQ6s6nP9OAfnz8N72F7LeZe6NdZ5rfruXK+98zYULWABdLpb+zueogOddb7GetNKbJ/FeMEA2vV/HdeVrWpRNc24PqzHrSOfdBAD5ri6XNR5N3AalPzPXPk8sVbOH1yOQt3AzfEjaFiAHm9dPsdDQxBBpgtsVrpzlmh4KymRbsNXXeRfqWomcDfQrCDMHc5YzKsvi1IoCt/dluyDCjEOnUiAYR8pcP0vcGkreFlydZohsbPWZC8rUCtOBGll1oLNVjqKBTdMdyhZdS3pog5dsaCnJ8yvLyel3hKa5UPYzZ/G9X56uFRBdYfgd4kVZaVsHsp65S5ujFJL/Jt/Hpvlvfh4jvUoK/er3s/bqTyon3vtXz94PF10kriYXOZIXI0K1kpgHoQAoCU8J/JBKajLAG/s2t0WY/wQfQeqFH2ggIK+k+1osHIqYAuGKhhyYJT42/BO/j Content-Type: multipart/mixed; boundary="_002_VE1PR04MB663876FA31A281A388F2BBEB89BF0VE1PR04MB6638eurp_" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: db82b458-7f95-496d-ad76-08d7f755111b X-MS-Exchange-CrossTenant-originalarrivaltime: 13 May 2020 15:48:22.5313 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tPscbgD7Sai+Gzc2L0g/wIjb1th/Eve8EkAFzzIRINg6IgJ+suSsTj8lrZsJfKIy1LKnyKCQ3a+OCLTkvtmlqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6654 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --_002_VE1PR04MB663876FA31A281A388F2BBEB89BF0VE1PR04MB6638eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On 2020/05/13 Sascha Hauer wrote: > On Wed, May 13, 2020 at 08:52:39AM +0000, Robin Gong wrote: > > On 2020/05/13 16:48 Sascha Hauer wrote: > > > On Wed, May 13, 2020 at 08:38:26AM +0000, Robin Gong wrote: > > > > On 2020/05/13 Sascha Hauer wrote: > > > > > This patch is the one bisecting will end up with when somebody > > > > > uses an older SDMA firmware or the ROM scripts. It should have a > > > > > better description what happens and what should be done about it. > > > > Emm..That's true. Timeout will be caught in such case, hence, > > > > maybe we can > > > fall back it to pio always. > > > > > > With my patch applied sdma_load_context() will fail. I don't know > > > how exactly this hits into the SPI driver, but it won't be a timeout. > > Thanks for your quick test, assume you use ROM firmware, right? >=20 > Yes. Would you please have a try with the attached patch which is based this pat= ch set? --_002_VE1PR04MB663876FA31A281A388F2BBEB89BF0VE1PR04MB6638eurp_ Content-Type: application/octet-stream; name="0014-spi-imx-fallback-to-PIO-if-dma-setup-failure.patch" Content-Description: 0014-spi-imx-fallback-to-PIO-if-dma-setup-failure.patch Content-Disposition: attachment; filename="0014-spi-imx-fallback-to-PIO-if-dma-setup-failure.patch"; size=3274; creation-date="Wed, 13 May 2020 15:46:25 GMT"; modification-date="Wed, 13 May 2020 15:46:25 GMT" Content-Transfer-Encoding: base64 RnJvbSBiNGY5ODYwYmU4Y2M4Yjk2NzI2MjZiYWE2MmE0Y2VjODljZjI5ZTg3IE1vbiBTZX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