Messages in this thread | | | Subject | Re: [PATCH] x86, efi: Convert efi_phys_get_time() args to physical addresses | From | Matt Fleming <> | Date | Mon, 07 Nov 2011 11:31:11 +0000 |
| |
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?
| |