Hi Daniel,
Thank you for your response!
--
Condition before the patch:
if (err == GRUB_ERR_NONE && rmo_top < (512 * 1024 * 1024))
grub_ieee1275_ibm_cas ();
Condition after the patch:
if (!ibm_ca_support_reboot && err == GRUB_ERR_NONE && rmo_top < (512 *
1024 * 1024))
grub_iee
On Tue, Mar 11, 2025 at 02:59:35PM +0530, Avnish Chouhan wrote:
> Hi Daniel,
> Thank you for your response!
>
> --
> Condition before the patch:
>
> if (err == GRUB_ERR_NONE && rmo_top < (512 * 1024 * 1024))
> grub_ieee1275_ibm_cas ();
>
> Condition after the patch:
>
> if (!ibm_ca_su
Without this fix, grub failed to boot linux with "out of memory" after
trying to run a "search --fs-uuid..." on a system that has 7 ZFS pools
across about 80 drives.
Signed-off-by: Stuart Hayes
---
grub-core/fs/zfs/zfs.c | 43 +-
grub-core/fs/zfs/zfsinfo.c
This is supported by the latest shim release candidate.
The bit where the verifier saves the image handle and then the loaders
grab it via the sideband API is a bit hacky.
Julian Andres Klode (1):
efi: Provide wrappers for load_image, start_image, unload_image
Mate Kukri (1):
efi: Use shim's
On Thu, Mar 06, 2025 at 12:18:43AM -0600, Glenn Washburn wrote:
> GRUB has the capability to search all the disks for a cryptodisk of a
> given UUID. Use this instead of hardcoding which disk is the cryptodisk,
> which can change when devices are added or removed, or potentially when
> QEMU is upgr
- Use shim loader protocol to verify images in the shim_lock verifier.
- Add API to allow downstream consumers to re-use image handles produced
by the verifier. This is necessary to avoid having images measured
twice to the TPM.
- Register shim loader protocol as an image loader.
Signed-off-by
LGTM.
Reviewed-By: Vladimir Serbinenko
Le lun. 10 mars 2025, 19:25, Stuart Hayes a
écrit :
> Without this fix, grub failed to boot linux with "out of memory" after
> trying to run a "search --fs-uuid..." on a system that has 7 ZFS pools
> across about 80 drives.
>
> Signed-off-by: Stuart Hayes
On Mon, Mar 03, 2025 at 02:12:00AM -0600, Glenn Washburn wrote:
> Thomas Schmitt proposed variations on these fixes[1]. I've broken his
> patch into several patches with improvements.
>
> Glenn
>
> [1] https://lore.kernel.org/all/9956308756800479...@scdbackup.webframe.org/
>
> v2:
> * Add patch #2
From: Julian Andres Klode
These can be used to register a different implementation later,
for example, when shim provides a protocol with those functions.
Signed-off-by: Mate Kukri
---
grub-core/kern/efi/efi.c | 57 ++
grub-core/loader/efi/chainloader.c |