From: Alan Cox Subject: Re: [PATCH] drm/i915: fix vxd392 memory corruption on VLV and >4GB Date: Sun, 09 Mar 2014 20:23:22 +0000 Message-ID: <1394396602.25507.188.camel@acox1-desk.ger.corp.intel.com> References: <1394241231-17242-1-git-send-email-sean.v.kelley@intel.com> <20140308092554.GE20302@nuc-i3427.alporthouse.com> <20140308100749.GJ25837@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id AA8C9FB296 for ; Sun, 9 Mar 2014 13:23:33 -0700 (PDT) In-Reply-To: <20140308100749.GJ25837@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Daniel Vetter Cc: intel-gfx@lists.freedesktop.org, Fei Jiang List-Id: intel-gfx@lists.freedesktop.org > offending pages around when vxd392 attaches - i.e. we need to check the > attached device's dma masks and if there's something offending, migrate > the buffer with a differen shmem allocation mask. Iirc Alan Cox had > patches to do just that (but for swapoff, still the same idea though). The shmemfs code knows about this for GEM (and anything else it backs). My only credit is finding the problem, I didn't do the fixing! Alan