Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp833449ybg; Tue, 28 Jul 2020 21:50:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgkwE3yyK+3MbATLxR6U55yfTkgCQHhtmhMy/oDBfoVopVDIozOev5/NE/u1QHQvURdVKR X-Received: by 2002:a17:906:264d:: with SMTP id i13mr3986613ejc.284.1595998238011; Tue, 28 Jul 2020 21:50:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595998238; cv=pass; d=google.com; s=arc-20160816; b=FFeYnmDqrVvN4atYuouWKL3RAycfNkyHSUrrQoEAyXaROhOj0dKNIyaiCVI7tcq1ZK RxNrtUFUtPhDZoLxPPhuMIWrPLiyKJG5Yl6HxDDa1eaS0Gr4+z1+SywVHfNSjv46ebw3 3nb94K0E2P/JjhOMldzQ36prakBUH/gmUWQE0q0NC7yqfHJpgXm+nEEUjgVs2Sx5kr1F T5zG0x3bNsae44P//iFMIl5X2wgSUdtpFgnYPsx/+iPdkk0qM2dXOyrFqdVqhzRRK70x 8ROs8cH4jr2SWcKfoBHim5t6PnNIcQ3jf4lTlK/jio2WzggM7CS7HltjXRbeUkly9Wf1 wZLw== 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=hxZV+Wz41onhGReq1QOuZS6Tommump1qJqGgy0QjZgk=; b=haDux+V/LgWGOZd8RNGLSklGegCOUYdV02P7Es5WJnK6pKen6CEijUCZcDkIXpIpCA /QVrGN1mgaUUM3XSulksZ4FU5o3+EGYRujV92qeOzjBiECNvIKkX9eb5MCtwDVuWD2l3 y2UdFEU/5951OMhCKWIpwX+CnxBDLMhf1PCRTG7I7c+9KSaA56vOKGSU0DBHKNAvMDZc UCQdBrKfUaa+C2dTX/0HebXy/Rz2rwK0oo+Tll5PBKRCmEmUUvZxrB++XB+SOeGWAF2t Q6x9g1j7GKMfv7t/aU91INGLDW8ij2541DNHG49O6wBdFBZrK7ykPEQdxr9zACGNlfbV sHOQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Js4z7D0m; 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 k24si400437eji.404.2020.07.28.21.50.15; Tue, 28 Jul 2020 21:50:37 -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=Js4z7D0m; 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 S1726353AbgG2EuM (ORCPT + 99 others); Wed, 29 Jul 2020 00:50:12 -0400 Received: from mail-eopbgr80047.outbound.protection.outlook.com ([40.107.8.47]:15105 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726203AbgG2EuL (ORCPT ); Wed, 29 Jul 2020 00:50:11 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hDXIIoCdKBYyfKhYweZT9l9bSViG0+Wq6P95t6xB42Ks4Ahvc4rzKep7eUV4LL/mr+jQ7uCKqQQApXYYU14qecPe2wyMOpUkzNdbZhlsk0GV3Wk6ui1h0X7+qEudGR+ULpnxobmT7mqJA1ln3XzkremwrqaOnnbWFLFNYxXT8qWrqmlUWjV/XIBEmdFpiyFkFHPeiaYN4kbhJqkQ+vJlLOHWe2nKlLy2l6G3QqCxOG9yWURGhYniItrijrKaadFQ6FVY/6tkQ39VKuPAKp29XykBQu8QizFchMLrdyFGxbiVeB3BzcDY2/LpgtukKUB8WQfj6/JnLgkvbqVoQVvvKQ== 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=hxZV+Wz41onhGReq1QOuZS6Tommump1qJqGgy0QjZgk=; b=eBV2Qd+lT6TDh5rBEJnklrxXmDQbFQ/vw72g0eDZcgbvNTwvFLEUvQyQ15MQxqfb/zUXO94xVd+xFBlk0oz6GUSe2FkUZlkoVXRBYpHD611qIU3CS65McRfdkf/3OwYgpVlYJ/dIOoc+0Mh4a1jT6MSuu1b/8/UCfTlRmlYons6hDvN9Kq15vjDl8OcMuKOtvsMeta57GuDFClqPduyMvpEW2YIHUtr7oPf2+Mg6Evsm7XTI8+YRtfCKZ8z4pAq5hRFX3ZW2pFy5+vnt4xiHljul1RS01DbbCYGXVp4cfDQpLQ8zPWaq08GHC0jibErCkgwdPdB3RLb2c2J1xaXK0A== 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=hxZV+Wz41onhGReq1QOuZS6Tommump1qJqGgy0QjZgk=; b=Js4z7D0mGkN4dpNyJnrmhHpxB/NB9G/7AqoaPqXxm5PHEVsk2SRrrtb4EsU8DPHeDR27+8ygdzdw/ny/LIyOR/2d1GNWUrkwXVS7SNv5cRd6v/wli6vkDqf/rpUqzOlUL8Sfkmtlu1u58XRN742SeVpb8zn3ihDHmd0Ps7R7sAs= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) by DB7PR04MB5468.eurprd04.prod.outlook.com (2603:10a6:10:86::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.28; Wed, 29 Jul 2020 04:50:07 +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 04:50:07 +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: AQHWZU9toVNXTyNlR0yNnyvd1DR7Makd8woAgAAEoFA= Date: Wed, 29 Jul 2020 04:50:06 +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: <00587a78-8069-4fbd-7e02-b774d541f75a@roeck-us.net> 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: bae5e158-2c6a-4e0f-3018-08d8337adda9 x-ms-traffictypediagnostic: DB7PR04MB5468: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TkyYsLfZIFM7vJkDInfy25UF+iOWf5cEnC3Uhb640R0FVi2GadFWrqcBiDmHxL5xwufShxTiVQfVJJcHGIccPlLb+LWT5t/WyKGm9bYFwt/J4GFZYTkzGT0HTg8lAQ8CkN0DaXovSA5SfvRVYcuY73/dIYbCSEZ1PIoM7rACRE/rch6W0Kkyh6c5d0+0pud4/EfPfTZFrLTinpDHPeOHWvrmfGUVLsIkMJCmydT/fK6wTqyrUFpvtHdwMZBFJp8Mvm0FpKTusMk3aT3maVCWJxvqTBZI66WEQ1VqZa70Yoo97bhhuBFN2r7DUpAN9XbzYZfmrifqeAODnkfbE85qXg== 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)(366004)(136003)(396003)(39860400002)(346002)(376002)(44832011)(5660300002)(8676002)(66556008)(64756008)(110136005)(86362001)(52536014)(66446008)(6506007)(53546011)(478600001)(8936002)(7696005)(55016002)(71200400001)(83380400001)(9686003)(33656002)(66946007)(26005)(66476007)(186003)(76116006)(2906002)(316002)(4326008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: 1Ds0yfHbC6NsJEX8Xi8G7BvLfibDPAOXd/DGvdn25vDCejpA4/KUzdKA5DmlgEgdOSDd4YbBcyKsoarlp8nIhiiojlq/neHPk7Q+LDezOXoiC2edxMIq3WC+jRbEcS13Oj4iFGs6eWwHvCxlAl8PW5E1uSDAQiPjsfR4yJYsmSDnWTlRs9V1H3yPcZWz+iB8ObGMQEsvkIOvkHb8O9mORNcF57bOhg9abubVJsVTxnr2WDsBgzcDRvN8xxgiT02BzW/X5yRvxnWy8z+ij1eBGaxahIzmVxzsx7YyQMarEAaRTYn5gqjq0Q5CPAKWC7euArqZW7ZZPevK3cMPKbHANZFIg0ZOOL/0B/4bShL/bzAmt/FV0MrJLLGLiEmv1cEaWGAQA62q0xfcTVPkF6+E9VbVu/EQuzOl8Eqxic37LGy/X+41NC/LDSBQ7LcHOEjafpSpibQkG7OwPmzUm8nafUb0jPXWifCG5QSlx2Z0bjA= 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: bae5e158-2c6a-4e0f-3018-08d8337adda9 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2020 04:50:06.9675 (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: P8c0AsD8+iYqgT91UZDX7eLkC1cSjVyDqGi1VT/IHX5UsYUpYW6vyviKwHA/599sBC+l4XuyruuuWDwGusUB9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5468 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIEd1ZW50ZXINCg0KDQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0ggVjIgMS8yXSB3YXRjaGRvZzog aW14N3VscDogU3RyaWN0bHkgZm9sbG93IHRoZSBzZXF1ZW5jZQ0KPiBmb3Igd2RvZyBvcGVyY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