[GIT PULL] EFI urgent fix
Folks, please pull the single below fix from Omar which fixes a kexec boot regression. I've based the pull on tip/efi/urgent since the EFI urgent queue hasn't reached Linus' tree yet. The following changes since commit 55d728a40d368ba80443be85c02e641fc9082a3f: efi/fb: Avoid reconfiguration of BAR that covers the framebuffer (2017-04-05 12:25:53 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-urgent for you to fetch changes up to 09ca0b10e8100a48aa94eb8649f4c6c904e5d196: x86/efi: Don't try to reserve runtime regions (2017-04-12 16:17:20 +0100) - Fix a crash on kexec boot introduced by the recent efi_mem_reserve() code in the ESRT driver, which double-reserved EFI runtime regions - Omar Sandoval Omar Sandoval (1): x86/efi: Don't try to reserve runtime regions arch/x86/platform/efi/quirks.c | 4 1 file changed, 4 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
On Wed, 4 Nov 2015, Matt Fleming wrote: > for you to fetch changes up to 5965d1bbeba70fe3626e4537f4729283cb0e75f7: > > x86/setup: Fix recent boot crash on 32-bit SMP machines (2015-11-04 > 09:26:24 +) I just picked that up manually :) -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Folks, the LKP robot reported an issue with Paolo's recent bug fix that syncs the identity mapping in 'initial_page_table'. Turns out that KERNEL_PGD_PTRS is not the correct constant to use when copying to the lower region because that's every PGD from PAGE_OFFSET to the end of the addressable memory. Crucially, KERNEL_PGD_PTRS > KERNEL_PGD_BOUNDARY and so the patch ends up trashing some of the kernel mappings in 'initial_page'table, leading to boot crashes on 32-bit SMP when bringing APs online. The following changes since commit 9ee870feaa9e0c6abef95a3b1fc518d88adfa2d3: Merge branch 'x86/cpufeature' into x86/urgent, to pick up pending Intel MID change (2015-11-03 12:00:40 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to 5965d1bbeba70fe3626e4537f4729283cb0e75f7: x86/setup: Fix recent boot crash on 32-bit SMP machines (2015-11-04 09:26:24 +) * Avoid trashing the kernel mappings in 'initial_page_table' when copying the identity mapping from 'swapper_pg_dir'. This bug was introduced by a bug fix in v4.3 which erroneously copies too many entries from 'swapper_pg_dir'. Matt Fleming (1): x86/setup: Fix recent boot crash on 32-bit SMP machines arch/x86/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
* Matt Fleming wrote: > From: Matt Fleming > > Folks, the below fix from Paolo addresses an issue causing 32-bit > non-PAE kernels to triple fault on EFI boot. The issue is that the > physical address of the GDT that gets used in efi_call_phys_prolog() > won't be covered by the identitty mapping in initial_page_table. > > The following changes since commit 8a53554e12e98d1759205afd7b8e9e2ea0936f48: > > x86/efi: Fix multiple GOP device support (2015-10-14 16:02:43 +0200) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git > tags/efi-urgent > > for you to fetch changes up to f5f3497cad8c8416a74b9aaceb127908755d020a: > > x86/setup: Extend low identity map to cover whole kernel range (2015-10-16 > 10:52:29 +0100) > > > * Ensure that the identity mapping in initial_page_table is updated >to cover the entire kernel range. This fixes a triple fault on >non-PAE kernels when booting on 32-bit EFI due to accessing an >unmapped GDT in efi_call_phys_prolog() - Paolo Bonzini > > > Paolo Bonzini (1): > x86/setup: Extend low identity map to cover whole kernel range > > arch/x86/kernel/setup.c | 8 > 1 file changed, 8 insertions(+) Pulled, thanks Matt! Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
From: Matt Fleming Folks, the below fix from Paolo addresses an issue causing 32-bit non-PAE kernels to triple fault on EFI boot. The issue is that the physical address of the GDT that gets used in efi_call_phys_prolog() won't be covered by the identitty mapping in initial_page_table. The following changes since commit 8a53554e12e98d1759205afd7b8e9e2ea0936f48: x86/efi: Fix multiple GOP device support (2015-10-14 16:02:43 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to f5f3497cad8c8416a74b9aaceb127908755d020a: x86/setup: Extend low identity map to cover whole kernel range (2015-10-16 10:52:29 +0100) * Ensure that the identity mapping in initial_page_table is updated to cover the entire kernel range. This fixes a triple fault on non-PAE kernels when booting on 32-bit EFI due to accessing an unmapped GDT in efi_call_phys_prolog() - Paolo Bonzini Paolo Bonzini (1): x86/setup: Extend low identity map to cover whole kernel range arch/x86/kernel/setup.c | 8 1 file changed, 8 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
From: Matt Fleming Please pull the following fix from Zoltán which addresses a bug that resulted in the the secondary GOP display being garbled when booting using the EFI boot stub. The following changes since commit 825fcfce81921c9cc4ef801d844793815721e458: MAINTAINERS: Change Matt Fleming's email address (2015-10-11 09:54:29 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to dc1ea95fd23c36dd6be284334a0c8327d11d8c52: x86/efi: Fix multiple GOP device support (2015-10-11 11:40:54 +0100) * Fix booting using the EFI boot stub on platforms with multiple Graphics Output Protocol devices because currently the secondary display will be garbled on such systems - Zoltán Kővágó Kővágó, Zoltán (1): x86/efi: Fix multiple GOP device support arch/x86/boot/compressed/eboot.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
* Matt Fleming wrote: > Folks, > > Please pull the following fix from Tony that addresses a bug in the EFI > CPER driver preventing it from working with memory error records as > described in the UEFI 2.2 spec. > > The following changes since commit d67e199611b986b345ea3087ee2e4a15da1c98b3: > > efi: Fix error handling in add_sysfs_runtime_map_entry() (2015-05-05 > 16:20:13 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git > tags/efi-urgent > > for you to fetch changes up to 4c62360d7562a20c996836d163259c87d9378120: > > efi: Handle memory error structures produced based on old versions of > standard (2015-07-15 13:30:38 +0100) > > > * Fix a bug in the Common Platform Error Record (CPER) driver that >caused old UEFI spec (< 2.3) versions of the memory error record >structure to be declared invalid - Tony Luck > > > Tony Luck (1): > efi: Handle memory error structures produced based on old versions of > standard > > drivers/firmware/efi/cper.c | 15 --- > include/linux/cper.h| 22 +- > 2 files changed, 33 insertions(+), 4 deletions(-) Pulled, thanks Matt! Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Folks, Please pull the following fix from Tony that addresses a bug in the EFI CPER driver preventing it from working with memory error records as described in the UEFI 2.2 spec. The following changes since commit d67e199611b986b345ea3087ee2e4a15da1c98b3: efi: Fix error handling in add_sysfs_runtime_map_entry() (2015-05-05 16:20:13 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to 4c62360d7562a20c996836d163259c87d9378120: efi: Handle memory error structures produced based on old versions of standard (2015-07-15 13:30:38 +0100) * Fix a bug in the Common Platform Error Record (CPER) driver that caused old UEFI spec (< 2.3) versions of the memory error record structure to be declared invalid - Tony Luck Tony Luck (1): efi: Handle memory error structures produced based on old versions of standard drivers/firmware/efi/cper.c | 15 --- include/linux/cper.h| 22 +- 2 files changed, 33 insertions(+), 4 deletions(-) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
On Thu, 11 Jun, at 04:43:58PM, Ingo Molnar wrote: > > So I pulled this into tip:x86/efi, not into tip:x86/urgent, because the > commit > that broke the ia64 build is not upstream yet. Thanks Ingo, that sounds good to me. -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
* Matt Fleming wrote: > Folks, please pull the following build fix from Peter Jones. Guenter > reported that the ESRT driver doesn't build properly on ia64. The > problem was discovered in linux-next. > > The following changes since commit c208358c2cc832eeb5b341a465eee30be19cd5a0: > > efi: Add 'systab' information to Documentation/ABI (2015-05-27 15:40:20 > +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-next > > for you to fetch changes up to 3846c15820a1841225d0245afda4875af23dfbbe: > > efi: Work around ia64 build problem with ESRT driver (2015-06-08 10:51:31 > +0100) > > > * Fix ESRT build breakage on ia64 reported by Guenter Roeck - Peter Jones > > > Peter Jones (1): > efi: Work around ia64 build problem with ESRT driver > > drivers/firmware/efi/Kconfig | 5 + > drivers/firmware/efi/Makefile | 3 ++- > include/linux/efi.h | 4 > 3 files changed, 11 insertions(+), 1 deletion(-) So I pulled this into tip:x86/efi, not into tip:x86/urgent, because the commit that broke the ia64 build is not upstream yet. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Folks, please pull the following build fix from Peter Jones. Guenter reported that the ESRT driver doesn't build properly on ia64. The problem was discovered in linux-next. The following changes since commit c208358c2cc832eeb5b341a465eee30be19cd5a0: efi: Add 'systab' information to Documentation/ABI (2015-05-27 15:40:20 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-next for you to fetch changes up to 3846c15820a1841225d0245afda4875af23dfbbe: efi: Work around ia64 build problem with ESRT driver (2015-06-08 10:51:31 +0100) * Fix ESRT build breakage on ia64 reported by Guenter Roeck - Peter Jones Peter Jones (1): efi: Work around ia64 build problem with ESRT driver drivers/firmware/efi/Kconfig | 5 + drivers/firmware/efi/Makefile | 3 ++- include/linux/efi.h | 4 3 files changed, 11 insertions(+), 1 deletion(-) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Folks, Please pull the following fix from Jean which addresses an integer overflow issue when calculating the number of entries in an SMBIOS 3.0 DMI table. The following changes since commit 6d9ff473317245e3e5cd9922b4520411c2296388: firmware: dmi_scan: Fix dmi_len type (2015-02-24 18:54:17 +) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to bfbaafae8519d82d10da6abe75f5766dd5b20475: firmware: dmi_scan: Prevent dmi_num integer overflow (2015-03-27 10:53:46 +) Jean Delvare (1): firmware: dmi_scan: Prevent dmi_num integer overflow drivers/firmware/dmi_scan.c | 22 +++--- 1 file changed, 7 insertions(+), 15 deletions(-) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
* Matt Fleming wrote: > Hi guys, > > Please consider pulling the following urgent fix from Dave. It fixes an > earlyprintk=efi regression introduced in v3.16. Due to changes in the > early ACPI code we run out of early_ioremap slots when earlyprintk=efi > is specified on the command line, resulting in a hang during kernel > boot. > > This patch is clearly a core x86 change, but since it is a fix for an > EFI code issue I picked it up in my urgent queue. Let me know if you'd > like to route this some other way. > > The following changes since commit 0ceac9e094b065fe3fec19669740f338d3480498: > > efi/arm64: Fix fdt-related memory reservation (2014-09-09 07:51:09 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git > tags/efi-urgent > > for you to fetch changes up to 3eddc69ffeba092d288c386646bfa5ec0fce25fd: > > x86 early_ioremap: Increase FIX_BTMAPS_SLOTS to 8 (2014-09-14 15:24:31 > +0100) > > > * Increase the number of early_ioremap slots to fix a regression with >earlyprintk=efi after recent changes to the ACPI code - Dave Young > > > Dave Young (1): > x86 early_ioremap: Increase FIX_BTMAPS_SLOTS to 8 > > arch/x86/include/asm/fixmap.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Pulled, thanks a lot Matt! Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Hi guys, Please consider pulling the following urgent fix from Dave. It fixes an earlyprintk=efi regression introduced in v3.16. Due to changes in the early ACPI code we run out of early_ioremap slots when earlyprintk=efi is specified on the command line, resulting in a hang during kernel boot. This patch is clearly a core x86 change, but since it is a fix for an EFI code issue I picked it up in my urgent queue. Let me know if you'd like to route this some other way. The following changes since commit 0ceac9e094b065fe3fec19669740f338d3480498: efi/arm64: Fix fdt-related memory reservation (2014-09-09 07:51:09 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to 3eddc69ffeba092d288c386646bfa5ec0fce25fd: x86 early_ioremap: Increase FIX_BTMAPS_SLOTS to 8 (2014-09-14 15:24:31 +0100) * Increase the number of early_ioremap slots to fix a regression with earlyprintk=efi after recent changes to the ACPI code - Dave Young Dave Young (1): x86 early_ioremap: Increase FIX_BTMAPS_SLOTS to 8 arch/x86/include/asm/fixmap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Folks, please pull the following fix. It's something that Peter and I talked about a while ago, and it seems that people are actually hitting issues without this patch and have been since v3.13. The following changes since commit c7fb93ec51d462ec3540a729ba446663c26a0505: x86/efi: Include a .bss section within the PE/COFF headers (2014-07-10 14:21:39 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to 7b2a583afb4ab894f78bc0f8bd136e96b6499a7e: x86/efi: Enforce CONFIG_RELOCATABLE for EFI boot stub (2014-08-05 22:01:04 +0100) * Enforce CONFIG_RELOCATABLE for the x86 EFI boot stub, otherwise it's possible to overwrite random pieces of unallocated memory during kernel decompression, leading to machine resets. Matt Fleming (1): x86/efi: Enforce CONFIG_RELOCATABLE for EFI boot stub arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Guys, please pull the following fix from Ard that stops the arm64 EFI stub being rebuilt on every arm64 kernel build by removing the dependency on the generated header files. The following changes since commit 783ee43118dc773bc8b0342c5b230e017d5a04d0: efi-pstore: Fix an overflow on 32-bit builds (2014-06-27 07:30:32 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to a55c072dfe520f8fa03cf11b07b9268a8a17820a: efi/arm64: efistub: remove local copy of linux_banner (2014-07-07 07:26:02 +0100) * Remove a duplicate copy of linux_banner from the arm64 EFI stub which, apart from reducing code duplication also stops the arm64 stub being rebuilt every time make is invoked - Ard Biesheuvel Ard Biesheuvel (1): efi/arm64: efistub: remove local copy of linux_banner arch/arm64/kernel/efi-stub.c | 2 -- drivers/firmware/efi/fdt.c | 10 -- 2 files changed, 12 deletions(-) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
On Fri, 20 Jun, at 10:00:08AM, Matt Fleming wrote: > Guys, > > Please pull the following compiler warning fix. Sorry, I've been pretty > slow in getting this pull request sent. Multiple people have reported > hitting it and I've now received 4 patches for the same warning, > > http://article.gmane.org/gmane.linux.kernel.efi/4024 > http://article.gmane.org/gmane.linux.kernel.efi/4017 > http://article.gmane.org/gmane.linux.kernel.efi/3957 > http://article.gmane.org/gmane.linux.kernel.efi/3930 > > The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f: > > Linux 3.16-rc1 (2014-06-15 17:45:28 -1000) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git > tags/efi-urgent > > for you to fetch changes up to 6fb8cc82c096fd5ccf277678639193cae07125a0: > > efi: Fix compiler warnings (unused, const, type) (2014-06-19 15:03:05 +0100) > > > * Fix a few compiler warnings in the arm64 EFI code that lots of people >are running into and reporting - Catalin Marinas Ping? This doesn't seem to have been picked up yet? -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
On Fri, Jun 20, 2014 at 02:49:38PM +0100, Matt Fleming wrote: > On Fri, 20 Jun, at 02:39:19PM, Leif Lindholm wrote: > > > > I did post an alternative patch for one half of this a week before > > anyone else, but that one seems to have been ignored, even by gmane: > > http://www.spinics.net/lists/linux-efi/msg03924.html > > Sorry Leif, I don't know why I didn't pick that one up. I do see it in > my mail archive. Chalk it up to human error. Well, it seemed to manage to trick at least one computer too... > > That form will still be required for the 32-bit arm support, since > > strncmp is not available in the zImage. > > Are you planning on incorporating this fix into the 32-bit arm support > patch series Yeah, I'll do that. Just as soon as I get back off holiday :) / Leif -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
On Fri, 20 Jun, at 02:39:19PM, Leif Lindholm wrote: > > I did post an alternative patch for one half of this a week before > anyone else, but that one seems to have been ignored, even by gmane: > http://www.spinics.net/lists/linux-efi/msg03924.html Sorry Leif, I don't know why I didn't pick that one up. I do see it in my mail archive. Chalk it up to human error. > That form will still be required for the 32-bit arm support, since > strncmp is not available in the zImage. Are you planning on incorporating this fix into the 32-bit arm support patch series -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
On Fri, Jun 20, 2014 at 10:28:48AM +0100, Catalin Marinas wrote: > On Fri, Jun 20, 2014 at 10:00:08AM +0100, Matt Fleming wrote: > > Please pull the following compiler warning fix. Sorry, I've been pretty > > slow in getting this pull request sent. Multiple people have reported > > hitting it and I've now received 4 patches for the same warning, > > BTW, one of them is not just a simple warning but a bug. Pointer to > "long" variable on the stack passed to a function that only takes a > pointer to "int". We are probably lucky that we don't hit the bug on > arm64. > > Anyway, thanks for pushing the fix. > > (and lesson learnt not to trust the ARM EFI_STUB developers, won't name > them, with properly testing their code ;)) The code was tested and showed no runtime problems - but I did manage to miss the warnings. I did post an alternative patch for one half of this a week before anyone else, but that one seems to have been ignored, even by gmane: http://www.spinics.net/lists/linux-efi/msg03924.html That form will still be required for the 32-bit arm support, since strncmp is not available in the zImage. / Leif -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
On Fri, Jun 20, 2014 at 10:00:08AM +0100, Matt Fleming wrote: > Please pull the following compiler warning fix. Sorry, I've been pretty > slow in getting this pull request sent. Multiple people have reported > hitting it and I've now received 4 patches for the same warning, BTW, one of them is not just a simple warning but a bug. Pointer to "long" variable on the stack passed to a function that only takes a pointer to "int". We are probably lucky that we don't hit the bug on arm64. Anyway, thanks for pushing the fix. (and lesson learnt not to trust the ARM EFI_STUB developers, won't name them, with properly testing their code ;)) -- Catalin -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Guys, Please pull the following compiler warning fix. Sorry, I've been pretty slow in getting this pull request sent. Multiple people have reported hitting it and I've now received 4 patches for the same warning, http://article.gmane.org/gmane.linux.kernel.efi/4024 http://article.gmane.org/gmane.linux.kernel.efi/4017 http://article.gmane.org/gmane.linux.kernel.efi/3957 http://article.gmane.org/gmane.linux.kernel.efi/3930 The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f: Linux 3.16-rc1 (2014-06-15 17:45:28 -1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to 6fb8cc82c096fd5ccf277678639193cae07125a0: efi: Fix compiler warnings (unused, const, type) (2014-06-19 15:03:05 +0100) * Fix a few compiler warnings in the arm64 EFI code that lots of people are running into and reporting - Catalin Marinas Catalin Marinas (1): efi: Fix compiler warnings (unused, const, type) drivers/firmware/efi/efi.c | 6 +++--- drivers/firmware/efi/fdt.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
* Matt Fleming wrote: > Folks, please pull the following patch from Dave that fixes some bugs in > the EFI earlyprintk code when using ",keep". > > The following changes since commit 47514c996fac5e6f13ef3a4c5e23f1c5cffabb7b: > > efi: Pass correct file handle to efi_file_{read,close} (2014-04-10 21:20:03 > +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git > tags/efi-urgent > > for you to fetch changes up to 5f35eb0e29ca26da82febe49d7698dbeb8882ea0: > > x86/efi: earlyprintk=efi,keep fix (2014-05-03 06:39:06 +0100) > > > * Fix earlyprintk=efi,keep support by switching to an ioremap() mapping >of the framebuffer when early_ioremap() is no longer available and >dropping __init from functions that may be invoked after >free_initmem() - Dave Young > > > Dave Young (1): > x86/efi: earlyprintk=efi,keep fix > > arch/x86/platform/efi/early_printk.c | 83 > +++- > 1 file changed, 64 insertions(+), 19 deletions(-) Pulled into tip:x86/urgent, thanks a lot Matt! Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Folks, please pull the following patch from Dave that fixes some bugs in the EFI earlyprintk code when using ",keep". The following changes since commit 47514c996fac5e6f13ef3a4c5e23f1c5cffabb7b: efi: Pass correct file handle to efi_file_{read,close} (2014-04-10 21:20:03 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to 5f35eb0e29ca26da82febe49d7698dbeb8882ea0: x86/efi: earlyprintk=efi,keep fix (2014-05-03 06:39:06 +0100) * Fix earlyprintk=efi,keep support by switching to an ioremap() mapping of the framebuffer when early_ioremap() is no longer available and dropping __init from functions that may be invoked after free_initmem() - Dave Young Dave Young (1): x86/efi: earlyprintk=efi,keep fix arch/x86/platform/efi/early_printk.c | 83 +++- 1 file changed, 64 insertions(+), 19 deletions(-) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Please pull the following fix from Borislav that fixes a boot regression for SGI UV. The following changes since commit 09503379dc99535b1bbfa51aa1aeef340f5d82ec: x86/efi: Check status field to validate BGRT header (2014-02-14 10:07:15 +) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to a5d90c923bcfb9632d998ed06e9569216ad695f3: x86/efi: Quirk out SGI UV (2014-03-04 23:43:33 +) * Disable the new EFI 1:1 virtual mapping for SGI UV because using it causes a crash during boot - Borislav Petkov Borislav Petkov (1): x86/efi: Quirk out SGI UV arch/x86/include/asm/efi.h | 1 + arch/x86/kernel/setup.c | 10 ++ arch/x86/platform/efi/efi.c | 20 3 files changed, 23 insertions(+), 8 deletions(-) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
* Matt Fleming wrote: > Hi, > > The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f: > > Linux 3.12-rc1 (2013-09-16 16:17:51 -0400) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git > tags/efi-urgent > > for you to fetch changes up to 700870119f49084da004ab588ea2b799689efaf7: > > x86, efi: Don't map Boot Services on i386 (2013-09-18 14:42:33 +0100) > > > * Fix WARNING on i386 by only enabling a workaround for x86-64 since >we've never encountered the bug on i386 - Josh Boyer > > > Josh Boyer (1): > x86, efi: Don't map Boot Services on i386 > > arch/x86/platform/efi/efi.c | 11 +++ > 1 file changed, 7 insertions(+), 4 deletions(-) Pulled into tip:x86/urgent, thanks Matt! Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Hi, The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f: Linux 3.12-rc1 (2013-09-16 16:17:51 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to 700870119f49084da004ab588ea2b799689efaf7: x86, efi: Don't map Boot Services on i386 (2013-09-18 14:42:33 +0100) * Fix WARNING on i386 by only enabling a workaround for x86-64 since we've never encountered the bug on i386 - Josh Boyer Josh Boyer (1): x86, efi: Don't map Boot Services on i386 arch/x86/platform/efi/efi.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
The following changes since commit f8b8404337de4e2466e2e1139ea68b1f8295974f: Modify UEFI anti-bricking code (2013-06-10 21:59:37 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to b8cb62f82103083a6e8fa5470bfe634a2c06514d: x86/efi: Fix dummy variable buffer allocation (2013-06-21 10:52:49 +0100) * Don't leak random kernel memory to EFI variable NVRAM when attempting to initiate garbage collection. Also, free the kernel memory when we're done with it instead of leaking - Ben Hutchings Ben Hutchings (1): x86/efi: Fix dummy variable buffer allocation arch/x86/platform/efi/efi.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
On Fri, 26 Apr, at 09:40:46AM, Linus Torvalds wrote: > On Fri, Apr 26, 2013 at 9:30 AM, Matt Fleming wrote: > > Hi Peter, Linus, > > > > I've got a small patch that fixes a crash for the Google folks and their > > EFI SMI driver, which was caused by dereferencing a garbage pointer. > > Hmm. I already took this from the earlier email you sent. Did it change since? Nope, there hasn't been any change. I just didn't know whether you preferred to take the fix via email or a pull request. Thanks for picking this up. -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] EFI urgent fix
On Fri, Apr 26, 2013 at 9:30 AM, Matt Fleming wrote: > Hi Peter, Linus, > > I've got a small patch that fixes a crash for the Google folks and their > EFI SMI driver, which was caused by dereferencing a garbage pointer. Hmm. I already took this from the earlier email you sent. Did it change since? Linus -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] EFI urgent fix
Hi Peter, Linus, I've got a small patch that fixes a crash for the Google folks and their EFI SMI driver, which was caused by dereferencing a garbage pointer. Please consider pulling. The following changes since commit f697036b93aa7345d4cbb3c854a76456c0ddac45: efi: Check EFI revision in setup_efi_vars (2013-04-24 16:19:01 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent for you to fetch changes up to 45432323ef7038a91599959173700fdb8a0adb2f: efivars: only check for duplicates on the registered list (2013-04-26 16:50:01 +0100) * Last minute bugfix for the efivars code. The google EFI SMI driver maintains its own list of EFI variables but the efivars core was directly accessing a different (and in this case, uninitialised) list resulting in a crash. Matt Fleming (1): efivars: only check for duplicates on the registered list drivers/firmware/efivars.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html