Re: [PATCH] x86, efi: Convert efi_phys_get_time() args to physicaladdresses

From: Matt Fleming
Date: Mon Nov 07 2011 - 06:31:14 EST


On Tue, 2011-10-11 at 11:52 +0100, Matt Fleming wrote:
> From: Maurice Ma <maurice.ma@xxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxx>
> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
> Cc: x86@xxxxxxxxxx
> Cc: Zhang Rui <rui.zhang@xxxxxxxxx>
> Signed-off-by: Maurice Ma <maurice.ma@xxxxxxxxx>
> Signed-off-by: Matt Fleming <matt.fleming@xxxxxxxxx>
> ---
> arch/x86/platform/efi/efi.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)

Ping?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/