Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1641521yba; Thu, 25 Apr 2019 03:20:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbZJEfGCOc+84zdVuB5qvby2O6PEhpMZoxdvQuvaziDt6v1YpyhaBj4p4O9wvSwoVMD02Z X-Received: by 2002:a17:902:12f:: with SMTP id 44mr916947plb.193.1556187601934; Thu, 25 Apr 2019 03:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556187601; cv=none; d=google.com; s=arc-20160816; b=QpNjo6kqk8MRKQfy5nkOogUHBt9YvspuC8eUaTCNDbzcbnC8gb8CmPLUwNm8sc3Z+n 0XQofkizO9RGlvbeLeo6VJxXg9M9fH/R42ryWGUue6oBb23g7u7n5QkYlVT4RSSuqbbm 0jY6tfCDHmTvdNDbQhGl4HhQjDyc1rxW/BPeZPoO4SORjQTKkCrBOd6rE53I6Pj/+8Z+ nVBw1MKsfkmuFgExyx/OpVCGKdZ/jirRZTw62bHJR08tW6dArJFoLLRZldAD17q08Pzw pw9Z0GYuuai4by1lyDCLw11+AU3ZDSHyDb0I1TX56JfkmoQljnAhJBnJnsVsQzH1sQ/b tkZw== ARC-Message-Signature: i=1; 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=GMrGsHFSr84jVLmd4m/2/B64dNSw1UWjdhzur/Lzdgg=; b=V+mnxzFcp7GBuffiyN2c60/27JXZui07c8ykfeIfdt1e3zLlsOfM7b4k+B4k8dk2EO kMPp2YBwWkdyV+naWSzqEIq4wjMO47lNovdIeNFEAKQ3cTtNlM5wB5/6eACux9wpLY68 CEGJLHXRhmUshEKT6q9LumccTm7Tyw2sbfIfpBLenY5VemhnbvfJ3zhER3UfI1VthtRV 5jex13bR+mY0VSZ+IiDYcRvGF/my7BB+1cpDOVOH8ruoJb7TbMi58D9ojd3vqMA0Wxht TL6nkHYGrGHi2OlEfV8jmEkhd+S5J3JxHL7NOMz96Y7yg/uo55FcXtaC2ZHQjw2Lp/mG RAeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=FbTCRrC9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id g2si21117148pgi.19.2019.04.25.03.19.46; Thu, 25 Apr 2019 03:20:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=FbTCRrC9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2387516AbfDYBOd (ORCPT + 99 others); Wed, 24 Apr 2019 21:14:33 -0400 Received: from mail-eopbgr50055.outbound.protection.outlook.com ([40.107.5.55]:39075 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728712AbfDYBOd (ORCPT ); Wed, 24 Apr 2019 21:14:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GMrGsHFSr84jVLmd4m/2/B64dNSw1UWjdhzur/Lzdgg=; b=FbTCRrC9gUtB8P4v5gq/b3ayg6tehB9JFaht5HuVsq0jTeZqyb9i74bI7vJA9sqFIcGZqP1nqin0MU9HNi1HcgDrx9aP+qq/NFg+iGC4Mz8oDnY09kbLEbRLwrdZr39XQ6Pz/Kzz3FafY8SmM1KsMOs5pUxpgyhUcKTnPRwCxkQ= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3788.eurprd04.prod.outlook.com (52.134.72.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.18; Thu, 25 Apr 2019 01:14:27 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e8ca:4f6b:e43:c170]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e8ca:4f6b:e43:c170%3]) with mapi id 15.20.1835.010; Thu, 25 Apr 2019 01:14:27 +0000 From: Anson Huang To: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "wim@linux-watchdog.org" , "linux@roeck-us.net" , Aisheng Dong , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-watchdog@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH 2/2] watchdog: imx_sc: Add pretimeout support Thread-Topic: [PATCH 2/2] watchdog: imx_sc: Add pretimeout support Thread-Index: AQHU+wQ67HfMfWtsaUW0yczuADoMLQ== Date: Thu, 25 Apr 2019 01:14:27 +0000 Message-ID: <1556154581-31890-2-git-send-email-Anson.Huang@nxp.com> References: <1556154581-31890-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1556154581-31890-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR03CA0058.apcprd03.prod.outlook.com (2603:1096:203:52::22) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 84f21954-e104-42af-7ab9-08d6c91b5c79 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DB3PR0402MB3788; x-ms-traffictypediagnostic: DB3PR0402MB3788: x-microsoft-antispam-prvs: x-forefront-prvs: 0018A2705B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(346002)(376002)(396003)(39850400004)(199004)(189003)(68736007)(36756003)(256004)(478600001)(8936002)(50226002)(76176011)(2201001)(14444005)(14454004)(97736004)(86362001)(316002)(6486002)(110136005)(66476007)(66446008)(64756008)(66556008)(73956011)(476003)(53936002)(6506007)(8676002)(2616005)(186003)(66946007)(66066001)(305945005)(446003)(11346002)(102836004)(26005)(7736002)(6116002)(486006)(25786009)(2501003)(4326008)(386003)(52116002)(99286004)(81166006)(6436002)(81156014)(6512007)(3846002)(71190400001)(5660300002)(2906002)(71200400001)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3788;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 6p2124/KYgVXesqg3JxYO51SMfxkMLzo65nl+90aSsTRjw+eeUUEe5W1pJdWscAUKN/ZIS+FJXfswnMEZ5NwcdzVH10D9PAdi/yu3Y4asTJMOFvmw29/olJPBeWZj4kC+0w4yLaFt9iJcCwO+ysCSSHBOuUEsoecLcxcLi8KMgrhcdTcZzqL8MRf0jVHHHu0mfU9K0QVLIy+d+1uqNcTgvampbaq7nUiP0XbPMGt76MYrsDlM/kqrIg8zj8FWZ0FKfNJMUI37wU+orHB92jQYeSAaPm0afTlr0qJwrNG7dCdM6cAJvIKIZta9O2SwCxL7xKTCHbfNUIsoy2BdvDfvN+AnVasU0WXrjAsYWoD/um5ifK/o+iKudMq5BgWBnxCjG1lZLzTSovaRvSYHbiKp+bfz8haUVRwT43Zkn5pGh0= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84f21954-e104-42af-7ab9-08d6c91b5c79 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2019 01:14:27.7712 (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-Transport-CrossTenantHeadersStamped: DB3PR0402MB3788 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org aS5NWCBzeXN0ZW0gY29udHJvbGxlciB3YXRjaGRvZyBjYW4gc3VwcG9ydCBwcmV0aW1lb3V0IElS UQ0KdmlhIGdlbmVyYWwgU0NVIE1VIElSUSwgaXQgZGVwZW5kcyBvbiBJTVhfU0NVIGFuZCBkcml2 ZXIgTVVTVA0KYmUgcHJvYmVkIGFmdGVyIFNDVSBJUEMgcmVhZHksIHRoZW4gZW5hYmxlIGNvcnJl c3BvbmRpbmcgU0NVDQpJUlEgZ3JvdXAgYW5kIHJlZ2lzdGVyIFNDVSBJUlEgbm90aWZpZXIsIHdo ZW4gd2F0Y2hkb2cgcHJldGltZW91dA0KSVJRIGZpcmVzLCBTQ1UgTVUgSVJRIHdpbGwgYmUgaGFu ZGxlZCBhbmQgd2F0Y2hkb2cgcHJldGltZW91dA0Kbm90aWZpZXIgd2ls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