Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4824037imj; Wed, 13 Feb 2019 01:33:14 -0800 (PST) X-Google-Smtp-Source: AHgI3IZBy4c3Mc0uhNq0UHQfNNHv5dNI/Oh0c3TslqpcLl0hqJNES6RZs7BDsVmdBjfq0keQecHv X-Received: by 2002:a17:902:a513:: with SMTP id s19mr8704558plq.324.1550050394320; Wed, 13 Feb 2019 01:33:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550050394; cv=none; d=google.com; s=arc-20160816; b=LaEkIk2XN+AUkaJ98Ogi9DpcePVgEO6g4a4zpwnedPnJOWTmMGxHcumXbE1EVrHzdS oloX+NNWz001NuEon8E3+RTp0srC0mG81KJBOYQ5XqYHk6OGqj7s5XhG/sm9DgRY0VeT TuNS2k8sk3xFGMOQwnzFfLhDfpvTH6qyn4/0HNF690TnRPYHi+eEewOtamllbHgJYfOH Ddd9XE8R42b3OJ6WYrpIpSxV9E/o1gbYmQ8syGMrAroUGlURDSUxdtnysY0gNzSMBjg/ 7XIJYYY/0vnpH44nN32xEXUabFoAWww4x99F0IF4GSyL6Z9gPbFo2kGUgIkbNf5vAeQo mAlw== 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 :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=npIJGtEiK/Peu2iEODFrEI6r0AVh3bRqe0c1MRU6V+0=; b=dsHySzLF0Oh0CssXJad/7RJJn6QGPpw0cTBVer8B0CsEaGgUkd/qQMIjSvCgWYFHn6 DHqQD8+vIK2c6qDFCrl7+wUS8uGXPTPXOaJ8TIODd+cZKmgk743D0S92R7WgZE5A5WJb oWwQBaP2hx3eF3G//N/MHxgYHOAJWr2O7Yz0UVVfPAaJNsooXCjE8TzglVADSJY7SkuP +MCuipmTsrFFWc4dnmgXfXO0IRImQYrz/hgu7q4vEiOc6+WNZIvooUDkGg4yYqmMJ2by Wv5TFWeiQImJa/Zo5gzKa6fozn20pFUcba9LW6jSlqKJyeKZ+nA2val8T+f9LLknCkDF XrBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=o4ENUksv; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=knJ5QkZC; 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 n78si15883829pfi.235.2019.02.13.01.32.56; Wed, 13 Feb 2019 01:33:14 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=o4ENUksv; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=knJ5QkZC; 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 S1730588AbfBMGFX (ORCPT + 99 others); Wed, 13 Feb 2019 01:05:23 -0500 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:39737 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726788AbfBMGFW (ORCPT ); Wed, 13 Feb 2019 01:05:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1550037923; x=1581573923; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=npIJGtEiK/Peu2iEODFrEI6r0AVh3bRqe0c1MRU6V+0=; b=o4ENUksveHtYatvp2/PQlfzMFp/Z0RhS6VXrJoDA3ObcsFhqUlAJ9MJp EFp9stypDTsVMw36HC3vBinPPbeqh+PYHbQ+/B63GM2xVdN+LR7KI7p/t o83X15MGzIly1eqK7tze5IbyRx2+LhNyk9b9tqpK7NH9Hf3xkR6Smgt5C y8xlBzLzgWEslxYAVzKeZuh3OtxKiOVhlRRBce4werar5PVbp7+n1ha74 dXPh6fQraW+cITxIGiZzUWOHDoo5xPMQ8matEKwQVWxKLs9Alr2p4zLxJ PfPR1n0P+9GOaHzWSjbCKqn2t+tnzScWZuAp5eIdUX0gXmjT74Pc+rNIw Q==; X-IronPort-AV: E=Sophos;i="5.58,364,1544457600"; d="scan'208";a="106095354" Received: from mail-dm3nam03lp2055.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([104.47.41.55]) by ob1.hgst.iphmx.com with ESMTP; 13 Feb 2019 14:05:22 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=npIJGtEiK/Peu2iEODFrEI6r0AVh3bRqe0c1MRU6V+0=; b=knJ5QkZCUVxiUAt0FC2pRuVPr6WwJEoYz0zo22ejtpot+9LgrPnTYukIH1xqyyn5+dlb9+oR0sF7ujWEATxNPKrG4o20s2BlryrSE+9TnRWnuf/ktvODfF+7MeOuoHOY4r8JyMbTlqircY6CDFj0nUWyBBdSyC6myduORuRRbJE= Received: from MN2PR04MB6061.namprd04.prod.outlook.com (20.178.247.148) by MN2PR04MB5503.namprd04.prod.outlook.com (20.178.245.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.21; Wed, 13 Feb 2019 06:05:19 +0000 Received: from MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::2cdb:c465:af57:8be1]) by MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::2cdb:c465:af57:8be1%7]) with mapi id 15.20.1601.023; Wed, 13 Feb 2019 06:05:19 +0000 From: Anup Patel To: Christoph Hellwig CC: Anup Patel , Palmer Dabbelt , "linux-kernel@vger.kernel.org" , Atish Patra , Albert Ou , Paul Walmsley , "linux-riscv@lists.infradead.org" Subject: RE: [PATCH v2 6/6] RISC-V: Implement keepinitrd kernel parameter Thread-Topic: [PATCH v2 6/6] RISC-V: Implement keepinitrd kernel parameter Thread-Index: AQHUr/rvNlD18fFOHEuGvgVx64rC4aXb43KAgAA2jICAAIwvgIAAlc7ggAAlagCAAAKk4A== Date: Wed, 13 Feb 2019 06:05:19 +0000 Message-ID: References: <20190119132650.9978-1-anup.patel@wdc.com> <20190119132650.9978-7-anup.patel@wdc.com> <20190212070807.GD26747@infradead.org> <20190212184505.GA10984@infradead.org> <20190213055510.GA5725@infradead.org> In-Reply-To: <20190213055510.GA5725@infradead.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [129.253.179.161] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: afb1f3e4-ac55-4a9f-f4bc-08d691793b7a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605077)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:MN2PR04MB5503; x-ms-traffictypediagnostic: MN2PR04MB5503: x-ms-exchange-purlcount: 1 wdcipoutbound: EOP-TRUE x-microsoft-exchange-diagnostics: =?us-ascii?Q?1;MN2PR04MB5503;23:PZSPPPCRua7VQL/fVNyf4xcqem4syrWa3GPOX88V5?= =?us-ascii?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tJn4jtr46tw4LHGFsD0J?= =?us-ascii?Q?hL76DZRTV5oa+o7KKlHuTnXcgi3c4uI55RfxsH404R1rK5gdL1zzO1oVs/QB?= =?us-ascii?Q?+fTNRY7RotslLegK1NfD4ZC2mZ20k80paq+ftldy7MZIheF1NV2Zu7omaMJw?= =?us-ascii?Q?kC2rEMGeCrXOqAUEvh5aGswVmWE5P8EwXzC1a8JTZ79YwWbirWmF4zowZjf8?= =?us-ascii?Q?nYBmpyluHqqTr+WNtNy5xl1K02IuQSWQTIqMCcPWD0ihYB+E/AyKNOFpKsNk?= =?us-ascii?Q?DfAuMzuIPLB0OvuHi7tkX8eYO7zJkm/An50sFuVBXYXZA6o0904ipv4ff0+D?= =?us-ascii?Q?uqcYMA1H6lHcTRNqLixT4fiORS08c6xuz592SBvaK+BTgGWWHKlB7EJgUnEF?= =?us-ascii?Q?xTJktRqpGZ+XqHwFi//S3o=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 094700CA91 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39860400002)(136003)(396003)(376002)(346002)(199004)(13464003)(189003)(99286004)(76176011)(33656002)(8676002)(7696005)(6436002)(71200400001)(71190400001)(54906003)(93886005)(81166006)(305945005)(478600001)(25786009)(81156014)(66066001)(14454004)(966005)(4326008)(72206003)(6306002)(7736002)(55016002)(105586002)(6246003)(74316002)(53936002)(476003)(106356001)(11346002)(486006)(6346003)(102836004)(9686003)(14444005)(229853002)(186003)(26005)(2906002)(86362001)(8936002)(68736007)(6916009)(3846002)(97736004)(53546011)(316002)(256004)(6506007)(446003)(6116002);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB5503;H:MN2PR04MB6061.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; authentication-results: spf=none (sender IP is ) smtp.mailfrom=Anup.Patel@wdc.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: KJpL83UKZ1i4P/ca7G0qfvAIdXl6V3XbfiF/hBGHBAMJUVrz/Q/oEYWw9LzIjEFyN6/6xN5d1ONkXGdchaHBn25uNDOH/H5htzYBUs+IYy1d/+ANuz/y3QOMqzCFMzcRXAnbpD+r1iG2I0gw5cXs245iNduyyXbewXL2Av4fKRIP+5sK7c9otD1zCq28E63l0QOWAtMmCTlMgv1k6ngDNKjx4lD8OypYFPpFzD66kN+aZlSeQp39BTx7E5cSDBuaKT46iztPyX5RsOOMqUaOjE8qyNzpK0ptfIMSox38qDn1YWotJcjtBCFQz0G9eLMK91BS99BnAC9Rv+yYebtJRl7tZK9VU2CcwKLl7APrE107/UUcjWAif2vf3otc7aTIbjctMeWVh3J4qxcPks/TUNXUrMltJWDQ000InMx4TnU= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: afb1f3e4-ac55-4a9f-f4bc-08d691793b7a X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2019 06:05:19.2576 (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-Transport-CrossTenantHeadersStamped: MN2PR04MB5503 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Christoph Hellwig [mailto:hch@infradead.org] > Sent: Wednesday, February 13, 2019 11:25 AM > To: Anup Patel > Cc: Christoph Hellwig ; Anup Patel > ; Palmer Dabbelt ; linux- > kernel@vger.kernel.org; Atish Patra ; Albert Ou > ; Paul Walmsley ; > linux-riscv@lists.infradead.org > Subject: Re: [PATCH v2 6/6] RISC-V: Implement keepinitrd kernel parameter >=20 > On Wed, Feb 13, 2019 at 03:43:06AM +0000, Anup Patel wrote: > > Sure, the keepinitrd=3D0 by default so it will always free-up initrd by= default. > > Please look at v3 patchset. > > > > Of course, we need separate patch to update documentation of > keepinitrd. >=20 > No, we need to not just blindly copy what arm did for historic reasons un= less > we have a very good reason of our own. >=20 > In addition to not having a real need for any of this in a new setup, it = also is > duplicated by the retain_initrd parameter which is implemented in generic > code - and for that the commit message at least has a rationale related t= o > kexec: >=20 > https://lkml.org/lkml/2006/12/7/15 Sure, I will re-work this patch to always free-up initrd. Regards, Anup