From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mCOv3-00048j-Np for mharc-grub-devel@gnu.org; Sat, 07 Aug 2021 12:11:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCOv2-000484-5J for grub-devel@gnu.org; Sat, 07 Aug 2021 12:11:28 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:46491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCOv0-0003R2-6A for grub-devel@gnu.org; Sat, 07 Aug 2021 12:11:27 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8AA015C003E; Sat, 7 Aug 2021 12:11:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 07 Aug 2021 12:11:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=Hl62G90fGLT77iOW8W9bxnTj+j3 NKa8QvLqOzTMKb70=; b=g8ZnHCdxnSCPiHue6UqVZcI9fHg3c2P7QUMlFdcP70y tE7l9/ZwBIEU10FsxDQS7Czi8XJgGQmBX4PkNUIjJf5DKxn+yuvzR7TZzV6K+NRr fcQG3ZIOrhE5r9ZBfIntYfIFkW3dvI3kK0D10ihXQSyp/EP3gE5iE/NElhf8MxE+ sMhH5v5UmiyPu8QyFTp4kP3Q/nYDSfEqCne6wr+Ottax3BbwEdWrOQkF0ZsEg1Fz XadBkwNclXAYGHHAK9vmFm5jvEy4mrfaybdpqR6kLbT+XklQnLCbQuVQEWZIfzev GdFasfjlp1gU1YVGC0aGkKiMqGctGjfmB6GgDceXDnA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Hl62G9 0fGLT77iOW8W9bxnTj+j3NKa8QvLqOzTMKb70=; b=OM8hcKXRKN6AdJ5PSy1zy8 Aem1CKEYO6fiQrh9keGcFSspSvqZhxDNEYSmpAR3UVN4PJ3wgsxOo5+EyaJhl5It nMHEPW4CI8EcdKfnlo9cvFQ4JA+Q/NGThdgQ7SBwNk0E8++J5IU70O5zKD3xh6A2 2L5uU128bXqNqo6YoWnZdCE91tWf0NGkO27WB/8GnlnuvozFfksg0R4Z9RrQdRRR ybaOX5WwFHGjaXnWLEhKktzLO0BfDLjLqFP7hFMl7YIggcE+9hN6Qd0g3IGVTFFE v/pWxeGtIprF3lwSjxPaD6JQzJbDVNK3eGLi0kHIjCN8J5mpcjS1HBpho5v0308w == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjeefgdeliecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtudenucfhrhhomheprfgrthhrihgt khcuufhtvghinhhhrghrughtuceophhssehpkhhsrdhimheqnecuggftrfgrthhtvghrnh eptdffjeeiudduleehvdfgteeifeelheejtedvteduiedttedvtdffffefhfdvgffgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhssehpkh hsrdhimh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 7 Aug 2021 12:11:20 -0400 (EDT) Received: from localhost (ncase [10.192.0.11]) by vm-mail.pks.im (OpenSMTPD) with ESMTPSA id d13be561 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 7 Aug 2021 16:11:10 +0000 (UTC) Date: Sat, 7 Aug 2021 18:11:09 +0200 From: Patrick Steinhardt To: Stefan Berger Cc: The development of GNU GRUB , Daniel Kiper , Stefan Berger , Daniel Axtens Subject: Re: [PATCH v3 2/4] ieee1275: claim more memory Message-ID: References: <20210730154540.3085221-1-stefanb@linux.vnet.ibm.com> <20210730154540.3085221-3-stefanb@linux.vnet.ibm.com> <20210804111911.2zfwccl5zaqngr4v@tomti.i.net-space.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vRaW7Wmss+v+jmkh" Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=66.111.4.26; envelope-from=ps@pks.im; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2021 16:11:28 -0000 --vRaW7Wmss+v+jmkh Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 04, 2021 at 08:40:01AM -0400, Stefan Berger wrote: >=20 > On 8/4/21 7:19 AM, Daniel Kiper wrote: > > CC-ing Patrick. > > > > On Fri, Jul 30, 2021 at 11:45:38AM -0400, Stefan Berger wrote: > >> From: Daniel Axtens > >> > >> On powerpc-ieee1275, we are running out of memory trying to verify > >> anything. This is because: > >> > >> - we have to load an entire file into memory to verify it. This is > >> extremely difficult to change with appended signatures. > >> - We only have 32MB of heap. > >> - Distro kernels are now often around 30MB. > >> > >> So we want to claim more memory from OpenFirmware for our heap. > > Stefan, Patrick, Daniel, may I ask one of you to work on the [1] > > proposal. I want to have this solution implemented. >=20 > Is the design in [1] correct just that the patches need forward-porting? >=20 > =A0 Stefan Honestly, I don't quite recall the state back when I was working on it. Forward-porting the patch set is trivial to do, there aren't really any conflicts. I may try to invest some time into it tomorrow to see whether it did work as advertised. Patrick --vRaW7Wmss+v+jmkh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEF9hrgiFbCdvenl/rVbJhu7ckPpQFAmEOsJwACgkQVbJhu7ck PpTRVQ//R4IfbC5NEVwpVpTCk5VgAj4V42mEDZYznxcLSAFYrk7SCCxVuwaxCwfR RnGRh+nmzFRqKkzN2rHeNvKR47dLQ3HzPL6YLKmPaJV5dtH2W270FZ4SqG/NXPUu ik4jDb3PJ7/XqndBVuBh2Ztc2Yx3+CTkaifYJB+cmyir44Q271HYTi/HL4+94Tx/ Jixpk9+/1787pGN80N5hvcq/vffO52p77jA22kTgOPKyLfu0GUASOLoyRlnMTOdr wFTYE05XTV6ni1P7Hz7DL5sOOAu2ppP0ipTA/wq5fZbwVv3vdwKXsgcBH+mS/eow vhd+epVIRdJKHXofUy9iGFXQhlnDh3oSN5Fo35oRdrdlWJkqXI3UFAif3s2MGjbE bCQIbSOWBqOSyiVRus4HfeAhilSG/FnT9WLSw4VhktTR+cAgBe2IUB4T7UxkKr7C g4sS8fFONJ31mQYFUd1j1Kr2JOby1eCsR26sMfmHDNlp868PRfUT8MKmT1/13TYL MPF0hJeIpINg+csDEw2ihVYDiy1cap6KmFL3WtBbcKqRwTtqJtpq7OWQEvN7sCrS g9/HSebdz7lUYrWzD51+I5eP0fzFIk8Otha46yBWLR1RDV4DSuk9o3YCMwYFb2dN wIAHkMmIPQCWyffIMuSIoUArsnrR8EdoEmxAWKdIvZaYWwsnoV8= =C1c4 -----END PGP SIGNATURE----- --vRaW7Wmss+v+jmkh--