On 7/12/05, Luck, Tony <[EMAIL PROTECTED]> 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).

  --david
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to