Re: [PATCH] tsc: Change default tsc calibration method to EFI on EFI systems

2017-09-12 Thread Paul Menzel
Dear David, Am Mittwoch, den 06.09.2017, 13:20 -0700 schrieb David E. Box: > On efi systems, make efi based tsc calibration the default, followed by > the pmtimer before using the pit. This prevents Grub boot failure on > newer x86 systems that power gate the pit. Could you please be specific, w

Re: What GPL requirements are implied by publishing an ISO with GRUB binaries ?

2017-09-12 Thread Thomas Schmitt
Hi, Tom Davies wrote: > This might not be the best place to ask about legal issues for edge-case > scenarios. At least it would be the place to discuss what should be written in the docs. The problem is quite specific to grub-mkrescue or people who equip computers with GRUB and then pass them on

[PATCH] Fix grub-mkconfig detecting .sig files as system images

2017-09-12 Thread Jordan Glover
This patch solves https://savannah.gnu.org/bugs/index.php?52002 --- a/util/grub-mkconfig_lib.in +++ b/util/grub-mkconfig_lib.in @@ -188,6 +188,7 @@ *.dpkg-*) return 1 ;; # debian dpkg *.rpmsave|*.rpmnew) return 1 ;; README*|*/README*) return 1 ;; # documentation + *.sig)

Re: [PATCH] tsc: Change default tsc calibration method to EFI on EFI systems

2017-09-12 Thread David E. Box
Hi Paul, On Tue, 2017-09-12 at 09:10 +0200, Paul Menzel wrote: > Dear David, > > > Am Mittwoch, den 06.09.2017, 13:20 -0700 schrieb David E. Box: > > On efi systems, make efi based tsc calibration the default, > > followed by > > the pmtimer before using the pit. This prevents Grub boot failure

Re: [PATCH] tsc: Change default tsc calibration method to EFI on EFI systems

2017-09-12 Thread Vladimir 'phcoder' Serbinenko
On Wed, Sep 6, 2017, 22:21 David E. Box wrote: > On efi systems, make efi based tsc calibration the default, followed by > the pmtimer before using the pit. This prevents Grub boot failure on > newer x86 systems that power gate the pit. > Why does put code fail? I think it was changed to detect g

Re: [PATCH 1/4] i386/x86_64: make linux header definitions arch-specific

2017-09-12 Thread Daniel Kiper
Hi Leif, Sorry for late reply but I am traveling. I should be more responsive starting from next week. On Tue, Sep 05, 2017 at 09:41:11PM +0100, Leif Lindholm wrote: > Rename GRUB_LINUX_MAGIC_SIGNATURE -> GRUB_LINUX_I386_MAGIC_SIGNATURE > and linux_kernel_header -> linux_i386_kernel_header. I th

Re: [PATCH 2/4] arm64/efi: move EFI_PAGE definitions to efi/memory.h

2017-09-12 Thread Daniel Kiper
On Tue, Sep 05, 2017 at 09:41:12PM +0100, Leif Lindholm wrote: > The EFI page definitions and macros are generic and should not be confined > to arm64 headers - so move to efi/memory.h. I am OK with this. > Also add EFI_PAGE_SIZE macro. However, this should be added in 3rd patch. > Update loade

Re: [PATCH 3/4] efi: add central copy of grub_efi_find_mmap_size

2017-09-12 Thread Daniel Kiper
On Tue, Sep 05, 2017 at 09:41:13PM +0100, Leif Lindholm wrote: > There are several implementations of this function in the tree. > Add a central version in grub-core/efi/mm.c. > > Taken from grub-core/loader/i386/linux.c, changing some hard-coded constants > to use macros from efi/memory.h. I am O

Re: [PATCH 4/4] loader: drop local implementations of find_efi_mmap_size

2017-09-12 Thread Daniel Kiper
On Tue, Sep 05, 2017 at 09:41:14PM +0100, Leif Lindholm wrote: > Now we have a grub_efi_find_mmap_size, replace near-identical implementations > in i386/linux and mbi2 loaders with calls to that one. Please do it in separate patches. And I think that grub-core/commands/efi/lsefimmap.c:grub_cmd_lse