Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3588037rwb; Mon, 16 Jan 2023 09:57:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXsc8SpyB/Mtlpcv7NGfpn0DL1LJc/1UPW5hrl8h8RaiJglxJ+oMqo5LjwuIiEy74nxNjCuV X-Received: by 2002:a17:906:4e43:b0:84d:3fa7:12d7 with SMTP id g3-20020a1709064e4300b0084d3fa712d7mr32249716ejw.21.1673891833116; Mon, 16 Jan 2023 09:57:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673891833; cv=pass; d=google.com; s=arc-20160816; b=g8kUVA73WZ0enWcccFv3FhNyZKAkdsDEORD+J27Wn7g+1BpoJL9Aw3ZSCVfon8GNM/ cqgEOapy4tjjStGeFwvKDyGsxZBfLfcsAsE4FiA2dm7x/td5I2gCz0hNrKmzOXnCWhfh y/G0CeluT1studP8EqwRVoDQGPpiLqdjBVG+R67vl4mJaXrJhmS1UB+era8moQOyOwdN tiwuLX69iEwl7YlEysMpSmtM9fqXXMEpvWfWpftgYn3gmE3b41YSWih8OUm0dCg4E6j/ BItp3o0VDUAW4KEex4IqiFl7xU+xO7g8iVus2kiGiQYM/RwyQdesp83Ylcwcb6Lhv1Hh IPiA== 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=97dLzx9vtmV9o+H97gl+Az8odlnNlYrrNMeBpX72bNk=; b=mDfP9AuERrKofyrSNtugM8N0w6E3mPXzJci0jxe+js+YBbWe9va50QNoJexwO8Z8Ih XqLmUEOvKye7QCnTFv8tAVsoI8YZkwmiPg2f+zTBDYgyglcSQojFG+T4DFj8PfycHzBk tska4CJ/fPqeQZxSpdcMws6oOHGbrfvlGGKgLHFBvGSbkBH/EZQ4qsgIP0m8GgUtw8E3 uGvkva9ZB3n9Dc6i9AwyJ0OCxtrufR+qZA0KIt7Ap3EHpPTGLhcJUxk1tbRk9EwY0ILl N8MXj5YJevuGm82knlnpTGUUUTpjNIgGgFySZgVsbZMUGAyJrp4lbbMOf5bn/5+IJqto 3csg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@renesas.com header.s=selector1 header.b=Tt8TfZIm; arc=pass (i=1 spf=pass spfdomain=renesas.com dkim=pass dkdomain=renesas.com dmarc=pass fromdomain=renesas.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb23-20020a1709076d9700b0086bfb06a209si9754015ejc.353.2023.01.16.09.57.00; Mon, 16 Jan 2023 09:57:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@renesas.com header.s=selector1 header.b=Tt8TfZIm; arc=pass (i=1 spf=pass spfdomain=renesas.com dkim=pass dkdomain=renesas.com dmarc=pass fromdomain=renesas.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbjAPPdJ (ORCPT + 50 others); Mon, 16 Jan 2023 10:33:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231520AbjAPPcf (ORCPT ); Mon, 16 Jan 2023 10:32:35 -0500 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2099.outbound.protection.outlook.com [40.107.114.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6289C152; Mon, 16 Jan 2023 07:29:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lxETrBEPN2n1RCAkZIZXRUXm+7chyd35omsmi0SXxiWm6Up/ivrKUwQOVrONoSM3udZxXHbLjktLSdm4MDxqPBYL5D0jSCdU6W51LFjwEoY3TUZ70d1jjLsIeplcz2gABvzCgwzOkNWiWhM9BkTXPtECYWBg5AatQOoJFKS4ILI8dXpfw4yCds6BjNqMKHShCfwAsJ6dk9bdQbm4JJZlZxNXrzzzf+qzf1YFYCEwlk5a4kXYItJS0m17CcUvb6nfpPZDIgjKoqEgxqtYgX+nYgf/o7Ce7do1Kvo0xpAQCcQtSIQR2hFLlXTy5bBdBh8/mdWNFjy0IspfiEbndyrgwg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=97dLzx9vtmV9o+H97gl+Az8odlnNlYrrNMeBpX72bNk=; b=k0SPcSJa6Gwz4CGBUfBO3+/VRqMBCCnsDkMYZ8OvrW4VEDB6EB8xk8/rVoWQwyJVnuoCRDlY8NE7cZjtdH0/ZhBjt+lO33FTFtKi+9km/ABib7lF50W80J+Qpl8llOu/I5xMeeE1kiUg/0BhMWBGhM55vxyMb3zNz3oDeWM+vfCpdo7ZZYF/i31Mi4eo6Fy8JdtZs1NWYfATiv+5a1/yqJFYEgVuizU9tUWMpZmV3xefML8vzR40vd4yi4NPliiKKVvrW01V+iet+ELMxy5LZo4OPYS84QoTzDSjK60hUTK+vHage5VGata9TbwzEQfYGYUSDZaw1mNR86d7ECWz5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=97dLzx9vtmV9o+H97gl+Az8odlnNlYrrNMeBpX72bNk=; b=Tt8TfZIm6TY/AFpopDgmXIMB1wTmLFz9d1XFIzqUqPPr/D9LHhS4gelS3L8CwP4wYmXPQptJZlKHaxMVm6q70ufjt/L5vsCtDlbcYxESAx4Axa3+OyQAdmeAbbNeCJv7hJMmoHa99f6mUZi3g2I1zI7iSZXePYkhWX2Mhoo2Q/U= Received: from TYWPR01MB8775.jpnprd01.prod.outlook.com (2603:1096:400:169::11) by OSZPR01MB7841.jpnprd01.prod.outlook.com (2603:1096:604:1b5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Mon, 16 Jan 2023 15:29:27 +0000 Received: from TYWPR01MB8775.jpnprd01.prod.outlook.com ([fe80::9459:ffa9:a884:8a8e]) by TYWPR01MB8775.jpnprd01.prod.outlook.com ([fe80::9459:ffa9:a884:8a8e%3]) with mapi id 15.20.6002.013; Mon, 16 Jan 2023 15:29:27 +0000 From: Fabrizio Castro To: Guenter Roeck , Wim Van Sebroeck , Philipp Zabel , Geert Uytterhoeven CC: Biju Das , "linux-watchdog@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Chris Paterson , Biju Das , "linux-renesas-soc@vger.kernel.org" , Laurent Pinchart , Jacopo Mondi Subject: RE: [PATCH 2/2] watchdog: rzg2l_wdt: Handle TYPE-B reset for RZ/V2M Thread-Topic: [PATCH 2/2] watchdog: rzg2l_wdt: Handle TYPE-B reset for RZ/V2M Thread-Index: AQHY+nqpy1QulZVqxE28XPYMi1eo7K5VaGCAgEwg/1A= Date: Mon, 16 Jan 2023 15:29:27 +0000 Message-ID: References: <20221117114907.138583-1-fabrizio.castro.jz@renesas.com> <20221117114907.138583-3-fabrizio.castro.jz@renesas.com> <69ab58fe-b3cf-3649-d55b-f43173ff5ab0@roeck-us.net> In-Reply-To: <69ab58fe-b3cf-3649-d55b-f43173ff5ab0@roeck-us.net> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYWPR01MB8775:EE_|OSZPR01MB7841:EE_ x-ms-office365-filtering-correlation-id: 869455ac-2960-456e-3a3e-08daf7d674a0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: o9HvJie1C/iUTqJzyfXkYw+q7o71mQlnvC2gnrcNik5ZhctGU6IEc1SDzBqDDw41PKWhxh77pDM+3xBcGXPxQxJzGjy/LsmPrM3CGcLquVGNdm/wu/ClxH3umPyN5+xF2JfoK7oXCzIag2F3oAEL76yhWzIGrNVoYIh/20h8KIvGYImlqgfgCPG7h6FOndv9Fl6Q/KadR7/Eb1VgNEZQdWPzZ06VNOhcD+wIq43zc5bHBSiHlhsIEF91qze4SAtLjxEiREyscE/kdtTOWQMQa8jDvpm5rs5l9gr5LURTXxIrjvSSAbox58gGKgu9HlbyioU29LafEVnXfjvoj5x12Z2qggPMlshy7Qikj7N7IrMNh4IyUz8EkKUy1woUh0b2efKuzNIo617gMCI+RQdduv8ozOvCrT4bcN8k7hxnlhF5zzZFIX953kGB6YgAI8oqNKxxW3Hg86gOekt/QP9FVLV/Nt2yckAy2vp0xlR4bsh2x+dBfebMzGOIkkXC54itaUN3WmKWVaFLg5wdUahM0hD31a8jrtDQSM1ppnxBg5VR9F6To+N7vUQR2ZPZSlqr26+RG4yfm7HckG63gy71DKvgndIFeKsEV0U+oL6jXcRTWH0vYcvUwWLZ//pN1LOnuAjIKiV628fIVQ0xp7pDgwjpvuqP5BJo2hd2UZARBwvEYBmj+9rKQxDY/2+va/qA6k+8t7baqV84YD9io70pLg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYWPR01MB8775.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(39860400002)(396003)(136003)(376002)(366004)(451199015)(6506007)(5660300002)(2906002)(76116006)(64756008)(53546011)(66446008)(8676002)(8936002)(52536014)(122000001)(83380400001)(66476007)(66556008)(38100700002)(478600001)(4326008)(33656002)(41300700001)(38070700005)(66946007)(26005)(9686003)(86362001)(186003)(55016003)(7696005)(71200400001)(54906003)(110136005)(316002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?b3ZlMWFCM3lTNVRaN3NIUUVMdjhxZ01TRkVUWTN5TVpaZS9UM1NOTVZOcDZo?= =?utf-8?B?M1hNbkdhdC9TWE8vdVJxS3dkRWxPVEsvTXB4UmEvMkVhLy9KQ2pwT3NWVFM3?= =?utf-8?B?cmxjM2t3U21YTktrTzBxZkEzQ3ZJZlhsZDFQS3YrODRORGMvakRWbmp1NmRa?= =?utf-8?B?VDJ0QjVVVmd2bFYzMHJURjA0TVpOUzY2cElwR3hwTUZUNHR0SkJuSmlVYVBH?= =?utf-8?B?blJUUlFDNVBENmo3dWlUdXNNN2N2dGRLeE1jbnAzdXB0cnhJQWhxcG9TN3h2?= =?utf-8?B?eW00ZjJYYlJnc1ludVZFQVR2eUUzaEppdlN5eTFQUmFsVlIybFZRWlQxeGFr?= =?utf-8?B?OUJLVFIyREw3SktMVmFuK1cxZStrOFR1RDRLVzBwQUcycmg0TTliUHBIYXh1?= =?utf-8?B?Z3M2L05Dd1Brejk2dDYxZEVnbmxxOE1HMGhVK0JqRVh6czRyY3Nad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TT3FHaENtZEtjTERR?= =?utf-8?B?ZGJ1S2N1dnNwRWp5SytvSHBYT2xhbEVTSklBYk0rb01qUGx1YlgzZFNtempR?= =?utf-8?B?VGQ5VC90d05qb3BqYXpiMWMwZHdBd0FYTFZBNW54bG0xUWVsdGRqZWRUaGk2?= =?utf-8?B?SHF6YmQvb0J3TGVpOGF0T3NYUHpaQk9TbURlWTRHb01FRVliRGtveitTRGFT?= =?utf-8?B?UHlaQXYyM2thUmh0MzlXWXNSMnNQazFkS2hzU096NFVwYTcvZkNFai9RL2xy?= =?utf-8?B?YUs4c2RJQlFVeHlaMG4weGRHaDladURCbEx2MHhxSHRPTFEwcnhHdEp1VnZR?= =?utf-8?B?SWZpdWlsemxDQXJuWDFFSzZRWkZVRjlGZEtuNEthOHB6UVd1WW8yMzBzQkF5?= =?utf-8?B?YjAxNXl3OGh3RnhuQ01RZWhIMTE3d2xkdU53NGVRNzlONlQ3Uy9Dam5vZlVx?= =?utf-8?B?MFpwZTQyR3JucWxzbk9rWEpqZDRWTGdhSy9QT0o4Z1ZQZEgvWnpqWWJTdnJN?= =?utf-8?B?S2Y3ZFFxWk5HaEpUbmJ5d0h2Ty9OcENJOWx3eHIvWFd1Z0wzc1RvbUN4QkQ3?= =?utf-8?B?QTVuOWNPN3pCT3lMZC9SczV5VDM3cEtqUFkxZWZEU3I2VnQ1eldjYlM1WWRy?= =?utf-8?B?M3l2SjV0SHhTOVN4NGE2blRnMmNRME1GbE05cFZDODZwYnQ3dEsrSWl4R0ll?= =?utf-8?B?Rk1oVnBXZlV3QXhvczZzOXRNM0wyNTdiZEJvcjBpZlNnckdDd281bEhCS2Rq?= =?utf-8?B?b2pvczcyT1V5QzBHSzIvbXhIZThTL2xmWFBaK3dIVlhRcUJtV3lpRzdtOGZX?= =?utf-8?B?eHc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYWPR01MB8775.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 869455ac-2960-456e-3a3e-08daf7d674a0 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2023 15:29:27.7442 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: uwSJ022vRNZQL4hrvGA63dUOdSQN44TAfB1zML5ECsWFE7JnRi1BMGT5wfK7c5DBKseMVKs5JOv5QiRcQ5cgTSO/e0LOJMDObUIIlU/WsZ0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZPR01MB7841 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgR2VlcnQsDQoNCkhhdmUgeW91IGhhZCB0aGUgY2hhbmNlIHRvIGxvb2sgaW50byB0aGlzIHBh dGNoPw0KSSB3YXMgaG9waW5nIGl0IGNvdWxkIGdldCB0YWtlbiBmb3IgdjYuMz8NCg0KVGhhbmtz LA0KRmFiDQoNCj4gDQo+IE9uIDExLzE3LzIyIDAzOjQ5LCBGYWJyaXppbyBDYXN0cm8gd3JvdGU6 DQo+ID4gQXMgcGVyIHNlY3Rpb24gNDguNCBvZiB0aGUgSFcgVXNlciBNYW51YWwsIElQcyBpbiB0 aGUgUlovVjJNDQo+ID4gU29DIG5lZWQgZWl0aGVyIGEgVFlQRS1BIHJlc2V0IHNlcX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