lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 03 Mar 2009 10:24:49 -0800
From:	Eric Anholt <eric@...olt.net>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	"Pallipadi, Venkatesh" <venkatesh.pallipadi@...el.com>,
	Sitsofe Wheeler <sitsofe@...oo.com>,
	"dri-devel@...ts.sourceforge.net" <dri-devel@...ts.sourceforge.net>,
	LKML <linux-kernel@...r.kernel.org>,
	"Siddha, Suresh B" <suresh.b.siddha@...el.com>,
	Jesse Barnes <jbarnes@...tuousgeek.org>
Subject: Re: [TIP,regression,i915] /dev/dri/card0 is no longer present

On Mon, 2009-03-02 at 22:34 +0100, Ingo Molnar wrote:
> * Pallipadi, Venkatesh <venkatesh.pallipadi@...el.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@...olt.net                         eric.anholt@...el.com



Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ