Re: AGP and PAT (induced?) problem (on AMD family 6)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rene Herman
Date: Wednesday, August 20, 2008 - 3:50 am

On 20-08-08 12:04, Ingo Molnar wrote:


Because 64M of AGP memory divided by 4K pages is 16K. That is, the 
underlying problem seems to be AGP drivers using order 0 allocations. 
I'm looking.

Do note also that this means that Venki's change would not constitite a 
correct/final fix. Sure, caching the last entry speeds up traversing a 
16K entry list but the issue is that there shouldn't be a 16K entry 
list. Through AGP, or maybe even by coalescing entries in the PAT list 
if that's at all possible (I guess it's not really).

Even if such a more fundamental fix isn't (easily) available, the PAT 
code already comments that the list, which is sorted by ->start value, 
is expected to be short, and should be turned into an rbtree if it isn't 
which might be slightly less of a bandaid.

Dave Airlie (as the MAINTAINERS entry) can't be arsed to answer email it 
seems so I've added Dave Jones for a possible comment from the AGP side.
If I'm reading this right upto now, still many AGP driver (among which 
my amd-k7-agp) are affected.

In the short run and if I'm not just mistaken, the best fix might be to 
make PAT dependent on not having a dumb AGP driver (but as said, still 
looking).

Note that my chipset is capable of a 2G AGP aperture. That's 512K pages 
if fully used, 256K for 1G, 128K for 512M, ...

Rene.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Mon Aug 4, 9:30 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Andreas Herrmann, (Wed Aug 6, 6:51 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Wed Aug 6, 1:57 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Mon Aug 11, 2:46 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Ingo Molnar, (Fri Aug 15, 7:22 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Fri Aug 15, 8:24 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Tue Aug 19, 3:11 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Ingo Molnar, (Tue Aug 19, 3:26 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Tue Aug 19, 7:19 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Venki Pallipadi, (Tue Aug 19, 12:07 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Tue Aug 19, 12:22 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Venki Pallipadi, (Tue Aug 19, 4:28 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Ingo Molnar, (Wed Aug 20, 3:04 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Ingo Molnar, (Wed Aug 20, 3:09 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Wed Aug 20, 3:50 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Wed Aug 20, 7:27 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Venki Pallipadi, (Wed Aug 20, 12:41 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Dave Airlie, (Wed Aug 20, 2:02 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Wed Aug 20, 2:16 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Wed Aug 20, 2:40 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Dave Airlie, (Wed Aug 20, 2:46 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Venki Pallipadi, (Wed Aug 20, 3:16 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Andi Kleen, (Wed Aug 20, 8:42 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Ingo Molnar, (Thu Aug 21, 5:06 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Thu Aug 21, 10:15 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Suresh Siddha, (Thu Aug 21, 2:13 pm)
RE: [PATCH] x86: {reverve,free}_memtype() take a physical ..., Pallipadi, Venkatesh, (Thu Aug 21, 3:16 pm)
RE: [PATCH] x86: {reverve,free}_memtype() take a physical ..., Pallipadi, Venkatesh, (Thu Aug 21, 3:57 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Andi Kleen, (Thu Aug 21, 7:12 pm)
AGP PAT issue., Rene Herman, (Wed Sep 10, 12:52 pm)
Re: AGP PAT issue., Ingo Molnar, (Thu Sep 11, 1:17 am)
Re: AGP PAT issue., Rene Herman, (Thu Sep 11, 1:30 am)
RE: AGP PAT issue., Pallipadi, Venkatesh, (Fri Sep 12, 5:26 pm)
Re: AGP PAT issue., Rene Herman, (Fri Sep 12, 5:44 pm)
Re: AGP PAT issue., Thomas Hellstrom, (Thu Oct 9, 8:53 am)
RE: AGP PAT issue., Pallipadi, Venkatesh, (Mon Oct 13, 10:10 am)
Re: AGP PAT issue., Thomas Hellström, (Mon Oct 13, 12:26 pm)