login
Header Space

 
 

Re: [2.6.25-git18 => 2.6.26-rc1-git1] Xorg crash with xf86MapVidMem error

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Rufus & Azrael <rufus-azrael@...>, Ingo Molnar <mingo@...>, Siddha, Suresh B <suresh.b.siddha@...>, Linux-kernel Mailing List <linux-kernel@...>, Yinghai Lu <yhlu.kernel@...>, Thomas Gleixner <tglx@...>
Date: Thursday, May 8, 2008 - 7:40 pm

On Thu, May 08, 2008 at 02:59:31PM -0700, Venkatesh Pallipadi wrote:

Also, note that we only look for start while looking at fixed range MTRRs.
This is not as scary as it seems. We are finding the effective memory type
by just looking at the start of the address range. We still go through
the PAT reserve free mechanism, once we find the effective memory type
and that list will catch any other users with conflicting type anywhere
in the start to end range. And we will still keep effective type consistent
across all mappings.

For example:
0xf0000000-0xf1000000 is mapped WC by one user with appropriate MTRR setting
0xf2000000-0xf3000000 is mapped UC by another user with appropriate MTRR setting

Now if there is a request to map
0xf0000000-0xf4000000, we do mtrr_lookup and assume effective type for the
whole range is WC. Then we go through PAT list to see any conflicts. And
while parsing the list, we will find there is an overlap with conflicting
attributes and we fail the reserve.

In case the second UC mapping above is not present, we use effective memory
type for the whole range 0xf0000000-0xf4000000 as WC and track it in our list
that way.

Thanks,
Venki
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [2.6.25-git18 => 2.6.26-rc1-git1] Xorg crash with xf8..., Venki Pallipadi, (Thu May 8, 7:40 pm)
RE: [2.6.25-git18 =&gt; 2.6.26-rc1-git1] Xorg crash with xf8..., Pallipadi, Venkatesh, (Fri May 9, 9:46 am)
speck-geostationary