Skip to content
Commit 5189c2a7 authored by Olof Johansson's avatar Olof Johansson Committed by Matt Fleming
Browse files

x86: efi: Turn off efi_enabled after setup on mixed fw/kernel

When 32-bit EFI is used with 64-bit kernel (or vice versa), turn off
efi_enabled once setup is done. Beyond setup, it is normally used to
determine if runtime services are available and we will have none.

This will resolve issues stemming from efivars modprobe panicking on a
32/64-bit setup, as well as some reboot issues on similar setups.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=45991



Reported-by: default avatarMarko Kohtala <marko.kohtala@gmail.com>
Reported-by: default avatarMaxim Kammerer <mk@dee.su>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Acked-by: default avatarMaarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: stable@kernel.org # 3.4 - 3.6
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent 78bef24e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment