This patch doesn't apply to the .36 stable tree If someone wants it applied there, please email the backport to [email protected]
thanks, greg k-h > commit: 8d0f56708292ca5c256ee3b7187d124afee81d93 > From: Zhenyu Wang <[email protected]> > Date: Tue, 2 Nov 2010 17:30:47 +0800 > Subject: [PATCH] agp/intel: restore cache behavior on sandybridge > > This restores cache behavior for default AGP_USER_MEMORY as > uncached, and leave default AGP_USER_CACHED_MEMORY as LLC only. > I've seen different cache behavior on one sandybridge desktop CPU vs. > another mobile CPU. Until we figure out how to detect the real cache > config, restore back to the original behavior now. > > Signed-off-by: Zhenyu Wang <[email protected]> > Cc: [email protected] > Signed-off-by: Chris Wilson <[email protected]> > --- > drivers/char/agp/intel-gtt.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c > index 6b6760e..791216d 100644 > --- a/drivers/char/agp/intel-gtt.c > +++ b/drivers/char/agp/intel-gtt.c > @@ -1210,7 +1210,7 @@ static void gen6_write_entry(dma_addr_t addr, unsigned > int entry, > unsigned int gfdt = flags & AGP_USER_CACHED_MEMORY_GFDT; > u32 pte_flags; > > - if (type_mask == AGP_USER_UNCACHED_MEMORY) > + if (type_mask == AGP_USER_MEMORY) > pte_flags = GEN6_PTE_UNCACHED | I810_PTE_VALID; > else if (type_mask == AGP_USER_CACHED_MEMORY_LLC_MLC) { > pte_flags = GEN6_PTE_LLC | I810_PTE_VALID; > > _______________________________________________ > stable mailing list > [email protected] > http://linux.kernel.org/mailman/listinfo/stable _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
