1 From 04bf9ba720fcc4fa313fa122b799ae0989b6cd50 Mon Sep 17 00:00:00 2001
2 From: Matthew Garrett <matthew.garrett@nebula.com>
3 Date: Fri, 29 Nov 2013 14:44:43 -0500
4 Subject: x86, efi: Don't use (U)EFI time services on 32 bit
6 From: Matthew Garrett <matthew.garrett@nebula.com>
8 commit 04bf9ba720fcc4fa313fa122b799ae0989b6cd50 upstream.
10 UEFI time services are often broken once we're in virtual mode. We were
11 already refusing to use them on 64-bit systems, but it turns out that
12 they're also broken on some 32-bit firmware, including the Dell Venue.
13 Disable them for now, we can revisit once we have the 1:1 mappings code
16 Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
17 Link: http://lkml.kernel.org/r/1385754283-2464-1-git-send-email-matthew.garrett@nebula.com
18 Cc: Matt Fleming <matt.fleming@intel.com>
19 Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
20 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
23 arch/x86/platform/efi/efi.c | 7 -------
24 1 file changed, 7 deletions(-)
26 --- a/arch/x86/platform/efi/efi.c
27 +++ b/arch/x86/platform/efi/efi.c
28 @@ -744,13 +744,6 @@ void __init efi_init(void)
30 set_bit(EFI_MEMMAP, &x86_efi_facility);
33 - if (efi_is_native()) {
34 - x86_platform.get_wallclock = efi_get_time;
35 - x86_platform.set_wallclock = efi_set_rtc_mmss;