From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com ([134.134.136.31]:61154 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753242AbeEKOhr (ORCPT ); Fri, 11 May 2018 10:37:47 -0400 Subject: Re: [PATCH] drm/i915/oa: Disable OA on Haswell To: Chris Wilson , intel-gfx@lists.freedesktop.org Cc: Matthew Auld , Joonas Lahtinen , Rodrigo Vivi , Jani Nikula , stable@vger.kernel.org References: <20180511135602.13071-1-chris@chris-wilson.co.uk> <152604831741.14639.14005844103011393462@mail.alporthouse.com> <467008df-d2c7-90d0-64ff-0b913892a3ed@intel.com> <152604926992.14639.4859924788453821082@mail.alporthouse.com> From: Lionel Landwerlin Message-ID: Date: Fri, 11 May 2018 15:37:43 +0100 MIME-Version: 1.0 In-Reply-To: <152604926992.14639.4859924788453821082@mail.alporthouse.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: stable-owner@vger.kernel.org List-ID: On 11/05/18 15:34, Chris Wilson wrote: > Quoting Lionel Landwerlin (2018-05-11 15:28:24) >> On 11/05/18 15:18, Chris Wilson wrote: >>> Quoting Lionel Landwerlin (2018-05-11 15:14:13) >>>> My understanding of the virtual memory addressing from the GPU is limited... >>>> But how can the GPU poke at the kernel's allocated data? >>>> I thought we mapped into the GPU's address space only what is allocated >>>> through gem. >>> Correct. The HW should only be accessing the pages through the GTT and >>> the GTT should only contain known pages (or a pointer to the scratch >>> page). There is maybe a hole where we are freeing the memory before >>> the HW has finished using it (still writing through stale TLB and >>> whatnot even though the system has reallocated the pages), but other >>> than that quite, quite scary. Hence this awooga. >>> >> Oh right... >> >> So this patch is a backup if you previous one won't fix the issue we see >> on CI? > Yes. Try to fix, it we can't, we disable until we can. It may also be > purely coincidental that we've seen this bug a few times around the same > test only on this machine... ;) > -Chris > Trying on a laptop.