From: Matt Fleming<matt.fleming@xxxxxxxxx>
Some people trying out the EFI stub have been confused about the
syntax for the initrd= option, so this series adds some information to
Documentation/x86. It also adds some helpful error messages, as
previously if the user specified an incorrect initrd filename the
machine just appeared to hang. Now at least it will print a message
saying that it couldn't open the file.
The first patch is actually a bug fix for an issue where the wrong
loop counter was used when trying to close initrd files in the error
path, which caused the machine to hang because a garbage pointer was
dereferenced.
Ideally I'd like to squeeze at least the last two patches in before
v3.3 is released.
Matt Fleming (3):
x86, efi: Only close open files in error path
x86, efi; Add EFI boot stub console support
x86, efi: Add EFI boot stub documentation
Documentation/x86/efi-stub.txt | 65 ++++++++++++++++++++++++++++
arch/x86/Kconfig | 2 +
arch/x86/boot/compressed/eboot.c | 88 ++++++++++++++++++++++++++++++-------
arch/x86/boot/compressed/eboot.h | 6 +++
4 files changed, 144 insertions(+), 17 deletions(-)
create mode 100644 Documentation/x86/efi-stub.txt