Re: [PATCH v1 22/37] bootp: New net_bootp6 command

2024-10-08 Thread Vladimir 'phcoder' Serbinenko
Le mar. 8 oct. 2024, 10:23, Michael Chang via Grub-devel a écrit : > On Mon, Oct 07, 2024 at 12:20:55PM GMT, Leo Sandoval wrote: > > From: Michael Chang > > > > Implement new net_bootp6 command for IPv6 network auto configuration via > the > > DHCPv6 protocol (RFC3315). > > This would have marke

Re: [PATCH v1 22/37] bootp: New net_bootp6 command

2024-10-08 Thread Michael Chang via Grub-devel
On Mon, Oct 07, 2024 at 12:20:55PM GMT, Leo Sandoval wrote: > From: Michael Chang > > Implement new net_bootp6 command for IPv6 network auto configuration via the > DHCPv6 protocol (RFC3315). This would have marked the fourth attempt to upstream the patch by different people. https://lists.gnu.

Re: [PATCH v1 31/37] btrfs: grub2-btrfs-04-grub2-install

2024-10-08 Thread Michael Chang via Grub-devel
On Tue, Oct 08, 2024 at 10:14:59AM GMT, Vladimir 'phcoder' Serbinenko wrote: > Le mar. 8 oct. 2024, 09:53, Michael Chang via Grub-devel > a écrit : > > > On Tue, Oct 08, 2024 at 08:07:17AM GMT, Vladimir 'phcoder' Serbinenko > > wrote: > > > Again, what do you try to achieve? Why aren't absolute p

[PATCH] Introduce grub-mkconfig filesystem label support:

2024-10-08 Thread stormbyte
From: "David C. Manuelda" This feature will allow grub-mkconfig to be able to identify root filesystem via label kernel parameter (root=LABEL=). To enable this feature, UUIDs and PARTUUIDs needs to be disabled (with GRUB_DISABLE_LINUX_UUID and GRUB_DISABLE_LINUX_PARTUUID set to true) and the

[PATCH] Introduce grub-mkconfig filesystem label support

2024-10-08 Thread stormbyte
Fixed a typo in previous patch in which it was given fslabel instead of fs_label to grub-probe command. This time it was tested correctly before sending, I apologize as it is my first time using git send-email and I was working on several things in parallel.

[PATCH] Introduce grub-mkconfig filesystem label support:

2024-10-08 Thread stormbyte
From: "David C. Manuelda" This feature will allow grub-mkconfig to be able to identify root filesystem via label kernel parameter (root=LABEL=). To enable this feature, UUIDs and PARTUUIDs needs to be disabled (with GRUB_DISABLE_LINUX_UUID and GRUB_DISABLE_LINUX_PARTUUID set to true) and the

[PATCH] Introduce grub-mkconfig filesystem label support:

2024-10-08 Thread David C. Manuelda
From: "David C. Manuelda" This feature will allow grub-mkconfig to be able to identify root filesystem via label kernel parameter (root=LABEL=). To enable this feature, UUIDs and PARTUUIDs needs to be disabled (with GRUB_DISABLE_LINUX_UUID and GRUB_DISABLE_LINUX_PARTUUID set to true) and the

[Patch] grub-mkconfig feature for using labels to identify root filesystem

2024-10-08 Thread David C. Manuelda
I've implemented the feature so grub-mkconfig is able to use root=LABEL= as kernel parameter to identify the root filesystem and posted to https://savannah.gnu.org/bugs/index.php?66300 as bugreport. In order to ease the implementation process I am communicating it to the development mailin

[PATCH UPDATED] Introduce grub-mkconfig filesystem label support

2024-10-08 Thread David C. Manuelda
Sorry, previous patch was missing support for GRUB_DEVICE_LABEL and therefore it was not working correctly This is the correct version: From 9a7779989f803b0df8054f77d99dbb75ecd3520f Mon Sep 17 00:00:00 2001 From: "David C. Manuelda" Date: Tue, 8 Oct 2024 13:04:54 +0200 Subject: [PATCH] Introdu

Re: [PATCH v7 04/10] modules: load module sections at page-aligned addresses

2024-10-08 Thread Daniel Kiper
On Fri, Oct 04, 2024 at 03:41:26PM +0100, Mate Kukri wrote: > Currently we load module sections at whatever alignment gcc+ld happened > to dump into the ELF section header, which is often less then the page > size. Since NX protections are page based, this alignment must be > rounded up to page siz

Re: [PATCH v7 05/10] nx: add memory attribute get/set API

2024-10-08 Thread Daniel Kiper
On Fri, Oct 04, 2024 at 03:41:27PM +0100, Mate Kukri wrote: > For NX, we need to set the page access permission attributes for write > and execute permissions. > > This patch adds two new primitives, grub_set_mem_attrs() and > grub_clear_mem_attrs(), and associated constant definitions, to be used

[PATCH v2] lvm: allocate metadata buffer from raw contents

2024-10-08 Thread Michael Chang via Grub-devel
Previously, the buffer for LVM metadata parsing was set to twice the size of the metadata area, which caused excessive memory use. This patch changes the allocation to read the actual raw metadata blocks directly from the metadata area. Instead of using twice the entire metadata area size, we now

Re: [PATCH v4 0/6] i386: memory/MSR/CR code updates

2024-10-08 Thread Daniel Kiper
Hey, On Sun, Oct 06, 2024 at 05:14:41PM +0300, Sergii Dmytruk wrote: > Hi, > > These are generally useful x86-related changes which were originally posted as > part of DRTM patchset [0]. The changes can also be viewed on GitHub [1]. I will take everything up to patch #5. I am not sure why patch

Re: [PATCH] lvm: allocate metadata buffer from raw contents

2024-10-08 Thread Michael Chang via Grub-devel
On Mon, Oct 07, 2024 at 11:49:51AM GMT, ross.philip...@oracle.com wrote: > On 10/3/24 8:40 PM, Michael Chang via Grub-devel wrote: > > On Thu, Oct 03, 2024 at 10:30:15AM GMT, ross.philip...@oracle.com wrote: > > > On 10/3/24 12:23 AM, Michael Chang via Grub-devel wrote: > > > > Previously, the buff

Re: [PATCH v7 06/10] nx: set page permissions for loaded modules.

2024-10-08 Thread Daniel Kiper
On Fri, Oct 04, 2024 at 03:41:28PM +0100, Mate Kukri wrote: > For NX, we need to set write and executable permissions on the sections > of GRUB modules when we load them. > > All allocatable sections are marked readable. In addition, > - SHF_WRITE sections are marked as writable, > - and SHF_EXECIN

Re: [PATCH v1 31/37] btrfs: grub2-btrfs-04-grub2-install

2024-10-08 Thread Vladimir 'phcoder' Serbinenko
Le mar. 8 oct. 2024, 09:53, Michael Chang via Grub-devel a écrit : > On Tue, Oct 08, 2024 at 08:07:17AM GMT, Vladimir 'phcoder' Serbinenko > wrote: > > Again, what do you try to achieve? Why aren't absolute paths enough? > > The absolute path does not align with the default subvolume. As a > resu