lkml.org 
[lkml]   [2009]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [TIP,regression,i915] /dev/dri/card0 is no longer present
From
Date
On Mon, 2009-03-02 at 22:34 +0100, Ingo Molnar wrote:
> * Pallipadi, Venkatesh <venkatesh.pallipadi@intel.com> wrote:
>
> > On Sun, 2009-03-01 at 05:48 -0800, Sitsofe Wheeler wrote:
> > > On Sun, Mar 01, 2009 at 12:39:48PM +0100, Ingo Molnar wrote:
> > > >
> > > > Thanks, i've reverted the commit for now. Could you please send
> > > > a 'dmesg' from the bootup with the failed driver? By all
> > > > likelyhood an ioremap failure causes a driver failure.
> > > >
> > >
> > > See below (drm says it initalized though...):
> > >
> > > [ 0.000000] Linux version 2.6.29-rc6-00006-g17581ad (@verona) (gcc version 4.2.4) #87 Sun Mar 1 13:42:28 GMT 2009
> > > [ 0.000000] KERNEL supported cpus:
> > > [ 0.000000] Intel GenuineIntel
> > > [ 0.000000] PAT WC disabled due to known CPU erratum.
> >
> > Looks like PAT is getting disabled on this platform. Can you
> > send the output of /proc/cpuinfo please.
>
> Does this mean we failed an ioremap()? We still should not fail
> a device ioremap _ever_. We should just fall back to UC and be
> done with it. We may emit a warning if we consider it
> troublesome, but we should never ever break working drivers
> really.

Thank you! This has been plaguing us since 2.6.28, but all I can get
out of people is "no, it's doing the right thing, we can't satisfy your
request because handwavey errata stuff to do with conflicts, can't tell
you off the top of my head."

We want WC ioremap, and we try an MTRR in case PAT is disabled (because
of the errata that makes WC PAT sometimes give non-WC behavior). Give
us a mapping, whether or not it's really WC. Failing the mapping is not
OK.

--
Eric Anholt
eric@anholt.net eric.anholt@intel.com


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-03-03 19:29    [W:0.788 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site