Re: [PATCH] enable to read region 5 from /dev/kmem

From: david mosberger <>
Date: 2005-07-13 04:23:41
On 7/12/05, Luck, Tony <> wrote:
> This is better.  But allowing access to region 6 through
> /dev/kmem will open up a whole new set of problems.  If the
> user does an uncacheable read through region 6 from a memory
> address that is mapped cacheably in region 7, then the
> processor may machine check [SDM 4.4.1, page 2:64, last
> paragraph: "It is recommended that the processor report a
> Machine Check abort if the following memory attribute aliasing
> is detected: * cache-hit on an uncacheable page"]
> So I think we should disallow access to region 6.

/dev/[k]mem should use the EFI memory attributes to determine
accessibility.  This is being done to some degree already (well, I
didn't check the current code, but it's supposed to be there).

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Tue Jul 12 14:28:57 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:40 EST