grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 2/4] ieee1275: claim more memory


From: Patrick Steinhardt
Subject: Re: [PATCH v3 2/4] ieee1275: claim more memory
Date: Sun, 8 Aug 2021 14:53:31 +0200

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:
> > 
> > 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 <dja@axtens.net>
> > >>
> > >> 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.
> > 
> > Is the design in [1] correct just that the patches need forward-porting?
> > 
> >    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

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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]