Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2569882ybi; Mon, 1 Jul 2019 14:27:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8mQ87Q15eXsEahNwj2Zqpo1Y+f7+5Ttk+mmd/KVfPO00JtnA+eLl8LKOELYlZs72c2xzk X-Received: by 2002:a63:7a01:: with SMTP id v1mr23693698pgc.310.1562016422804; Mon, 01 Jul 2019 14:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562016422; cv=none; d=google.com; s=arc-20160816; b=YQHIKHbR10gepwejM27Z7Fhcj7OW20HXCBVmJrD4GHIWr4TePy2/1J8bR3r0+83fLn lhwReugzLtEM1KCZmv8SqKzmMCaGvIz90mCgouH2AM7QsOEFcxPoUCma50VUwv38THR0 hCbxFWVLZcIHVCkT3nRNxBq8bniLC3qZxG6dAfSJISSJlkFw6b5bSd/5vyotaYH61lMn iWIvWH7/4fjCrLDctEyXx/Bqhwlos7spHUdpZS287hP6fd0lt2mxPPVjN92przaFwdus /1bXyKOBbXJ8CVJSTdI3yCIDDcgVGGkrBDuLG3mVobs78EduoVs1KdHoAFnXSbfy6+Az HA8Q== 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-id:wdcipoutbound:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature:dkim-signature; bh=3V/LpFRVnfBTIRTA/E6S6Opbxs7T1rbBrBsb20bpQxg=; b=LD0tJZKQAXEMB9/Ne1idDJ2O1AUFcqVkAVQXnHbPa3GgFn9ozEaHjYVnAVqU0JM80y x6CqAnqYenzk+Mp2bxMa5g/CHFLqOaqjf6r6vWTQoHAg8sJw0yNm/S3OCUH4+jVD3Zf8 Q2t4bqXxCDT10BKF47dk8rr4eK9OK8CEHErcSWIHcPCbCg7v8f6XEL0nta4Ks6WfYLwE F0JigAmLoc0MnICP8mGGCT60nHjIgWpCiB3xJpca6CAXTkfQkQb1y194dmG80D0yVFQk wK3WN1JWDlLnY7fFuaHk0kJAszSnj8eD35+kfc2kjpetXq+wpqHamFOLrIoIK9byYVmm aMCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=NpKXSR5u; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=ghtlyfY3; 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=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v184si11090419pgv.566.2019.07.01.14.26.47; Mon, 01 Jul 2019 14:27:02 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=NpKXSR5u; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=ghtlyfY3; 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=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726781AbfGAV0V (ORCPT + 99 others); Mon, 1 Jul 2019 17:26:21 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:44854 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726509AbfGAV0V (ORCPT ); Mon, 1 Jul 2019 17:26:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1562016380; x=1593552380; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=3V/LpFRVnfBTIRTA/E6S6Opbxs7T1rbBrBsb20bpQxg=; b=NpKXSR5usc6C/8E2IQwPBJDI7GTZFo73FUhifitqbNfDMFVVC8OS7jcx L3c+UWdKdLKkzT31gKEQ0V3mDWyx3cE2TOC2nuvWXeTRsDr8GUit7YiA9 3RfIPN/tjIDby+f7lMbbrab6lXtBGOTxv8JOWM2bfhYrIKlAf6fO4IUg7 9nEutAGQqB19mSEG9RQwodWntuuZACdxlPiUy9fPvIEFtfQwqUkZwJZly 2ADqYFSAC1a7RqspguvHn+oB0a86Kk78C0NcNNaZDDhBE6kSgOuCzBYQH 7Bz+Lt4U79gH+NGghDBAESTyzmIHK6aXSiJCxy3V88O/dwEgo0TxIRJZ6 g==; X-IronPort-AV: E=Sophos;i="5.63,440,1557158400"; d="scan'208";a="113613833" Received: from mail-by2nam03lp2055.outbound.protection.outlook.com (HELO NAM03-BY2-obe.outbound.protection.outlook.com) ([104.47.42.55]) by ob1.hgst.iphmx.com with ESMTP; 02 Jul 2019 05:26:19 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3V/LpFRVnfBTIRTA/E6S6Opbxs7T1rbBrBsb20bpQxg=; b=ghtlyfY3MWv6VUkokwb/p/GbYrO9IVX+/jweAoRAjxboEDG2ln0PXrCPomrE3K3KkzudoSs/6AuTQIHXFSswdtvE1+FsdhxspDHn1vg1tkzO+Xy5HOsdBxMiQdGijZBt95vU68tF2und04RP+B2airn66rxDOaUcolsOqf23HJw= Received: from BYAPR04MB3782.namprd04.prod.outlook.com (52.135.214.142) by BYAPR04MB4664.namprd04.prod.outlook.com (52.135.240.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.20; Mon, 1 Jul 2019 21:26:18 +0000 Received: from BYAPR04MB3782.namprd04.prod.outlook.com ([fe80::65e3:6069:d7d5:90a2]) by BYAPR04MB3782.namprd04.prod.outlook.com ([fe80::65e3:6069:d7d5:90a2%5]) with mapi id 15.20.2032.019; Mon, 1 Jul 2019 21:26:18 +0000 From: Atish Patra To: "hch@lst.de" , "paul.walmsley@sifive.com" , "palmer@sifive.com" CC: "linux-mm@kvack.org" , Damien Le Moal , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 16/17] riscv: clear the instruction cache and all registers when booting Thread-Topic: [PATCH 16/17] riscv: clear the instruction cache and all registers when booting Thread-Index: AQHVKk/eafb73EoeVUKcVAZHOtIduKa2UpyA Date: Mon, 1 Jul 2019 21:26:18 +0000 Message-ID: <78919862d11f6d56446f8fffd8a1a8c601ea5c32.camel@wdc.com> References: <20190624054311.30256-1-hch@lst.de> <20190624054311.30256-17-hch@lst.de> In-Reply-To: <20190624054311.30256-17-hch@lst.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Atish.Patra@wdc.com; x-originating-ip: [199.255.45.61] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 52bd3de9-56d7-489f-bfcc-08d6fe6ac148 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:BYAPR04MB4664; x-ms-traffictypediagnostic: BYAPR04MB4664: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:1265; x-forefront-prvs: 00851CA28B x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(346002)(366004)(376002)(136003)(396003)(39860400002)(189003)(199004)(118296001)(25786009)(71190400001)(71200400001)(476003)(486006)(2501003)(99286004)(2616005)(6506007)(76176011)(26005)(256004)(14444005)(6116002)(3846002)(478600001)(446003)(186003)(102836004)(72206003)(36756003)(11346002)(6436002)(76116006)(6486002)(2201001)(2906002)(53936002)(14454004)(229853002)(6512007)(5660300002)(316002)(66066001)(66946007)(54906003)(66476007)(66446008)(66556008)(64756008)(73956011)(68736007)(110136005)(6246003)(8676002)(81166006)(81156014)(86362001)(8936002)(305945005)(7736002)(4326008);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR04MB4664;H:BYAPR04MB3782.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: KslD34yP5hwFESqyOJ0iBtBjfXD0dQncTKQ4fD9kcR4kfgsHcs0HH/ZJMUc/DBZMrb/qUSDtBXj5YhB+HF00PBwPCn3v1rrcIRCUnozxVzKzyUDEGm5Y4pIXzQrpw2fN1+90KJvWVbxJIZfV1eLGItrC4CTC5F97GoQFQjYVMBIxiLQvrBECE3RrbPbTcxQ57KUz0sOoXQwjnB8ZthVQgUl+CqN6I5YyJKZYDgGbibnWPBGlgW0UkybCx+7D5HN7xfl02U7jE30IonlZYGqctOX/2d3CW/My4cVSpsBlxGNnSD7Yu3O+dqiXvxG2XNIg9KE5K0vqsYqvoOGqr533dwVox15t2qLKhk7nnlOztphOJxv8mR+cbuoDY+ky10eT39evfR5j4Yv1+kdmezF7MDIO8yuMeW2Qz9lT0moh8O4= Content-Type: text/plain; charset="utf-8" Content-ID: <3F95E20170DB634F896CA2BAF2589A70@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52bd3de9-56d7-489f-bfcc-08d6fe6ac148 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2019 21:26:18.0563 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Atish.Patra@wdc.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB4664 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDE5LTA2LTI0IGF0IDA3OjQzICswMjAwLCBDaHJpc3RvcGggSGVsbHdpZyB3cm90 ZToNCj4gV2hlbiB3ZSBnZXQgYm9vdGVkIHdlIHdhbnQgYSBjbGVhciBzbGF0ZSB3aXRob3V0IGFu eSBsZWFrcyBmcm9tDQo+IHByZXZpb3VzDQo+IHN1cGVydmlzb3JzIG9yIHRoZSBmaXJtd2FyZS4g IEZsdXNoIHRoZSBpbnN0cnVjdGlvbiBjYWNoZSBhbmQgdGhlbg0KPiBjbGVhcg0KPiBhbGwgcmVn aXN0ZXJzIHRvIGtub3duIGdvb2QgdmFsdWVzLiAgVGhpcyBpcyByZWFsbHkgaW1wb3J0YW50IGZv ciB0aGUNCj4gdXBjb21pbmcgbm9tbXUgc3VwcG9ydCB0aGF0IHJ1bnMgb24gTS1tb2RlLCBidXQg Y2FuJ3QgcmVhbGx5IGhhcm0NCj4gd2hlbg0KPiBydW5uaW5nIGluIFMtbW9kZSBlaXRoZXIuDQoN ClRoYXQgbWVhbnMgaXQgc2hvdWxkIGJlIGRvbmUgZm9yIFMtbW9kZSBhcyB3ZWxsLiBSaWdodCA/ DQpJIHNlZSB0aGUgcmVzZXQgY29kZSBpcyBlbmFibGVkIG9ubHkgZm9yIE0tbW9kZSBvbmx5Lg0K DQo+ICAgVmFndWVseSBiYXNlZCBvbiB0aGUgY29uY2VwdHMgZnJvbSBvcGVuc2JpLg0KPiANCj4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ICsJZm12LnMueAlmMSwgemVybw0KPiArCWZtdi5zLngJZjIsIHplcm8NCj4gKwlmbXYucy54CWYz LCB6ZXJvDQo+ICsJZm12LnMueAlmNCwgemVybw0KPiArCWZtdi5zLngJZjUsIHplcm8NCj4gKwlm bXYucy54CWY2LCB6ZXJvDQo+ICsJZm12LnMueAlmNywgemVybw0KPiArCWZtdi5zLngJZjgsIHpl cm8NCj4gKwlmbXYucy54CWY5LCB6ZXJvDQo+ICsJZm12LnMueAlmMTAsIHplcm8NCj4gKwlmbXYu cy54CWYxMSwgemVybw0KPiArCWZtdi5zLngJZjEyLCB6ZXJvDQo+ICsJZm12LnMueAlmMTMsIHpl cm8NCj4gKwlmbXYucy54CWYxNCwgemVybw0KPiArCWZtdi5zLngJZjE1LCB6ZXJvDQo+ICsJZm12 LnMueAlmMTYsIHplcm8NCj4gKwlmbXYucy54CWYxNywgemVybw0KPiArCWZtdi5zLngJZjE4LCB6 ZXJvDQo+ICsJZm12LnMueAlmMTksIHplcm8NCj4gKwlmbXYucy54CWYyMCwgemVybw0KPiArCWZt di5zLngJZjIxLCB6ZXJvDQo+ICsJZm12LnMueAlmMjIsIHplcm8NCj4gKwlmbXYucy54CWYyMywg emVybw0KPiArCWZtdi5zLngJZjI0LCB6ZXJvDQo+ICsJZm12LnMueAlmMjUsIHplcm8NCj4gKwlm bXYucy54CWYyNiwgemVybw0KPiArCWZtdi5zLngJZjI3LCB6ZXJvDQo+ICsJZm12LnMueAlmMjgs IHplcm8NCj4gKwlmbXYucy54CWYyOSwgemVybw0KPiArCWZtdi5zLngJZjMwLCB6ZXJvDQo+ICsJ Zm12LnMueAlmMzEsIHplcm8NCj4gKwljc3J3CWZjc3IsIDANCj4gKyNlbmRpZiAvKiBDT05GSUdf RlBVICovDQo+ICsuTHJlc2V0X3JlZ3NfZG9uZToNCj4gKwlyZXQNCj4gK0VORChyZXNldF9yZWdz KQ0KPiArI2VuZGlmIC8qIENPTkZJR19NX01PREUgKi8NCj4gKw0KPiAgX19QQUdFX0FMSUdORURf QlNTDQo+ICAJLyogRW1wdHkgemVybyBwYWdlICovDQo+ICAJLmJhbGlnbiBQQUdFX1NJWkUNCg0K LS0gDQpSZWdhcmRzLA0KQXRpc2gNCg==