Re: [PATCH] Remove warning in efi_enter_virtual_mode

From: Matt Fleming
Date: Thu Apr 18 2013 - 12:20:08 EST


On 18/04/13 15:51, Darren Hart wrote:
> I don't believe I have seen a 32-bit EFI system with a BGRT, but then
> again, I had to look it up today! That said, I suspect the MinnowBoard
> would benefit from such a thing, so we should have an example of it
> there in the near future.

That's fine and things will work as-is provided that the BGRT image is
not in highmem.

> Is this in anyway related to the following patch from Josh Boyer? We're
> carrying this in the Yocto Project trees currently.
>
> commit 6f3e186bc7721c5b24ad90d4a751cccfccd445e6
> Author: Josh Boyer <jwboyer@xxxxxxxxxx>
> Date: Fri Aug 5 08:47:23 2011 -0400
>
> Add patch to fix 32bit EFI service mapping (rhbz 726701)
>
> Signed-off-by: Tom Zanussi <tom.zanussi@xxxxxxxxx>
> Signed-off-by: Darren Hart <dvhart@xxxxxxxxxxxxxxx>

Yep, it's basically the same fix. My patch just avoids the #ifdef and
prints an error message if we have EFI Boot services regions we can't
access directly. The error message will at least be useful if we do
start seeing BGRT pointers in highmem.

Could you give it a spin on your MinnowBoard?

--
Matt Fleming, Intel Open Source Technology Center
--
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/