Re: [PATCH] UEFI: Don't pass boot services regions to SetVirtualAddressMap()

2013-06-06 Thread Matt Fleming
On 02/06/13 23:12, Matthew Garrett wrote: > We need to map boot services regions during startup in order to avoid > firmware bugs, but we shouldn't be passing those regions to > SetVirtualAddressMap(). Ensure that we're only passing regions that are > marked as being mapped at runtime. > > Signed-

Re: [PATCH] UEFI: Don't pass boot services regions to SetVirtualAddressMap()

2013-06-04 Thread Matthew Garrett
On Tue, 2013-06-04 at 07:58 +0100, Matt Fleming wrote: > Is there any point in calling efi_ioremap() for non-runtime regions in > this case? In other words, why not the following patch? Yeah, we need the boottime services regions to be mapped while we make this call. -- Matthew Garrett | mj...@s

Re: [PATCH] UEFI: Don't pass boot services regions to SetVirtualAddressMap()

2013-06-04 Thread Matt Fleming
On 06/02/2013 11:12 PM, Matthew Garrett wrote: > We need to map boot services regions during startup in order to avoid > firmware bugs, but we shouldn't be passing those regions to > SetVirtualAddressMap(). Ensure that we're only passing regions that are > marked as being mapped at runtime. > > Si

[PATCH] UEFI: Don't pass boot services regions to SetVirtualAddressMap()

2013-06-02 Thread Matthew Garrett
We need to map boot services regions during startup in order to avoid firmware bugs, but we shouldn't be passing those regions to SetVirtualAddressMap(). Ensure that we're only passing regions that are marked as being mapped at runtime. Signed-off-by: Matthew Garrett --- arch/x86/platform/efi/ef