From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mCiJB-0004qq-5C for mharc-grub-devel@gnu.org; Sun, 08 Aug 2021 08:53:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCiJA-0004qh-4V for grub-devel@gnu.org; Sun, 08 Aug 2021 08:53:40 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:52137) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCiJ8-0001ie-9v for grub-devel@gnu.org; Sun, 08 Aug 2021 08:53:39 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id DE4705C00D8; Sun, 8 Aug 2021 08:53:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 08 Aug 2021 08:53:36 -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=++H8ms7gSx+BgnXmPscPnE6mtr/ izB1bGSyoQpiBpjg=; b=ZELEg1WR3UP5nuA1mCcW32yWR+FI80aMVev8NQHtDup bUxGvba9Wz/SmkoMAvpwtVV+w+pdbQKOdJGqZ0ud+s79dwnkhW9t5wuxkL7VXc6t Au9x2y5XYHrHgFhS5iPGUEDCftkNwCkxmLnw6yJt64pZQfaN7cOZH1aD3bGm26g4 6HfQqxcedw7XpdYOseuBV9cdAJEakAsLQVY+GE0ZBZoODE1wVa6L2uRTdjk8SJHI biTa97JC/NFf0su3O2QB9nrDTaMM/CPUodfOhIfR8nAcHLLyCaD/hD+QrVM+qWTv 8RjM3sSQwNB4Zodg1S1WENibo+8oRc6JjxGhCMWy8PA== 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=++H8ms 7gSx+BgnXmPscPnE6mtr/izB1bGSyoQpiBpjg=; b=p6sEFk/pVG8LItkHxZYo4G theo1X6M7mDl8S1Y93xLahLxZKR43QP/9eSf3aQWCI0+ziE+5AZaob2gAdFDcFMu XnVpISV61VnY/EOt/Uybe4E6XTK/82lq/2UYlP56sGfnsNYmrcz6IroBYUmWULOO hiZWq9NqwDKB/zaN2KzIJAcmMFBegCXT0gHtLkJtVVC352nBMHlRp2mRbtVV7Ttu b1JDGRUyJ7Q6bVO31jC2rrgpNkR6t2f8Seness30ERzACPRsEG5R++DdAVllm0Bg ABqjb+7QBQwhL1xhMNb+qKc2AQkbt9/ylyPdw8DtyGG9tTM9r5gUpNGvoGHYKLhQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjeehgdehjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtudenucfhrhhomheprfgrthhrihgt khcuufhtvghinhhhrghrughtuceophhssehpkhhsrdhimheqnecuggftrfgrthhtvghrnh eptdffjeeiudduleehvdfgteeifeelheejtedvteduiedttedvtdffffefhfdvgffgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhssehpkh hsrdhimh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 8 Aug 2021 08:53:34 -0400 (EDT) Received: from localhost (ncase [10.192.0.11]) by vm-mail.pks.im (OpenSMTPD) with ESMTPSA id bf61f657 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 8 Aug 2021 12:53:32 +0000 (UTC) Date: Sun, 8 Aug 2021 14:53:31 +0200 From: Patrick Steinhardt To: The development of GNU GRUB Cc: Stefan Berger , 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="8z/Bhjmmqoy2q3jz" Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=66.111.4.29; envelope-from=ps@pks.im; helo=out5-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_H2=-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: Sun, 08 Aug 2021 12:53:40 -0000 --8z/Bhjmmqoy2q3jz Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 07, 2021 at 06:11:09PM +0200, Patrick Steinhardt wrote: > 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 >=20 > 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. >=20 > Patrick So I've checked with my LUKS2/Argon2 patch set, and it does work as expected with a memory hardness parameter of 1GB. I'll send out a revised patch series of those patches for review. Patrick --8z/Bhjmmqoy2q3jz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEF9hrgiFbCdvenl/rVbJhu7ckPpQFAmEP08oACgkQVbJhu7ck PpQF0A//WDCzcGeYvJc34syKsWv4QlXIngh9dGMZXiTHIV05TRQ7cIVDq9EsWHEC /dZ+tgEEFG+mMC3XRJuccP+1W2XHaH47EEAekXqRSTAVHgwZ18rpcEzZ486HQ8G2 NxyVnmYukQoJ8HonE6dLUVo6pWsjPdMIWlplUsS2L5WS0fjFBk/hNPi6FnG9DbRL ypC5pPkZm4A41oN8riI+UYKd+5YuLwp8xw6rDUC/mY4jBB/DfcqTftajAgvpfb/E 0AhZ5Y+lCd1Vf83pWeI7bHDCkmqBzs+zJOzXl7ikj+Ts2C1cZ65Zvkql8xVaWeiz ZLZufa5nK7a59n/+qdMl7vj+ceImrc+ewHUxo6//+rF0Kubm7/W9SdRm0yYy+BHT kaAZs7hIeHH1iEblzpMkCcHfP99OJ4MiL87GjV9pRQmrK2kwvlt5/b7fH9xb02px fEIxHzuQQx4yfGsDoh0f2AmF9QLKycwJu2x+go3TvfVys/hE+LD+RP+lfRp9Bv0V 2l+Od7WhBREVbUQPrmDatSrdCz3q/Hvd0MTCXThWatqkcdN2g3n0zFi1GsP/DIZD DQZ9WKrCUTp6m+i3VJsxPbXfem2XfYtmtJ69GnubbmJnRz4vm7WIJYD0GxAK5ThH OUdI3uBrQyI5C+7HkK2JI77VIBpxe/zdUsxajQyABVPOrdvV16w= =WfYT -----END PGP SIGNATURE----- --8z/Bhjmmqoy2q3jz--