Re: [PATCH] Fix devmem_is_allowed for below 1MB accesses for an efimachine

From: H. Peter Anvin
Date: Wed Oct 03 2012 - 01:38:17 EST


On 10/02/2012 10:28 PM, Matthew Garrett wrote:
> On Tue, Oct 02, 2012 at 11:13:17PM -0600, Thavatchai Makphaibulchoke wrote:
>
>> Sounds like a better solution is to allow accesses to only I/O regions
>> presented in the EFI memory map for physical addresses below 1 MB.
>
> That won't work - unfortunately we do still need the low region to be
> available for X because some platforms expect us to use int10 even on
> EFI (yes, yes, I know). Do you have a copy of the EFI memory map for a
> system that's broken with the current code?
>

I honestly think this calls for a quirk, or more likely, no action at
all ("don't do that, then.")

-hpa


--
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/