Re: [PATCH] Fix devmem_is_allowed for below 1MB accesses for anefi machine

From: Matthew Garrett
Date: Wed Oct 03 2012 - 01:28:24 EST


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?

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/