Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1539081rdb; Thu, 7 Dec 2023 01:53:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6SWP2HtwHvxdWOama68954JiN0gDxwCj92dnViXkObYxj+ak0ggiGSwjaECIUfRfeRtrq X-Received: by 2002:a05:6358:441e:b0:170:17eb:14b1 with SMTP id z30-20020a056358441e00b0017017eb14b1mr2961007rwc.33.1701942830544; Thu, 07 Dec 2023 01:53:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701942830; cv=none; d=google.com; s=arc-20160816; b=CUktCrNKVde1gDf1+evXZDmPeI6jwi/KmCzn1duX/0Wt5gGBgbZt5/uhdcCj6bMlvG WlmomfevBi3v/CcD40e5bnyjMJF87U5e9rAvRmxQoOob0yUEnprsbdGwxxDAJ6f8vGS/ oKqgSj0dhPrLga5N/Ua68SgiFC8C6CRT9N9sfCxv+1AVDpZR+q3u3W2Iq356D2F7N5v+ pH14rDj7aQ/rsn55BEVOyLZcPzqt+Yyks5MaeFqbMB7amFanoQ572KrFYm7Zkvs58UOz kWlAHDCtYdMbF8FyIswQ+1LRXKwzxrZhILTb4jGGo3efNndeDkvwJ3GydXdU/VOC+6q+ 5+fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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; bh=JuGa7uef6V322ojQeAcofrb8pxdJPf31P+TkQE7/ADM=; fh=HVLBKpAw/ceXrTlM6PNWnqv+bL80Spj/RlxWuGjt2kc=; b=CkzPTorzrHT9PRY1Re8hWSbCx+JBo37s0r+/W8Ba0nSCVvWszrwCky55mJJ7vRrQco y/ntYr8Hr55MVWU9o+tIb9aUZyK8lD1E3YO0VXHCLrAXRAkrCG3NNROd+cxoxoMn/nwz gTIc3/4XWFfCUih/rKX8I3G6PzaXb4yjT6Jg+IFeP1jrulrq29jPegMvKFya9LgTewH9 JYFF8axaxdioBk27jv8pFZMSmH+kfWLr39cXfiCVOW20bTd1KKsh8CGKW+9EkppBL+0j cMa9yXKX7KcbzT5vRaFTxqvWfNQOYn1iFFPK+mSvFIO+c1101vNNA1y89xIjrxhQuKF3 GLVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b="v/7Hw3Ai"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id k5-20020a056a00134500b006cddefd2031si962344pfu.37.2023.12.07.01.53.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:53:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b="v/7Hw3Ai"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 2FF408021581; Thu, 7 Dec 2023 01:53:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378767AbjLGJxb (ORCPT + 99 others); Thu, 7 Dec 2023 04:53:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378770AbjLGJxa (ORCPT ); Thu, 7 Dec 2023 04:53:30 -0500 Received: from smtp-fw-52005.amazon.com (smtp-fw-52005.amazon.com [52.119.213.156]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29EB2D4A for ; Thu, 7 Dec 2023 01:53:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1701942816; x=1733478816; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=JuGa7uef6V322ojQeAcofrb8pxdJPf31P+TkQE7/ADM=; b=v/7Hw3AiAdIJgxAY7WR7CQ0Kz3ixJFkvPo2ESnVE8ZA4iVeFgiMjiBsf D73/4f5AS1tKO8PlKcQFc93igkTd37YakDXHLApTjD1KKVexPNL9zbhAv +eFRuHy1cETkYmCrsRnvwOAp+WxTV8Rv/tm7ntufX1Vbz67xt06eR9yDh U=; X-IronPort-AV: E=Sophos;i="6.04,256,1695686400"; d="scan'208";a="620331873" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-iad-1a-m6i4x-bbc6e425.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-52005.iad7.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 09:53:34 +0000 Received: from smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev (iad7-ws-svc-p70-lb3-vlan3.iad.amazon.com [10.32.235.38]) by email-inbound-relay-iad-1a-m6i4x-bbc6e425.us-east-1.amazon.com (Postfix) with ESMTPS id BAA5C8095B; Thu, 7 Dec 2023 09:53:33 +0000 (UTC) Received: from EX19MTAEUA001.ant.amazon.com [10.0.10.100:38219] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.22.106:2525] with esmtp (Farcaster) id f385c537-0438-4f00-8e3e-26d90182dda5; Thu, 7 Dec 2023 09:53:31 +0000 (UTC) X-Farcaster-Flow-ID: f385c537-0438-4f00-8e3e-26d90182dda5 Received: from EX19D012EUC003.ant.amazon.com (10.252.51.208) by EX19MTAEUA001.ant.amazon.com (10.252.50.192) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 7 Dec 2023 09:53:31 +0000 Received: from EX19D014EUC004.ant.amazon.com (10.252.51.182) by EX19D012EUC003.ant.amazon.com (10.252.51.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 7 Dec 2023 09:53:31 +0000 Received: from EX19D014EUC004.ant.amazon.com ([fe80::76dd:4020:4ff2:1e41]) by EX19D014EUC004.ant.amazon.com ([fe80::76dd:4020:4ff2:1e41%3]) with mapi id 15.02.1118.040; Thu, 7 Dec 2023 09:53:31 +0000 From: "Gowans, James" To: "Graf (AWS), Alexander" , "linux-kernel@vger.kernel.org" CC: "gregkh@linuxfoundation.org" , =?utf-8?B?U2Now7ZuaGVyciwgSmFuIEgu?= , "akpm@linux-foundation.org" Subject: Re: [PATCH v2] initramfs: Expose retained initrd as sysfs file Thread-Topic: [PATCH v2] initramfs: Expose retained initrd as sysfs file Thread-Index: AQHaKIvZ7N5F6qeIVke2cRQDMeyyCbCdlV8A Date: Thu, 7 Dec 2023 09:53:31 +0000 Message-ID: <2dfa868ddd416f20faf5144746bf14c7a8d75cf6.camel@amazon.com> References: <20231206213323.78233-1-graf@amazon.com> In-Reply-To: <20231206213323.78233-1-graf@amazon.com> Accept-Language: en-ZA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.146.13.108] Content-Type: text/plain; charset="utf-8" Content-ID: <16B14665ABD9444E8B0A8F838A4282C8@amazon.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 07 Dec 2023 01:53:48 -0800 (PST) T24gV2VkLCAyMDIzLTEyLTA2IGF0IDIxOjMzICswMDAwLCBBbGV4YW5kZXIgR3JhZiB3cm90ZToN Cj4gLS0tIGEvaW5pdC9pbml0cmFtZnMuYw0KPiArKysgYi9pbml0L2luaXRyYW1mcy5jDQo+IEBA IC01NzQsNiArNTc0LDE2IEBAIGV4dGVybiB1bnNpZ25lZCBsb25nIF9faW5pdHJhbWZzX3NpemU7 DQo+IMKgI2luY2x1ZGUgPGxpbnV4L2luaXRyZC5oPg0KPiDCoCNpbmNsdWRlIDxsaW51eC9rZXhl Yy5oPg0KPiDCoA0KPiArc3RhdGljIHNzaXplX3QgcmF3X3JlYWQoc3RydWN0IGZpbGUgKmZpbGUs IHN0cnVjdCBrb2JqZWN0ICprb2JqLA0KPiArCQkJc3RydWN0IGJpbl9hdHRyaWJ1dGUgKmF0dHIs IGNoYXIgKmJ1ZiwNCj4gKwkJCWxvZmZfdCBwb3MsIHNpemVfdCBjb3VudCkNCj4gK3sNCj4gKwlt ZW1jcHkoYnVmLCBhdHRyLT5wcml2YXRlICsgcG9zLCBjb3VudCk7DQo+ICsJcmV0dXJuIGNvdW50 Ow0KPiArfQ0KPiArDQo+ICtzdGF0aWMgQklOX0FUVFIoaW5pdHJkLCAwNDQwLCByYXdfcmVhZCwg TlVMTCwgM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