Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1120178pxf; Thu, 18 Mar 2021 22:13:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJNbVOs/r2ZcYFsCSEr9OU52XLShk1Z3OU9Mfc164BjIyheVlxEFK82Iggt+MBqfh+FjDb X-Received: by 2002:a17:906:1ecc:: with SMTP id m12mr2329431ejj.4.1616130816823; Thu, 18 Mar 2021 22:13:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1616130816; cv=pass; d=google.com; s=arc-20160816; b=Gep8bOJRo4Vebve2FKz0m49R6qGytc0S3OCOCDtPlfi+qzT5oTqgdxXSM4OLaOk7m2 kq6tOaZyXWz/knLRYhefiH4IATrus+egeFX64ikxCoOKRVj8qGrasYTu4bqO+PZRdB1h AQEkdnlm2LvJrEmRhP/fWutFPRMsnNgIRtEH7TVS9hTRBiOPms+IjlMw3ISnX4TXST5j xOA5AsQSI0zQuNlL/ZkAOays0OmgKLEYGtHzOF8EopunTTXrAUi5pTNVC938/GJHHjYp wgU2/oCoIdwgn4vo4QkdeLZoAB65UqDQ1c0clVZqSA/+bgk4b3PaWMd6EygV1Wb5IbSL lzZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=fezm3eT4o4WsavgRd47ykBVuGvrQ430gg9A16uX0dxE=; b=vqN2RDvkw8rwlvI5b4KsBp3tC27jmkxNv+rQSJFh79NIfC/HdS4wQd3DYs/zPrEJ3J 29xDnF9kVuVhpw9FPQxJOuwa7v7tOlqFDmXAPOR25vU8+7VWjOyQjyfS1dconweIUF+9 V7GFKfwoHVAa/kJFDaVcvsCBExPhI1oR7mcdz7qmQ/MM2tDkFYJ6pwQgr56yxOlrGy5Y qwCBFM2ZUsY200noe8mRhLdBymbYFtsVVzyQmNnjjQIE/aGVyCNBnmtfZQomIHYQjiIe lgaTIO+UPcaVNpgexHpws5PqDR55hGWwpDVGqCUIDzqnzLGSQnucDGp7807I00uBtmhZ +ZWQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=mA6nslk0; 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 e9si3230313ejt.385.2021.03.18.22.13.13; Thu, 18 Mar 2021 22:13:36 -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=mA6nslk0; 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 S233819AbhCSFMR (ORCPT + 99 others); Fri, 19 Mar 2021 01:12:17 -0400 Received: from mail-eopbgr20084.outbound.protection.outlook.com ([40.107.2.84]:14590 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233822AbhCSFLs (ORCPT ); Fri, 19 Mar 2021 01:11:48 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SlQdgUtyPJidf6oguuDZhkZfcSSUeioYtXvjJrFjfuLNr/rb2TWvj496Rpf8FWWSO8VCKQtOXpo+WCtX5qzw8hD00/MKZkM4tR+BneJsjwhWw/4mFNNRtM/EoQiOWUCh/FCjO5YzXhwyPbZgirQmi/B1IpvYrAie2atXIAzO0LICF3d2NQcoN2SE4GrFORMG91hfpS3Uyd1Fc8OUZqz676qCyvIPBGygQLfIG01/yqMTbnqqwqcnvbQMyJgLphPD10n4OUw59sceQFojECi+SxQvNX/8CpI6Y2r2fthl92vvFUzGsQpEV1W67k3PHVD+glRAB7Qz3kAQGLt2NMo98w== 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=fezm3eT4o4WsavgRd47ykBVuGvrQ430gg9A16uX0dxE=; b=U0NykaCo2e0TLBJ9n7xeCoQaVciw84nTk2IF1NVir+p2DcqQYiWT0U0tXdGqn1oZRTUx4+2ptmXkxJkpoz1G5VHonPPbyuoSDA8LutyAR5yNtEYbEheehA/VuUOoc1qFe2T632jePaapujFn30sONtF1M3IWRMWCIfvqwTavox6zdKszSvz73U3gIxUnNq8KnzFlcGZo+pyhk/FvRsEzAhXlUVqR2Gpu6TjqN1Hpq+bkEVz/NeRnBsmc3g7RtzpiXqPtMxaU4Ds2eXQGSPfNWFt2BqTnSfaTG6a+31ccTxqQb+L6q2NW8N013Mu7edSM1fcP1h2QK15mrX2oMsRlQQ== 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=fezm3eT4o4WsavgRd47ykBVuGvrQ430gg9A16uX0dxE=; b=mA6nslk0wuNFcTTO2Z9/wac+kc1EKGgMzmnwDD5G6HZIt1wku8yq+gY3joQRIzb+DyTYgkpyjxNQrWFVtQQQNxAp0q4psV+e9Xq28aAhHT9qNKnoB7/wNatMEVa31BTDoOY/xQOlPaS89le7DOtQnS7nV2cnCVfDPW21ovQAa6U= Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AM6PR04MB6648.eurprd04.prod.outlook.com (2603:10a6:20b:f9::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18; Fri, 19 Mar 2021 05:11:45 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::ecad:ebb8:8eb0:d359]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::ecad:ebb8:8eb0:d359%7]) with mapi id 15.20.3955.023; Fri, 19 Mar 2021 05:11:45 +0000 From: Aisheng Dong To: Clark Wang , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" CC: "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , "sumit.semwal@linaro.org" , "christian.koenig@amd.com" , "linux-i2c@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 08/11] i2c: imx-lpi2c: add bus recovery feature Thread-Topic: [PATCH 08/11] i2c: imx-lpi2c: add bus recovery feature Thread-Index: AQHXGvpZIWTdsAPvyUqcSyKJTGyhVKqKxpyA Date: Fri, 19 Mar 2021 05:11:44 +0000 Message-ID: References: <20210317065359.3109394-1-xiaoning.wang@nxp.com> <20210317065359.3109394-9-xiaoning.wang@nxp.com> In-Reply-To: <20210317065359.3109394-9-xiaoning.wang@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [119.31.174.67] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: b90d8fc6-e0e1-4202-e391-08d8ea957d8d x-ms-traffictypediagnostic: AM6PR04MB6648: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HNUz3Vi1Tb107AHqMIyCC9UpP3uu3OS/RAhp2OvAMH25x5NhX9QV0HMdh+vvlzSxgwQTVKQKfRNPW9B+fVZOLkbQHJP5HZniipcUad/6s1XgvkTm9XVgsCs3AXwsUeSs7CNQ/qlgD8no4J70dc5+gNrPem3jfmIBWg8avltggifZ/z/Wn59GQyZssGXGfA/9m1SnFE1ohELQZ+EQG5kw6ubJjmiXIopylP/W/2jUpFirTsbWMxIrhOeMSEu1M6PL0pW3IVvpcNHtQTuwLtCt3jX2sY/XT8W+WKtH53aHcxK28qyb99Wpk2nAHSfDngs2xhl6OFMPZg0zZrfB6lh1vYe1LaqFs+ntHfG3oIFmkKg3/2InAPVlVISGYkS0cBmABJRy879bXoTv8dQcgXH9NzbsJQUMjfgoY7f6ucE2kji9eHjZ+Dh/cq8ZymN9MTCA3y7dnx/xzejhHGil0EAci2oa2EyNmDa/ejCb4+SNz295/b/MGN1a07KtpcSd+u1MFmTXJ1S3VgQL79BcMRqx2UugBrzwMKQyBCYXh1BOU7Z5HBGfYezO3fIqGvyBOUMxHHfvg9RpYkn8DRJ61jHQaSDCfwZDuZPuSDYx3Wc7sNDfPoraeuoRYWdIHrQOysola/uAj9yPiBXT090ueL1F3+HUhXI5l13NApOBPUlSTXQ= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4966.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(8676002)(6506007)(8936002)(478600001)(52536014)(33656002)(83380400001)(110136005)(54906003)(38100700001)(26005)(186003)(4326008)(86362001)(7696005)(66476007)(44832011)(316002)(66946007)(66556008)(55016002)(9686003)(5660300002)(66446008)(64756008)(76116006)(71200400001)(2906002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?VFFKbHNmL3RxK2lXRythajdTTlFFOWN3Z1N6M3E4VEU3Y2dWcmRrMU9zS1la?= =?utf-8?B?bUhDSHR6K0dyYVRQZjRDQ2ZMNWlDd3cxOGozeHRrbTFFN2t1d05aL1MwTTBK?= =?utf-8?B?NzNES1d6SmwwbXZuQ0NILysyS1dTdE92cmh5MHFkTCt2Z05LQWYraVRDRDBP?= =?utf-8?B?b1VoZTN4d2ZZK2k3L3UxVGhySHRlOWl4WGg5VVBhOHNtVDhmeklOVE1WR3or?= =?utf-8?B?Z1ZqdkNFSXdxU05zT2o4ZTMySUFJZDQ3SVhKWEIweGsvZXpNd0Rkenp0cEV1?= =?utf-8?B?cXpLUnRuaEQ1RnBpSC92bzdNZ2tEM1Q0UVVVQTlxRmRnUk5XVlk1NTJTK24r?= =?utf-8?B?RVZLd0V1c1Q5L2Z0RkNTNU1uMVJKT1psNzdDZEdRTXFDN2dsSGJ3QTRQNkh6?= =?utf-8?B?ZEUvUyttbktJOUZmaTlQTkdnOEdZTW1sNjJwVkZJK2g2anhEUXdLM2E0V0cw?= =?utf-8?B?SnhVOVI2RXRmaGd2cjQ0OUJHd3o1WXhHendBWmVxZmpEdWNKS2xXS3o4SVQx?= =?utf-8?B?UTRXcHVpcXB4NzV1akN3cnkvMitnSThPbnN6ME41eUNCdjlHai9wV1g0M3pi?= =?utf-8?B?cThzR09BMzE3czdQVFgvT0ZVVC9jMVZZM3lmcFNDZ3dOeURXUE5ZZk9Cc3ZX?= =?utf-8?B?QS9XSXVtUUora1BFTmF3N2xsVDY1SWZKbUxtcnREVmNoSDF0RXVucmZuR2dM?= =?utf-8?B?NWpmUFFyeUt2ZlhTM1RhWkxxTVFoZmQ4QWJ3Z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JXQ0JzczNPTWlBQ2JFOEdVRjU1dVJCc0FiZHJGeTJScmlJT0hK?= =?utf-8?B?cjl1L1VPU0dVc3l0OUVqcUFlZVE1b3NDMGh4VEZCQ1hmRHJ1cFpNd1NKMXhL?= =?utf-8?Q?DNXqQGT7ousKzyk2NyFodxAiuA11MDTYsJajeu2?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b90d8fc6-e0e1-4202-e391-08d8ea957d8d X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2021 05:11:44.8710 (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: zXqrlTH1k6CYy/3W1JkZuCHsrcstr5gOtoCAixIHB3XsQLDPgsaKiR7cqvaoh5OvllJ4nbaFj2QlhW2jmbLfDw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6648 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBDbGFyayBXYW5nIDx4aWFvbmluZy53YW5nQG54cC5jb20+DQo+IFNlbnQ6IFdlZG5l c2RheSwgTWFyY2ggMTcsIDIwMjEgMjo1NCBQTQ0KPiANCj4gQWRkIGJ1cyByZWNvdmVyeSBmZWF0 dXJlIGZvciBMUEkyQy4NCj4gTmVlZCBhZGQgZ3BpbyBwaW5jdHJsLCBzY2wtZ3Bpb3MgYW5kIHNk YS1ncGlvcyBjb25maWd1cmF0aW9uIGluIGR0cy4NCj4gDQoNClBscyBhbHNvIHVwZGF0ZSBkdC1i aW5kaW5nIGZpcnN0DQoNCj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