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

On Fri, 28 Jan 2011, Chris Wilson wrote:

> 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

  *sigh*.  there was, in fact, an "ioremap_error" message displayed
*very* early in the boot sequence, but it was generated even for
successful boots so i never paid it any mind.  in hindsight, might
have been useful to have mentioned it.

> 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);

  ok, i'll make this single change and report back shortly.

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <alpine.DEB.2.00.1101260634300.10774@localhost6.localdomain6>
     [not found] ` <b9dded$hp9kfu@orsmga002.jf.intel.com>
     [not found]   ` <alpine.DEB.2.00.1101270641490.2923@localhost6.localdomain6>
     [not found]     ` <b9dded$hpa5rf@orsmga002.jf.intel.com>
     [not found]       ` <alpine.DEB.2.00.1101270710510.17636@localhost6.localdomain6>
     [not found]         ` <1bdc18$jdgfni@fmsmga002.fm.intel.com>
     [not found]           ` <alpine.DEB.2.00.1101270840380.2736@localhost6.localdomain6>
     [not found]             ` <0d30dc$ksovh8@orsmga001.jf.intel.com>
     [not found]               ` <alpine.DEB.2.00.1101270854420.4898@localhost6.localdomain6>
     [not found]                 ` <b7da2f$q8lpcn@fmsmga001.fm.intel.com>
     [not found]                   ` <alpine.DEB.2.00.1101271634260.2761@localhost6.localdomain6>
     [not found]                     ` <alpine.DEB.2.00.1101271730400.2583@localhost6.localdomain6>
     [not found]                       ` <849307$bbem1h@azsmga001.ch.intel.com>
     [not found]                         ` <alpine.DEB.2.00.1101280421430.2739@localhost6.localdomain6>
     [not found]                           ` <0d30dc$kt3gd6@orsmga001.jf.intel.com>
     [not found]                             ` <alpine.DEB.2.00.1101280850550.2796@localhost6.localdomain6>
     [not found]                               ` <849307$bbh907@azsmga001.ch.intel.com>
2011-01-28 14:10                                 ` Robert P. J. Day [this message]
2011-01-28 14:32                                 ` Robert P. J. Day
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:08                                         ` 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:46                                             ` 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=alpine.DEB.2.00.1101280905510.3018@localhost6.localdomain6 \
    --to=rpjday@crashcourse.ca \
    --cc=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 \
    /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

all inboxes | Powered by JetHome®