All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Chris Wilson <chris@chris-wilson.co.uk>,
	intel-gfx@lists.freedesktop.org,
	Daniel Vetter <daniel.vetter@ffwll.ch>,
	stable@vger.kernel.org
Subject: Re: [PATCH] drm/i915: Declare the swizzling unknown for L-shaped configurations
Date: Thu, 30 Jul 2015 16:52:33 +0200	[thread overview]
Message-ID: <20150730145233.GA16722@phenom.ffwll.local> (raw)
In-Reply-To: <20150730070507.GG6035@nuc-i3427.alporthouse.com>

On Thu, Jul 30, 2015 at 08:05:07AM +0100, Chris Wilson wrote:
> On Sun, Jun 28, 2015 at 09:19:26AM +0100, Chris Wilson wrote:
> > The old style of memory interleaving swizzled upto the end of the
> > first even bank of memory, and then used the remainder as unswizzled on
> > the unpaired bank - i.e. swizzling is not constant for all memory. This
> > causes problems when we try to migrate memory and so the kernel prevents
> > migration at all when we detect L-shaped inconsistent swizzling.
> > However, this issue also extends to userspace who try to manually detile
> > into memory as the swizzling for an individual page is unknown (it
> > depends on its physical address only known to the kernel), userspace
> > cannot correctly swizzle.
> > 
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91105
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Cc: stable@vger.kernel.org
> 
> Daniel since you dropped v2 and had already reviewed this version, it
> would have been useful had you done the swap...

Simply forgot, sorry. I added a note about the earlier attempt and also
one to explain that cc: stable is for fixing up wc mmaps.

Picked up for -fixes, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

      reply	other threads:[~2015-07-30 14:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-28  8:19 [PATCH] drm/i915: Declare the swizzling unknown for L-shaped configurations Chris Wilson
2015-06-28 12:52 ` Chris Wilson
2015-06-29 12:25   ` [Intel-gfx] " Jani Nikula
2015-06-29 12:25     ` Jani Nikula
2015-06-29  7:07 ` Daniel Vetter
2015-06-29  7:07   ` Daniel Vetter
2015-06-29 13:46 ` shuang.he
2015-07-30  7:05 ` Chris Wilson
2015-07-30 14:52   ` Daniel Vetter [this message]

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=20150730145233.GA16722@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=chris@chris-wilson.co.uk \
    --cc=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=stable@vger.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 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.