Commit 7efe6659 authored by Matt Fleming's avatar Matt Fleming

rtc: Disable EFI rtc for x86

commit da167ad7 ("rtc: ia64: allow other architectures to use EFI
RTC") inadvertently introduced a regression for x86 because we've been
careful not to enable the EFI rtc driver due to the generally buggy
implementations of the time-related EFI runtime services.

In fact, since the above commit was merged we've seen reports of crashes
on 32-bit tablets,

  https://bugzilla.kernel.org/show_bug.cgi?id=84241#c21

Disable it explicitly for x86 so that we don't give users false hope
that this driver will work - it won't, and your machine is likely to
crash.
Acked-by: default avatarMark Salter <msalter@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: <stable@vger.kernel.org> # v3.17
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent 3f71f6da
...@@ -806,7 +806,7 @@ config RTC_DRV_DA9063 ...@@ -806,7 +806,7 @@ config RTC_DRV_DA9063
config RTC_DRV_EFI config RTC_DRV_EFI
tristate "EFI RTC" tristate "EFI RTC"
depends on EFI depends on EFI && !X86
help help
If you say yes here you will get support for the EFI If you say yes here you will get support for the EFI
Real Time Clock. Real Time Clock.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment