Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp7927943ybc; Fri, 29 Nov 2019 03:16:53 -0800 (PST) X-Google-Smtp-Source: APXvYqwAqp/LVupJBJxNnwBx53gmLlDF16/GweRaE7yhM6uSDht3Ztb/+9LEq9yD4qidTkXEFDsg X-Received: by 2002:a37:8981:: with SMTP id l123mr307895qkd.117.1575026213329; Fri, 29 Nov 2019 03:16:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1575026213; cv=pass; d=google.com; s=arc-20160816; b=XkBcI+pGWmqJtM5LX4+gmiEkaKEp0R1l7oacES1mfuV3sdxN41QRS7dWJYvqDUOVwq /Kt04Z6R2W9DD9zYdzmlXt9OUsNJIY5OdNZw2VQ0mvqMh+XuEydC95t8L+aXhkI6JL59 LXTRIjeFWoG0hMAhSK8poz64pFo4fwRxu5B5NSL22e5LvZTUCEQWs3vBBVAwzYcg+tsy 06UY8RxGRezT0Tmdx8qn1uwUeT697irrH/skB7Zu1DejEoUr61SdtEv8Kix+CXfkK+PP NjKnjjVzhO7Uww+AlsEeZtSk6d1KN3+IqntAG3jH+rLCd2oW2wnJ+EnddMIY/3UhJitn 9FcQ== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:ironport-sdr; bh=gkUt9w7CPOxidC9msuoeI3Otip4NRh24RmoGfoom8C8=; b=MtCvhv/SdF2TI8eL3Kl2lEuaLO77kitu1gmsl6JPKu+PwI+ULLtKzL7dsiX1qeT0S+ TNgs1Oae9F7t9OlaZXaDfbkCYlyIsqW1JugUNzc9+t3YA94qgoeEKVKYupzPsru4LOiq 3vl+mHscxhQEOfe+T3I/Kg/Mq4N1Ek4wzODt8CMYjlKPycfXutpLrNOpoSplhKXfIMhb RIO9EheLGJO9bLA2bt/6BFgz2nQ761lKomKcMETE6ehP6J4o68WenxIwqSJ8vSi8kkEt +CPneL84AQ9HWd1ISEyQcOT7ByyeBKKtXPOVQmifVO1U7vN3ei1HBRtkkCbmElqRZYZF FTBA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=in74dIPa; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id co5si16702688edb.203.2019.11.29.03.16.29; Fri, 29 Nov 2019 03:16:53 -0800 (PST) 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=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=in74dIPa; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726780AbfK2LPW (ORCPT + 99 others); Fri, 29 Nov 2019 06:15:22 -0500 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:4777 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbfK2LPV (ORCPT ); Fri, 29 Nov 2019 06:15:21 -0500 Received-SPF: Pass (esa5.microchip.iphmx.com: domain of Eugen.Hristev@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa5.microchip.iphmx.com; envelope-from="Eugen.Hristev@microchip.com"; x-sender="Eugen.Hristev@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com -exists:%{i}.spf.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa5.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa5.microchip.iphmx.com; envelope-from="Eugen.Hristev@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa5.microchip.iphmx.com; spf=Pass smtp.mailfrom=Eugen.Hristev@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dkim=pass (signature verified) header.i=@microchiptechnology.onmicrosoft.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: u5/hn2/4mpykZoYvjM3Pd1UIsg/4tTZfhwQv7r8tqtbuw7vm9uupFBEV6l0iEWL1ApkSyQLGqo LZCEJ12pd4BNmTwFdxRQMGb6KfkwmUcuZZON/VPex63W2vhLTTO4M/4e95r5qymcgRgCO2HDI8 ZMiUYryedQwWAYXaG+Y8RN7e9DG0ks1flV3mN0DmLatgs1VUQRjHCH9wFrX11RwK6pPbmP1dzJ JjEP2kA0+iTw0HVHhTIR/PaigraVt4SGmww0aTxnFAgZVNRPgVa06tHJjeWvH25x5hTrQ10TXm Nw8= X-IronPort-AV: E=Sophos;i="5.69,257,1571727600"; d="scan'208";a="57276019" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 29 Nov 2019 04:15:20 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 29 Nov 2019 04:15:19 -0700 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 29 Nov 2019 04:15:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N/8VtkJb9imnVHg8x1xK5Kf0fu8n8lvLQ5RpPKi0dBj/0LXxEHDcT5VqN4H8M9MKrHjBQDuo7bnUlo3AfLatKzTadOK/hiMdvGMoz3239PgVIFeJp939ux6swUr6saMIMRRi+xueuR1Und61BWKVFXUeqLhpI9LsJAwqXaZwXjNGnsRXAQdqpSJSDq3ibsYnEVPw5E+r1GQZVDE6S5jDeQNggOckwVceYm66EqcB+5V6ihpiOvXiZy0MhVj1OOgFt9J1Pjr1M0+fW24/mhLd6Gs8F7z3Xc8Zoip5+XV9wR28LPtXWf612ibpd7iQKM5T6AgKgihjPizca/5zia+RAA== 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=gkUt9w7CPOxidC9msuoeI3Otip4NRh24RmoGfoom8C8=; b=nJ39GAG9HKV4XHIVIg/Sa+Tf0+AlstAudw3OtFODR6INO67GnEyRxeHU/Q8PoLppZ4So3eWwfMyAtR+WF3xJD5bouibEuSyrBVWepKM39jmUK04Mx9VyuaYiqXVuw+NT5T69b1MFZpdVCAXIjgcWOu62cQMksYWEGOAQw1L3QcaDVj1+pqOaGfYDi7BI8WiIcLqmaLQDgDZi6A2IP40xKweS6Un3TJiAEPmuq2YgXWnCvUzYYEzmluXNh5Kix/OOcEmPcscCbXRiDxt6Nxe/6gkYUvdesopmMSoQogghZc9rYZLVk5AEtr1kn4aunizaYWOSuu5O06x8NUZfDudlHQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gkUt9w7CPOxidC9msuoeI3Otip4NRh24RmoGfoom8C8=; b=in74dIPa1w3L5iawUniJPoM0cwATT7y5sy1bNlua6rBbxh6MRLoTB6d9VCv7ajLKCcNU76itAk0nnwS8jiUZQnGuqg3cnDOI0tQij2TNus+CEEcMPl45+ailnpoM35G5CKiO0ur+lTJBn2yofTenySoY+0npyd4Ady1IPFx6nbc= Received: from DM5PR11MB1242.namprd11.prod.outlook.com (10.168.108.8) by DM5PR11MB1883.namprd11.prod.outlook.com (10.175.87.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18; Fri, 29 Nov 2019 11:15:18 +0000 Received: from DM5PR11MB1242.namprd11.prod.outlook.com ([fe80::9039:e0e8:9032:20c1]) by DM5PR11MB1242.namprd11.prod.outlook.com ([fe80::9039:e0e8:9032:20c1%12]) with mapi id 15.20.2495.014; Fri, 29 Nov 2019 11:15:18 +0000 From: To: , CC: , , , , , , Subject: Re: [PATCH] power: reset: at91-reset: add sysfs interface to the power on reason Thread-Topic: [PATCH] power: reset: at91-reset: add sysfs interface to the power on reason Thread-Index: AQHVhOg1ctfVLowJVU2Cc9kl1+OI1KeiPdiAgAABb4CAAANmgA== Date: Fri, 29 Nov 2019 11:15:18 +0000 Message-ID: <00f4e9a2-f6bd-9242-cafd-9c0c4f4dc619@microchip.com> References: <20191017124058.19300-1-kamel.bouhara@bootlin.com> <034c9d01-633a-eeaa-f61f-d185be7227f2@microchip.com> <20191129110253.GX299836@piout.net> In-Reply-To: <20191129110253.GX299836@piout.net> Accept-Language: en-US, ro-RO Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM0PR0102CA0018.eurprd01.prod.exchangelabs.com (2603:10a6:208:14::31) To DM5PR11MB1242.namprd11.prod.outlook.com (2603:10b6:3:14::8) x-ms-exchange-messagesentrepresentingtype: 1 x-tagtoolbar-keys: D20191129131503049 x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5b3afca4-ce3f-47d7-24c1-08d774bd6a5a x-ms-traffictypediagnostic: DM5PR11MB1883: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:669; x-forefront-prvs: 0236114672 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(396003)(136003)(366004)(39860400002)(376002)(189003)(199004)(53546011)(6506007)(386003)(6486002)(186003)(26005)(11346002)(102836004)(71200400001)(71190400001)(446003)(2616005)(6436002)(86362001)(31696002)(14444005)(256004)(52116002)(76176011)(5660300002)(36756003)(66446008)(64756008)(66556008)(66476007)(66946007)(31686004)(6512007)(6636002)(8676002)(81156014)(81166006)(6306002)(8936002)(6246003)(966005)(14454004)(4326008)(7736002)(305945005)(66066001)(316002)(54906003)(99286004)(110136005)(2906002)(478600001)(6116002)(25786009)(229853002)(3846002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR11MB1883;H:DM5PR11MB1242.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2mNqYDLfqju4NbHsTWcOmehm1Dp8oXMSJEv3sDhGwbOQLixx4BQ23dwvlRHGtOhczy4fycHpeeWPNjEHAZ9vYDKKoj1Eq3pd9/zSllp8WIWfzBcNNylEk3SAEItb3qEaHeClTc2Swbva8KLeud0gEkAcVEqH0PeNibmHKYjp2bG5rEcWUdC+Ry0KqxMIgiNWhAehEaOB8qDKiO81cWm65BUq8tVNyXKBwUyl1JnDX+mgUvGuJEhNQELRBXKgnjQMWB1yt8LWM7kwWPPW/5UQSS/1f7J2C3mmcfkDhi/6DhoFVyexZ0KYkBiydl7KtF5nOZzr76dcxbb3xCdzj78yHSWtsn5EMAQ2kHujlYT6qxgHD9CLFKDr/sg6QnO6twZikeuFbadiF0uWHjT9lLCqCAy4K2z5SXyAYm5vctM3iHD4UCo55Mo9HY5tIrNr2ou31rzV94HxeMpelB4Nmsy86bMA9k1CH1XoI/dTS8L2y4U= Content-Type: text/plain; charset="utf-8" Content-ID: <272A4C50138D21468F19C7FC4700AD6A@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 5b3afca4-ce3f-47d7-24c1-08d774bd6a5a X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2019 11:15:18.0576 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BTh7pcR7nuiVNagjILDdW4KGBmKNl3D8mZ53LaueGZ8HzabEBOtv5+EWTLK+DNCiFmFs0frykdXweg4EONdfFVDiXkIIGXCF8lorQPpxsZg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1883 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDI5LjExLjIwMTkgMTM6MDIsIEFsZXhhbmRyZSBCZWxsb25pIHdyb3RlOg0KDQo+IE9u IDI5LzExLzIwMTkgMTA6NTc6ND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