diff options
author | Olof Johansson <olof@lixom.net> | 2012-10-24 10:00:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-31 10:10:31 -0700 |
commit | 31fd7858aab67b6c4104cd7323a69f257a170572 (patch) | |
tree | 543986d669630a80af751fb27d5e459ad8c04889 /lib/locking-selftest-wlock-hardirq.h | |
parent | c1f2d77769770f79d5dd9a8d7ab9615665343fd9 (diff) | |
download | kernel-common-31fd7858aab67b6c4104cd7323a69f257a170572.tar.gz kernel-common-31fd7858aab67b6c4104cd7323a69f257a170572.tar.bz2 kernel-common-31fd7858aab67b6c4104cd7323a69f257a170572.zip |
x86: efi: Turn off efi_enabled after setup on mixed fw/kernel
commit 5189c2a7c7769ee9d037d76c1a7b8550ccf3481c upstream.
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: Marko Kohtala <marko.kohtala@gmail.com>
Reported-by: Maxim Kammerer <mk@dee.su>
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/locking-selftest-wlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions