Re: [PATCH v2] powerpc: increase MIN RMA size for CAS negotiation

2025-03-11 Thread Avnish Chouhan
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

Re: [PATCH v2] powerpc: increase MIN RMA size for CAS negotiation

2025-03-11 Thread Daniel Kiper
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

[PATCH] fs/zfs: Fix a number of memory leaks in ZFS code

2025-03-11 Thread Stuart Hayes
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

[PATCH v2 0/2] Support for shim loader protocol

2025-03-11 Thread Mate Kukri
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

Re: [PATCH] tests/util/grub-shell-luks-tester: Find cryptodisk by UUID

2025-03-11 Thread Daniel Kiper
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

[PATCH v2 2/2] efi: Use shim's loader protocol for EFI image verification and loading

2025-03-11 Thread Mate Kukri
- 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

Re: [PATCH] fs/zfs: Fix a number of memory leaks in ZFS code

2025-03-11 Thread Vladimir 'phcoder' Serbinenko
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

Re: [PATCH v2 0/6] Various test fixes proposed by Thomas Schmitt

2025-03-11 Thread Daniel Kiper
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

[PATCH v2 1/2] efi: Provide wrappers for load_image, start_image, unload_image

2025-03-11 Thread Mate Kukri
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 |