grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v7 00/10] ppc64: Restrict memory allocations for kernel and i


From: Stefan Berger
Subject: Re: [PATCH v7 00/10] ppc64: Restrict memory allocations for kernel and initrd
Date: Mon, 27 Nov 2023 10:09:01 -0500
User-agent: Mozilla Thunderbird



On 11/27/23 09:46, Stefan Berger wrote:


On 11/27/23 07:10, John Paul Adrian Glaubitz wrote:
Hello Stefan!

On Mon, 2023-11-27 at 06:58 -0500, Stefan Berger wrote:
This series of patches converts the PowerPC ieee1275 memory allocator
for kernel and initrd to use the (PowerPC) regions_claim memory allocator
that takes into account memory regions that are not allowed to be used,
such as the gap between 640MB and 768MB as well as memory regions beyond
an address in case an fadump is present. Otherwise those two could be
loaded into restricted memory regions and either cause a crash or
corruption of the fadump.

Is this regions_claims memory allocator available on all PowerPC targets
or only on newer POWER machines?

It's not available for PowerMACs but for PowerVM and KVM on Power systems as well as i386/ieee1275.


Actually, let me clarify. The regions_claims memory allocator is 'available' to all of them but only being used by PowerVM and KVM on Power. The 2nd paragraph states:

I adjusted the kernel and initrd load in loader/powerpc/ieee1275 to use
the new memory allocator only on PowerVM and PowerKVM since this code is
shared with other platforms, such as old PowerMACs and i386.



    Stefan


Thanks,
Adrian


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel



reply via email to

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