[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <506B6191.6080605@zytor.com>
Date: Tue, 02 Oct 2012 14:50:09 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: T Makphaibulchoke <tmac@...com>
CC: tglx@...utronix.de, mingo@...hat.com, x86@...nel.org,
akpm@...ux-foundation.org, yinghai@...nel.org, tiwai@...e.de,
viro@...iv.linux.org.uk, aarcange@...hat.com, tony.luck@...el.com,
mgorman@...e.de, weiyang@...ux.vnet.ibm.com,
octavian.purdila@...el.com, paul.gortmaker@...driver.com,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists