public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Anholt <eric@anholt.net>
To: Maciej Rutecki <maciej.rutecki@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Jesse Barnes <jbarnes@virtuousgeek.org>,
	"lenb@kernel.org" <lenb@kernel.org>, Ingo Molnar <mingo@elte.hu>,
	mjg@redhat.com, "Rafael J. Wysocki" <rjw@sisk.pl>,
	Andrew Morton <akpm@linux-foundation.org>,
	rui.zhang@intel.com
Subject: Re: [Linux 2.6.29-rc6] [drm:i915_set_status_page] *ERROR* can not ioremap  virtual address for G33 hw status page
Date: Mon, 23 Feb 2009 12:02:23 -0800	[thread overview]
Message-ID: <1235419343.4816.27.camel@gaiman> (raw)
In-Reply-To: <8db1092f0902230646o78a07a09t920ad65369b5a20d@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1474 bytes --]

On Mon, 2009-02-23 at 15:46 +0100, Maciej Rutecki wrote:
> 2.6.29-rc5 and 2.6.29-rc5-git6 work OK. In 2.6.29-rc6 XWindow (KDM)
> doesn't start, from dmesg:
> 
> [   18.170614] [drm] Initialized drm 1.1.0 20060810
> [   18.247445] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [   18.247455] pci 0000:00:02.0: setting latency timer to 64
> [   18.249610] mtrr: type mismatch for d0000000,10000000 old:
> write-back new: write-combining
> [   18.249621] [drm] MTRR allocation failed
> [   18.249622] .  Graphics performance may suffer.
> [   18.249658] pci 0000:00:02.0: irq 27 for MSI/MSI-X
> [   18.249691] [drm] Initialized i915 1.6.0 20080730 on minor 0
> [   18.290152] mtrr: type mismatch for d0000000,10000000 old:
> write-back new: write-combining
> [   18.567435] set status page addr 0x00043000
> [   18.567463] [drm:i915_set_status_page] *ERROR* can not ioremap
> virtual address for G33 hw status page

The non-GEM G33 HWS support is wrong, and has been more or less broken
since inception (only now it's failing at startup instead of just being
slow).  It's doing a mapping of the framebuffer when it should be using
a cached mapping of the page backing the framebuffer address.

For a quick fix, converting to ioremap_wc will shut the kernel up and
get us the old ioremap behavior (whatever the MTRR said, which happens
to be WC).

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



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2009-02-23 20:04 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-23 14:46 [Linux 2.6.29-rc6] [drm:i915_set_status_page] *ERROR* can not ioremap virtual address for G33 hw status page Maciej Rutecki
2009-02-23 15:22 ` Sitsofe Wheeler
2009-02-23 18:27   ` Maciej Rutecki
2009-02-23 20:02 ` Eric Anholt [this message]
2009-02-23 21:30   ` Rafael J. Wysocki
2009-02-23 21:40     ` Maciej Rutecki
2009-02-24  1:01       ` Yinghai Lu
2009-02-24  3:23         ` Andy Isaacson
2009-02-24  5:50           ` Yinghai Lu
2009-02-24  6:48             ` Andy Isaacson
2009-02-24 22:54               ` Andy Isaacson
2009-02-25 14:35                 ` Zdenek Kabelac
2009-02-27 11:14                   ` Maciej Rutecki
2009-02-24 19:44             ` Ingo Molnar
2009-02-24 19:48               ` Yinghai Lu
2009-02-24 21:39                 ` Ingo Molnar
2009-02-24 21:44                   ` Dave Airlie
2009-02-24 21:59                     ` Linus Torvalds
2009-02-24 22:10                       ` Pallipadi, Venkatesh
2009-02-24  6:54         ` Maciej Rutecki
2009-02-24  8:54           ` Maciej Rutecki
2009-02-24  9:01             ` Maciej Rutecki
2009-02-24 18:25             ` Yinghai Lu
2009-02-24  3:56       ` Andy Isaacson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1235419343.4816.27.camel@gaiman \
    --to=eric@anholt.net \
    --cc=akpm@linux-foundation.org \
    --cc=jbarnes@virtuousgeek.org \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maciej.rutecki@gmail.com \
    --cc=mingo@elte.hu \
    --cc=mjg@redhat.com \
    --cc=rjw@sisk.pl \
    --cc=rui.zhang@intel.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox