From: Peter Zijlstra <peterz@infradead.org>
To: Hans de Goede <hdegoede@redhat.com>
Cc: intel-gfx@lists.freedesktop.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
x86@kernel.org, hch@lst.de
Subject: Re: 5.13 i915/PAT regression on Brasswell, adding nopat to the kernel commandline worksaround this
Date: Wed, 12 May 2021 13:15:03 +0200 [thread overview]
Message-ID: <YJu4tzXmCJbKp7Fm@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <b6b61cf0-5874-f4c0-1fcc-4b3848451c31@redhat.com>
On Wed, May 12, 2021 at 11:57:02AM +0200, Hans de Goede wrote:
> Hi All,
>
> I'm not sure if this is a i915 bug, or caused by changes elsewhere in the kernel,
> so I thought it would be best to just send out an email and then see from there.
>
> With 5.13-rc1 gdm fails to show and dmesg contains:
>
> [ 38.504613] x86/PAT: Xwayland:683 map pfn RAM range req write-combining for [mem 0x23883000-0x23883fff], got write-back
> <repeated lots of times for different ranges>
> [ 39.484766] x86/PAT: gnome-shell:632 map pfn RAM range req write-combining for [mem 0x1c6a3000-0x1c6a3fff], got write-back
> <repeated lots of times for different ranges>
> [ 54.314858] Asynchronous wait on fence 0000:00:02.0:gnome-shell[632]:a timed out (hint:intel_cursor_plane_create [i915])
> [ 58.339769] i915 0000:00:02.0: [drm] GPU HANG: ecode 8:1:86dfdffb, in gnome-shell [632]
> [ 58.341161] i915 0000:00:02.0: [drm] Resetting rcs0 for stopped heartbeat on rcs0
> [ 58.341267] i915 0000:00:02.0: [drm] gnome-shell[632] context reset due to GPU hang
>
> Because of the PAT errors I tried adding "nopat" to the kernel commandline
> and I'm happy to report that that works around this.
>
> Any hints on how to debug this further (without doing a full git bisect) would be
> appreciated.
IIRC it's because of 74ffa5a3e685 ("mm: add remap_pfn_range_notrack"),
which added a sanity check to make sure expectations were met. It turns
out they were not.
The bug is not new, the warning is. AFAIK the i915 team is aware, but
other than that I've not followed.
next prev parent reply other threads:[~2021-05-12 11:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-12 9:57 5.13 i915/PAT regression on Brasswell, adding nopat to the kernel commandline worksaround this Hans de Goede
2021-05-12 11:15 ` Peter Zijlstra [this message]
2021-05-12 11:57 ` Christoph Hellwig
2021-05-12 12:36 ` Hans de Goede
2021-05-18 9:28 ` [Intel-gfx] " Jani Nikula
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=YJu4tzXmCJbKp7Fm@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=hch@lst.de \
--cc=hdegoede@redhat.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@kernel.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