[PATCH 2/3] loader/ia64/linux: use central copy of grub_efi_find_mmap_size

2018-07-13 Thread Leif Lindholm
Delete local copy of function to determine required buffer size for the UEFI memory map, use helper in kern/efi/mm.c. Signed-off-by: Leif Lindholm --- grub-core/loader/ia64/efi/linux.c | 46 ++- 1 file changed, 2 insertions(+), 44 deletions(-) diff --git

[PATCH 3/3] loader/multiboot_mbi2: use central copy of grub_efi_find_mmap_size

2018-07-13 Thread Leif Lindholm
Delete local copy of function to determine required buffer size for the UEFI memory map, use helper in kern/efi/mm.c. Signed-off-by: Leif Lindholm --- grub-core/loader/multiboot_mbi2.c | 38 +- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git

[PATCH 0/3] use central copy of grub_efi_find_mmap_size

2018-07-13 Thread Leif Lindholm
There were multiple local implementations of functions to determine the size of buffer required to hold a UEFI memory map. Drop these and switch to grub_efi_find_mmap_size() in kern/efi/mm.c. I'm not going to lie. I no longer have an ia64 cross-toolchain, so that one is not even compile tested.

[PATCH 1/3] loader/i386/linux: use central copy of grub_efi_find_mmap_size

2018-07-13 Thread Leif Lindholm
Delete local copy of function to determine required buffer size for the UEFI memory map, use helper in kern/efi/mm.c. Signed-off-by: Leif Lindholm --- grub-core/loader/i386/linux.c | 51 +-- 1 file changed, 1 insertion(+), 50 deletions(-) diff --git

Re: [RFC PATCH] i386: don't include lib/i386/reset.c in EFI builds

2018-07-13 Thread Leif Lindholm
On Fri, Jul 13, 2018 at 03:59:38PM +0200, Daniel Kiper wrote: > On Fri, Jul 13, 2018 at 01:53:52PM +0100, Leif Lindholm wrote: > > On Fri, Jul 13, 2018 at 01:27:08PM +0200, Daniel Kiper wrote: > > > > > > (i386_)ieee1275 implements its own grub_reboot(), so that should be > > > > > > fine. (This

Re: [RFC PATCH] i386: don't include lib/i386/reset.c in EFI builds

2018-07-13 Thread Daniel Kiper
On Fri, Jul 13, 2018 at 01:53:52PM +0100, Leif Lindholm wrote: > On Fri, Jul 13, 2018 at 01:27:08PM +0200, Daniel Kiper wrote: > > > > > (i386_)ieee1275 implements its own grub_reboot(), so that should be > > > > > fine. (This does mean that i386_ieee1275 may currently be unable to > > > > > load

Re: [RFC PATCH] i386: don't include lib/i386/reset.c in EFI builds

2018-07-13 Thread Leif Lindholm
On Fri, Jul 13, 2018 at 01:27:08PM +0200, Daniel Kiper wrote: > > > > (i386_)ieee1275 implements its own grub_reboot(), so that should be > > > > fine. (This does mean that i386_ieee1275 may currently be unable to > > > > load the reboot module on master.) > > > > > > Hmmm... So, it looks that

RE: [PATCH v3] i386/linux: add support for ext_lfb_base

2018-07-13 Thread Nath, Arindam
> -Original Message- > From: Daniel Kiper > Sent: Friday, July 13, 2018 5:20 PM > To: Nath, Arindam > Cc: grub-devel@gnu.org; Daniel Kiper ; Arindam Nath > > Subject: Re: [PATCH v3] i386/linux: add support for ext_lfb_base > > On Thu, Jul 12, 2018 at 07:02:49PM +0530, Arindam Nath

Re: [PATCH v3] i386/linux: add support for ext_lfb_base

2018-07-13 Thread Daniel Kiper
On Thu, Jul 12, 2018 at 07:02:49PM +0530, Arindam Nath wrote: > From: Arindam Nath > > Signed-off-by: Arindam Nath > --- > Cc: Daniel Kiper > --- > v1: > > The EFI Graphics Output Protocol can return a 64-bit > linear frame buffer address in some firmware/BIOS > implementations. We currently

Re: [RFC PATCH] i386: don't include lib/i386/reset.c in EFI builds

2018-07-13 Thread Daniel Kiper
On Thu, Jul 12, 2018 at 12:52:49PM +0100, Leif Lindholm wrote: > On Thu, Jul 12, 2018 at 01:44:36PM +0200, Daniel Kiper wrote: > > On Wed, Jul 11, 2018 at 12:53:01PM +0100, Leif Lindholm wrote: > > > On Wed, Jul 11, 2018 at 01:03:12PM +0200, Daniel Kiper wrote: > > > > On Mon, Jul 09, 2018 at