Messages in this thread | | | Date | Tue, 02 Oct 2012 14:50:09 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] Fix devmem_is_allowed for below 1MB accesses for an efi machine |
| |
On 10/02/2012 02:32 PM, T Makphaibulchoke wrote: > Changing devmem_is_allowed so that on an EFI machine, access to physical > address below 1 MB is allowed only to physical pages that are valid in > the EFI memory map. This prevents the possibility of an MCE due to > accessing an invalid physical address.
What?
That sounds like exactly the opposite of normal /dev/mem behavior... we allow access to non-memory resources (which really could do anything if misused), but not memory.
You seem like you're flipping it on its head.
-hpa
| |