linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT pull] EFI fix for 5.6-rc1
@ 2020-02-09 14:02 Thomas Gleixner
  2020-02-09 14:02 ` [GIT pull] interrupt fixes " Thomas Gleixner
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Thomas Gleixner @ 2020-02-09 14:02 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, x86

Linus,

please pull the latest efi/urgent branch from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-urgent-2020-02-09

up to:  59365cadfbcd: efi/x86: Fix boot regression on systems with invalid memmap entries


A single fix for a EFI boot regression on X86 which was caused by the
recent rework of the EFI memory map parsing. On systems with invalid memmap
entries the cleanup function uses an value which cannot be relied on in
this stage. Use the actual EFI memmap entry instead.


Thanks,

	tglx

------------------>
Ard Biesheuvel (1):
      efi/x86: Fix boot regression on systems with invalid memmap entries


 arch/x86/platform/efi/efi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c
index 59f7f6d60cf6..ae923ee8e2b4 100644
--- a/arch/x86/platform/efi/efi.c
+++ b/arch/x86/platform/efi/efi.c
@@ -308,7 +308,7 @@ static void __init efi_clean_memmap(void)
 			.phys_map = efi.memmap.phys_map,
 			.desc_version = efi.memmap.desc_version,
 			.desc_size = efi.memmap.desc_size,
-			.size = data.desc_size * (efi.memmap.nr_map - n_removal),
+			.size = efi.memmap.desc_size * (efi.memmap.nr_map - n_removal),
 			.flags = 0,
 		};
 


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-02-09 22:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 14:02 [GIT pull] EFI fix for 5.6-rc1 Thomas Gleixner
2020-02-09 14:02 ` [GIT pull] interrupt fixes " Thomas Gleixner
2020-02-09 20:40   ` pr-tracker-bot
2020-02-09 14:02 ` [GIT pull] perf " Thomas Gleixner
2020-02-09 20:06   ` Linus Torvalds
2020-02-09 20:53     ` Thomas Gleixner
2020-02-09 21:07       ` Linus Torvalds
2020-02-09 22:21     ` Randy Dunlap
2020-02-09 20:40   ` pr-tracker-bot
2020-02-09 14:02 ` [GIT pull] time(r) " Thomas Gleixner
2020-02-09 20:40   ` pr-tracker-bot
2020-02-09 14:02 ` [GIT pull] x86 " Thomas Gleixner
2020-02-09 20:40   ` pr-tracker-bot
2020-02-09 14:02 ` [GIT pull] SMP " Thomas Gleixner
2020-02-09 20:40   ` pr-tracker-bot
2020-02-09 20:40 ` [GIT pull] EFI fix " pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).