All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	Len Brown <len.brown@intel.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: has the i915 "black screen" boot issue returned? [BISECTED]
Date: Fri, 28 Jan 2011 14:02:04 +0000	[thread overview]
Message-ID: <849307$bbh907@azsmga001.ch.intel.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1101280850550.2796@localhost6.localdomain6>

On Fri, 28 Jan 2011 08:53:59 -0500 (EST), "Robert P. J. Day" <rpjday@crashcourse.ca> wrote:
> so the culprit appears to be:
> 
> b705120e4198315f4ae043de06c62f65e0851fd3 is the first bad commit
> commit b705120e4198315f4ae043de06c62f65e0851fd3
> Author: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
> Date:   Sun Jan 23 18:17:17 2011 +0000
> 
>     drm/i915: Use consistent mappings for OpRegion between ACPI and i915
> 
>     The opregion is a shared memory region between ACPI and the graphics
>     driver. As the ACPI mapping has been changed to cachable in commit
>     6d5bbf00d251cc73223a71422d69e069dc2e0b8d, mapping the intel opregion
>     non-cachable now fails. As no bus-master hardware is involved in the
>     opregion, cachable map should do no harm.
> 
>     Tested on a Fujitsu Lifebook P8010.
> 
>     Signed-off-by: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
>     [ickle: convert to acpi_os_ioremap for consistency]
>     Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> 
> 
>   thoughts?  once again, the salient output from "lspci -v":

Indeed looks like using ioremap_cache is not as safe as was assumed. Does

diff --git a/include/linux/acpi_io.h b/include/linux/acpi_io.h
index 7180013..42108ab 100644
--- a/include/linux/acpi_io.h
+++ b/include/linux/acpi_io.h
@@ -7,7 +7,7 @@
 static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
                                            acpi_size size)
 {
-       return ioremap_cache(phys, size);
+       return ioremap_wc(phys, size);
 }
 
 int acpi_os_map_generic_address(struct acpi_generic_address *addr);

fix your boot issue or do we need to go back to using uncached:

+       return ioremap(phys, size);

-- 
Chris Wilson, Intel Open Source Technology Centre

  reply	other threads:[~2011-01-28 14:02 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26 11:37 has the i915 "black screen" boot issue returned? Robert P. J. Day
2011-01-27 10:15 ` Chris Wilson
2011-01-27 10:37   ` Robert P. J. Day
2011-01-27 11:47   ` Robert P. J. Day
2011-01-27 11:56     ` Chris Wilson
2011-01-27 12:12       ` Robert P. J. Day
2011-01-27 12:17         ` Chris Wilson
2011-01-27 12:27           ` Robert P. J. Day
2011-01-27 13:00           ` Robert P. J. Day
2011-01-27 13:42           ` Robert P. J. Day
2011-01-27 13:52             ` Chris Wilson
2011-01-27 13:55               ` Robert P. J. Day
2011-01-27 14:07                 ` Chris Wilson
2011-01-27 14:13                   ` Robert P. J. Day
2011-01-27 18:40                   ` Robert P. J. Day
2011-01-27 21:39                   ` Robert P. J. Day
2011-01-27 22:33                     ` Robert P. J. Day
2011-01-28  8:59                       ` Chris Wilson
2011-01-28  9:24                         ` Robert P. J. Day
2011-01-28  9:29                           ` Chris Wilson
2011-01-28 13:53                             ` has the i915 "black screen" boot issue returned? [BISECTED] Robert P. J. Day
2011-01-28 14:02                               ` Chris Wilson [this message]
2011-01-28 14:10                                 ` Robert P. J. Day
2011-01-28 14:10                                   ` Robert P. J. Day
2011-01-28 14:32                                 ` Robert P. J. Day
2011-01-28 14:36                                   ` Chris Wilson
2011-01-28 14:36                                     ` Chris Wilson
2011-01-28 14:51                                     ` Robert P. J. Day
2011-01-28 15:04                                       ` Chris Wilson
2011-01-28 15:04                                         ` Chris Wilson
2011-01-28 15:08                                         ` Robert P. J. Day
2011-01-28 15:11                                           ` Chris Wilson
2011-01-28 15:27                                             ` Robert P. J. Day
2011-01-28 15:39                                               ` Chris Wilson
2011-01-28 15:54                                                 ` Robert P. J. Day
2011-01-28 16:03                                                   ` Chris Wilson
2011-01-28 16:23                                                     ` Robert P. J. Day
2011-01-28 16:30                                                       ` Chris Wilson
2011-01-28 18:38                                                         ` Robert P. J. Day
2011-01-29 10:02                                                         ` Robert P. J. Day
2011-02-01 12:05                                                     ` Robert P. J. Day
2011-02-01 12:12                                                       ` Chris Wilson
2011-02-01 12:56                                                         ` Robert P. J. Day
2011-01-28 16:30                                                 ` Robert P. J. Day
2011-01-28 20:12                                           ` Rafael J. Wysocki
2011-01-28 20:21                                             ` Robert P. J. Day
2011-01-28 20:21                                               ` Robert P. J. Day
2011-01-28 20:46                                             ` Robert P. J. Day
2011-01-28 11:35                         ` has the i915 "black screen" boot issue returned? Robert P. J. Day

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='849307$bbh907@azsmga001.ch.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=rpjday@crashcourse.ca \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.