diff options
| author | Matt Fleming <[email protected]> | 2014-04-10 12:30:13 +0000 |
|---|---|---|
| committer | Matt Fleming <[email protected]> | 2014-04-10 20:19:47 +0000 |
| commit | 396f1a08db212138418b38f784e4bbe516d2fdb2 (patch) | |
| tree | 1ad9ac22879f74a40cd36b449bc286514456e320 /lib/dump_stack.c | |
| parent | x86, efi: Abstract x86 efi_early calls (diff) | |
| download | kernel-396f1a08db212138418b38f784e4bbe516d2fdb2.tar.gz kernel-396f1a08db212138418b38f784e4bbe516d2fdb2.zip | |
x86/efi: Fix boot failure with EFI stub
commit 54b52d872680 ("x86/efi: Build our own EFI services pointer
table") introduced a regression because the 64-bit file_size()
implementation passed a pointer to a 32-bit data object, instead of a
pointer to a 64-bit object.
Because the firmware treats the object as 64-bits regardless it was
reading random values from the stack for the upper 32-bits.
This resulted in people being unable to boot their machines, after
seeing the following error messages,
Failed to get file info size
Failed to alloc highmem for files
Reported-by: Dzmitry Sledneu <[email protected]>
Reported-by: Koen Kooi <[email protected]>
Tested-by: Koen Kooi <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
