Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp7905004ybc; Fri, 29 Nov 2019 02:59:21 -0800 (PST) X-Google-Smtp-Source: APXvYqyDYDHIn0VufKmHCcBPBeyZcYHvW4g3QpWRTdRpqOAj0srn7MMnhvFpGUboX8GvAnjxhASG X-Received: by 2002:a17:907:2112:: with SMTP id qn18mr33653410ejb.92.1575025161745; Fri, 29 Nov 2019 02:59:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1575025161; cv=pass; d=google.com; s=arc-20160816; b=ab3zWhOvaIHUMI37EeACdT6+am8tSYNGLTw1AfUcqjcpQwypMtA8Ft+jBQAjPzjyG1 s1HT23TkT8qZ7BRXBOcXjbncslO1cSWwGEpE+FzXYotf+WO/6PNECZlLfKLD4+zw/MYg cqhx7H38mSUw0XV2EItWOaoUzYoYG5dhBUJDIR4mexrucBMiO2fZyAzYN8Hm83yjiRVA pdPocz0crArsYoLQxE3KZFbLU1QGhfAwk1Sc1I4VZKfHWrdp8V0TYbVQchH16TIUgBRC swFBqZkoJlmsgoIgaF7dc1Vi7FQrnpdnYOVwrJzv7JTz0HMYx1+875aJxJjomFVcgVy6 eSKQ== 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=EN32HTsrbJ+oLqIii+6COmhZOL7UbsPDBR4aZinOdac=; b=ZCeBms893kJgdzqqj+ZL6/C99OycbuXzq5X+wuxZhEudEOeAL0cw0SdZiJm0tFpke7 yU/ZnA36sRC/HqUB6DOObhWkWHyq8TGPa/6cyxoUMNy/Q2rFzpHx4CnQekC9KLXZ+8J7 sKtjyllNq8Sru+c4WIWqbgv3XCNRizL4ngYwSF7fu15nwkuQzlgKNUIQKJ1AhRy6RV/u EyTM1U3yaBRpWwaZj+elXySk8ItvQJ1w3gFsHyp/gDqjw3429s4wRIGpLCuV2US+45tT 2EMvlL+yeQEbtyPJ+5/IWoHxBrIcNApHwMOEyFY4O//IiYYdzll7gq+GxZcCJH8c7yzx K01Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=nGRonSCd; 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 dd21si9047343edb.111.2019.11.29.02.58.56; Fri, 29 Nov 2019 02:59:21 -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=nGRonSCd; 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 S1726770AbfK2K5s (ORCPT + 99 others); Fri, 29 Nov 2019 05:57:48 -0500 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:3000 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726215AbfK2K5s (ORCPT ); Fri, 29 Nov 2019 05:57:48 -0500 Received-SPF: Pass (esa5.microchip.iphmx.com: domain of Claudiu.Beznea@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="Claudiu.Beznea@microchip.com"; x-sender="Claudiu.Beznea@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="Claudiu.Beznea@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa5.microchip.iphmx.com; spf=Pass smtp.mailfrom=Claudiu.Beznea@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: naqoJRT3fpe7t89hrKXOTYjV3j/yUEiEsisXubHPRfXrb74jcgI/q9tRWHcJhpHMyYv819G7FI z69iOhDX+cxhbqsBxVztbpNMzZZYtjXHQeDGHM0dCZAzezGE5DTnzHaz5Nk74y68Ganp6pRWzT 0NyQetGHzINyWI2cn7nSs5WhRo3UcwpuNOyp+FfJdTB0rN8bKioJp6Brdc6pFmgReAptX4mRlu umpMyZyKYveu7LWXfwjOK7f91aAnuxjw8Eg2giNmjxXjcwUHdIjTBkVL6opSLMG3b5/EXslq5+ r78= X-IronPort-AV: E=Sophos;i="5.69,257,1571727600"; d="scan'208";a="57273289" 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 03:57:47 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) 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 03:57:46 -0700 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.72) 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 03:57:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fKc0agaIKmA+bqWMS+WDobciHdeWvlkSteYd9plic2g4KTspxG9NvlPb/quKz23BDR+cZJT1M5E7CdqaZN5X6ViUHHKzqvQeIt+VRfqSZnjDqmJq7ZxrjXKIYPrliLdw1JrgFDEQw9ML1OZbkbaxQ1LyagtAh1NwXpZnRpO6xhAuJbLM3f8tQJOPV4EP4uTQWXUWeI2HoK4gaWozD26sqAzx7yhywJv9KZbmhtI1nXJuoSkUy817RDDta7MHUkC0R1kStIp0WSYBfZy4p5mSjNkF/xbsnWHv6uvOPwjyTf75TI8HengHz9rCdv3jm2kP9wnihR80PtsUVKdZpYoEEg== 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=EN32HTsrbJ+oLqIii+6COmhZOL7UbsPDBR4aZinOdac=; b=CIBq9sGeagZcu0YtcdlLet4b27juaGJN+r3Q+vmzJjSkKUN+q7SocgPYknAX8ZKJjRPffj9h/EZZOxE2GSRrPCQVK3jTus6omNOvK37FLSYFUeLIQX/vCpwZ8F079aDbq9Q7jeItjYl0jAC/XAemrKiT+if/zM7rSbK2YbCOfyEE05GmsFnAAowQ+5qhWiOYozYdVQNgjr/HAYANby/rsvvtJDAvtaj2Yfq+WABzXHVoMvT6vcD+BSfdxoqI6XiQmGFexpKL3cDn7T4hmv1bE4NeuGRWHBRNtnnDR9RVX1YNdcfmrnARKmgKXhf12ArVk5DqkdoPcrU1w6xaPPrIJw== 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=EN32HTsrbJ+oLqIii+6COmhZOL7UbsPDBR4aZinOdac=; b=nGRonSCdBRkzf+UF6lTC1rue9sCW70s10crA/FO3u+DhJYk+gLLA0YpoZXt3tbbvp4GeXk3Kz3KxTDmfDPqjsbG+V94lOV0bYqg5emDIOG3mapHTwBZmeS8yPakKibxaoCAlHJSSHwB0iTUINOpN0ymDz5ZUWYTA3+4O8KYnh9U= Received: from DM6PR11MB3225.namprd11.prod.outlook.com (20.176.120.224) by DM6PR11MB4332.namprd11.prod.outlook.com (52.132.250.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.20; Fri, 29 Nov 2019 10:57:45 +0000 Received: from DM6PR11MB3225.namprd11.prod.outlook.com ([fe80::ed7d:d06f:7d55:cbe2]) by DM6PR11MB3225.namprd11.prod.outlook.com ([fe80::ed7d:d06f:7d55:cbe2%6]) with mapi id 15.20.2474.023; Fri, 29 Nov 2019 10:57:45 +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: AQHVpqPUrVvL4JbtF0GEzLdoaJ+YqA== Date: Fri, 29 Nov 2019 10:57:45 +0000 Message-ID: <034c9d01-633a-eeaa-f61f-d185be7227f2@microchip.com> References: <20191017124058.19300-1-kamel.bouhara@bootlin.com> In-Reply-To: <20191017124058.19300-1-kamel.bouhara@bootlin.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM0PR0102CA0065.eurprd01.prod.exchangelabs.com (2603:10a6:208::42) To DM6PR11MB3225.namprd11.prod.outlook.com (2603:10b6:5:5b::32) x-ms-exchange-messagesentrepresentingtype: 1 x-tagtoolbar-keys: D20191129125738470 x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ffffde53-59f9-4c90-746c-08d774baf6bb x-ms-traffictypediagnostic: DM6PR11MB4332: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:854; x-forefront-prvs: 0236114672 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(376002)(136003)(396003)(366004)(189003)(199004)(25786009)(6512007)(36756003)(31696002)(66946007)(305945005)(7736002)(478600001)(229853002)(316002)(66066001)(6486002)(6436002)(110136005)(99286004)(5660300002)(66446008)(54906003)(64756008)(256004)(8676002)(102836004)(52116002)(2616005)(386003)(11346002)(53546011)(8936002)(6246003)(3846002)(446003)(26005)(186003)(66556008)(76176011)(2501003)(81156014)(4326008)(71190400001)(86362001)(6506007)(66476007)(14454004)(81166006)(2906002)(14444005)(71200400001)(31686004)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR11MB4332;H:DM6PR11MB3225.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: Oy434Nw8vwyLK55aVa1ABmG1dV+EpXstdIdEKRt5Oj2IJ25S7eGcSqtMAx2NIM92rZvrFzdhynJx+ML7jBznbmqC0Am+SssfFHThr77xnEJxyAZgCEeea6+8QN9s6VHMlNaKTuaqnwqyZ9oX1J8qtCPA3SXs8HCiqvFmjHIWlj0nDvgpX7qBT1UudM4b9RafgjLG28OnjUbupqjU6YhQ01iDib7jwOWW9y+jzeHqRZeJ++fcbwuMafqhj4RXyynBdn6dxb/TgC9Fgri7d3UrNoMTaWqtqKU1C6Igid6+PteQYWtBVnPj5xeYK6L6E3zSg7fqQqi9BZffhsPnNZdVoIdmOe1EmcCYqysIEpaK8gZU54DukX3QKT6jHyfB3lOfOJEFQofZZNIg7DcHQbIjvepnhuTdr1bhJGgjsmchA9/F7XKOjA7np66IbUaX09v/ Content-Type: text/plain; charset="utf-8" Content-ID: <1A7DF38D6827FD4095E36D72FB5464F0@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ffffde53-59f9-4c90-746c-08d774baf6bb X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2019 10:57:45.0962 (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: F0rTItfevz9OpieE4ZXUHdKqhtxf7mLEUBJPahXOuwNr8Qg4q4DM3222VsRHfFbGTCGXQhS2MJCneBcojU1oktHDPd8oqI15EenESPRgUtM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4332 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgS2FtZWwsDQoNCk9uIDE3LjEwLjIwMTkgMTU6NDAsIEthbWVsIEJvdWhhcmEgd3JvdGU6DQo+ IFRoaXMgcGF0Y2ggZXhwb3J0IHRoZSBwb3dlciBvbiByZWFzb24gdGhyb3VnaCB0aGUgc3lzZnMg aW50ZXJmYWNlIGFuZA0KPiBpbnRyb2R1Y2Ugc29tZSBnZW5lcmljIHJlc2V0IHNvd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