lkml.org 
[lkml]   [2011]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86, efi: Convert efi_phys_get_time() args to physical addresses
From
Date
On Tue, 2011-10-11 at 11:52 +0100, Matt Fleming wrote:
> From: Maurice Ma <maurice.ma@intel.com>
>
> Because callers of efi_phys_get_time() pass virtual stack addresses as
> arguments, we need to find their corresponding physical addresses and
> when calling GetTime() in physical mode.
>
> Without this patch the following line is printed on boot,
>
> "Oops: efitime: can't read time!"
>
> Cc: Matthew Garrett <mjg@redhat.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@elte.hu>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: x86@kernel.org
> Cc: Zhang Rui <rui.zhang@intel.com>
> Signed-off-by: Maurice Ma <maurice.ma@intel.com>
> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
> ---
> arch/x86/platform/efi/efi.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)

Ping?




\
 
 \ /
  Last update: 2011-11-07 12:33    [W:0.084 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site