Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp839195ybg; Tue, 28 Jul 2020 22:03:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbXz9wWWiDcdg+19J+rLPOn+aoQ5GE0RvTZ9oAUfBa1+lyl+Lfb+h0eTrfVDAM+qv/DWTD X-Received: by 2002:a17:906:6d4d:: with SMTP id a13mr27860709ejt.146.1595998994301; Tue, 28 Jul 2020 22:03:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595998994; cv=pass; d=google.com; s=arc-20160816; b=tjlq7bXTpJiJFTmEGHjFCwH2IIvewo8+OOdmzTmjNQP28MSnLJ97+gM2gjXceMtG53 ujrlZpuXymgqNX4M1WpWlP+PRLZpJSkea4qGQoCdbriNmjPEBATr1uBhbcFny1PdQ7IU /aJW8rowGm2CR9D6/pWN4BrR/FkOA+NREz0uKpZOjnfBhabagKEIslfPxEThVZS1jwt1 3GNJx/DAvWRDaUpUlPxs2mCdFm75AEzlLdsGN+ksMft0xRA3YD7VMdBu7tPYTy0EywHY 86t/hjVpKDxhWCFCEJqcqJBormIOZ5G2hQrg8mV8O3ve716eQoVLL3DwftLHIMit2wwe AJSg== 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-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=4gl9y+kEKXff4dMnb99WMPT0KU2472V8KgkbfOQ6ooY=; b=st5LcU5wRiH7ox1s3/nzNR1yPOeg98cP9fXehkUJpCi00U5QF2TOGZze3xFGosVQZq puFD22DXNYQ9IwugjYv96zoaox1teWGMFKvJFiLnt+Nh8THbjCBLRpowWCSfXoqcEW17 928vhsUTLX0Zsc1bsg3tZtczP30KeTgFs1UrkQH9/Jw/E4alOcqV8OHCevvwMXMLdQOl GT4cMCFw3X17/fRf1bqvpOVhz42Z+n1jngWCN4Tb7UlI0y2VZrFSBZjw3Oq1OJgV0mK5 KrN4XjGw3eMSZVQaP81waboaRUIXdQCP+SRLC0iTwA2f8IslIuQA03VmElsOKVGtvGqz E+0w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=gf8tXoh7; 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 gq9si446659ejb.442.2020.07.28.22.02.50; Tue, 28 Jul 2020 22:03:14 -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=gf8tXoh7; 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 S1726314AbgG2FCk (ORCPT + 99 others); Wed, 29 Jul 2020 01:02:40 -0400 Received: from mail-eopbgr50044.outbound.protection.outlook.com ([40.107.5.44]:60629 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725986AbgG2FCj (ORCPT ); Wed, 29 Jul 2020 01:02:39 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Oc2ymKO8JSkpqQo5vmGi42+yblR9+GwNoaB/Q/9CUTi6JVGBAOiqrDEtHp9SZXGCoWnO7cOoyI7PhI1FDFp7MjYn/4nkJCSGDjlVsPNJxt34mEY85qhoxYt8+FINKmhjUixCY2NxU/29ALAsYWv1AZzegrK/7TVqsHvVtb+kVtg9tGgyvPKJN/dtYM5eSm6Qz8C0hM1VWSXpByuyeHTABXAnEeYGEbv3NHVmeQYXby5qLbm/JjH6wBDFW02QquEg7w3r/dMIkc68iOqDljRNS9uLur6jjOfe0DbqKYlWfziSxPNKHd7WY2Ju4EP+Gl0GFXKAyMGIh4mLJqxSHyRGhw== 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=4gl9y+kEKXff4dMnb99WMPT0KU2472V8KgkbfOQ6ooY=; b=SJfKWDFxszdU0pFunZymAS+b4lPP6xL6gOHQQktCqe1vOQEU6gmHhFaSJuK22pcQEBalcGPYeXINvThIoX+0puPLkehodeh0lhYxHeqbIlp80jqu7O8+r0Sgyn/NFvAIR0xGefoeigY9A5jhrLhZ1oMVEZo4WHTrtAGo1inKCvsicGv5ZjOXyNPhFL+jw6dhWMUXLXhMpNsCuAMghPxvu8LjuJXn3TWUhWEFQp9PhlkA3inBdVC/jEpUKNNdfZCGgheAI1yIVC7mRfOj6WCzauECvkHwKB7vrvMfemcB0dOo0sSgS/wIdTJMAethG/Z+x2ji5KC0wL4fQYKe7BG5FQ== 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=4gl9y+kEKXff4dMnb99WMPT0KU2472V8KgkbfOQ6ooY=; b=gf8tXoh7IvtsBavyUgLtPfCowwe8j0RvyNho0w03mtCZGhTTkaTCKtA6HvUwPkzSR/IF0Jd+66xPyX3mHA5eAmkZ13gzjMTDC6wbxKCHzUJV0uTbkVfEC+IAp2q3Ond+g5dmlrO7d0Pvh6dAR1CqzzRGU+k77hkIieHqeLwbzN4= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) by DB6PR0401MB2375.eurprd04.prod.outlook.com (2603:10a6:4:4a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.22; Wed, 29 Jul 2020 05:02:33 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::49f8:20ce:cf20:80b3]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::49f8:20ce:cf20:80b3%6]) with mapi id 15.20.3216.034; Wed, 29 Jul 2020 05:02:33 +0000 From: Anson Huang To: Guenter Roeck , "wim@linux-watchdog.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux-watchdog@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: dl-linux-imx Subject: RE: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence for wdog operations Thread-Topic: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence for wdog operations Thread-Index: AQHWZU9toVNXTyNlR0yNnyvd1DR7Makd8woAgAAEoFCAAAamIA== Date: Wed, 29 Jul 2020 05:02:33 +0000 Message-ID: References: <1595989227-24700-1-git-send-email-Anson.Huang@nxp.com> <00587a78-8069-4fbd-7e02-b774d541f75a@roeck-us.net> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: roeck-us.net; dkim=none (message not signed) header.d=none;roeck-us.net; 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: db0fb9d7-46a9-481b-3d25-08d8337c9a88 x-ms-traffictypediagnostic: DB6PR0401MB2375: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eMWofhjn4LkzyrRMxvqg4wYukMAqVxP0sO9ysOXjpzFt4tvUg0yoqF83dCfv06Net1rUmGQS/KMMyyWJD5SB1QgCapIS6ni7ZS+XdBiKvkZdRs7uTuNxNcomN+nzfWsOfEUV8/qSovAOGDE1t/swPJxIxcTwdEER4OHUtdQaiSwLm4HUlKaJst7tJtA2aTmlHGkW8K6aLpURf09AfG8BmXAT4QinI9Vr2RrA01dGwyY4M+lJjdkSPCkMb/1Du682xIJCSOHtbzzTGjRMpXHa5QJflHcPEr8e913fWLta0vV5DLV42S9dKg+O6woDDB4GXRv1N0JKLSJhySiYmR9QsA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(478600001)(26005)(186003)(44832011)(86362001)(83380400001)(33656002)(9686003)(66556008)(76116006)(53546011)(66446008)(52536014)(66476007)(8936002)(5660300002)(7696005)(55016002)(6506007)(64756008)(8676002)(316002)(2940100002)(110136005)(71200400001)(2906002)(4326008)(66946007);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: uY2PwIJJbdQaaeVf6JvOuWmcNoPcbmH6pR8YHFycCHbTkMfu9ZKMgzQFTmyCeXQHgr0ibqq6OzKu3FBOp596kLFqiyt5t9Q3rEpw+/zoh2a0ZFrxBAXdP6o9PO/PcTYPaBusvXo54YhTQpg8tKaMIiqYhoRZ19IcwVPf0aHltCCJ1uX+t38ubXhTEgPa2aMpKcMLApKO4F7AcbCcG0Oz+Zu//QtwM2qNAkzgowc7P9OhdJ6q37NcT1RSmR8Ktkatj7K0YzZZo8NnDlUjMx7Z8BUeOfpXyiv+xXIYqTFACIPEsKO1+LKnYj6DRLY5/V/Hp2Kq/LI6YrWCnhrrS9rftfoEIdwE1WzTsK95Zj6n/j9h8poweFrPCNaniuvhz6ZSPn0FhHtOASKT46/zibbrD2MxQO9qHJImdJfku0ChVQLIVPmRS7J/lB56pvf1HyQb3DzdCdtoNaatDBRwUEYATPG5vOlKxQnWjUKwEVvdSf4= 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: DB3PR0402MB3916.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: db0fb9d7-46a9-481b-3d25-08d8337c9a88 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2020 05:02:33.2947 (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: RyPx0HHVW4CTR8BOqCpDMiDVd03N/H2/M4DJLlA3lkSeiIQJ9QZ9j4DHI9QxH/YRA1ax5DcxFTBdMG8GrscG4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2375 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIEd1ZW50ZXINCg0KDQo+IFN1YmplY3Q6IFJFOiBbUEFUQ0ggVjIgMS8yXSB3YXRjaGRvZzog aW14N3VscDogU3RyaWN0bHkgZm9sbG93IHRoZSBzZXF1ZW5jZQ0KPiBmb3Igd2RvZyBvcGVyYXRp b25zDQo+IA0K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