From: Chris Wilson Subject: Re: [PATCH] drm/i915/bdw: The TLB invalidation mechanism has been removed from INSTPM Date: Thu, 13 Mar 2014 15:23:50 +0000 Message-ID: <20140313152350.GD8998@nuc-i3427.alporthouse.com> References: <1394674828-12129-1-git-send-email-damien.lespiau@intel.com> <20140313022145.GA5634@intel.com> <20140313075121.GB4615@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (mail.fireflyinternet.com [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id D5D2DFA773 for ; Thu, 13 Mar 2014 08:23:54 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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: Ben Widawsky Cc: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org On Thu, Mar 13, 2014 at 08:19:06AM -0700, Ben Widawsky wrote: > On Thu, Mar 13, 2014 at 12:51 AM, Chris Wilson wrote: > > Upon resume, the hardware continues writing the breadcrumbs into the old > > hws page (due to the stale TLB) and we try to read the seqno from the > > new page, so as shown by the error-states it appears that the breadcrumb > > writes are not happening. Since the hardware is writing to a random address, > > we are now corrupting random memory. > > > > Which is what I thought I said in the changelog. > > Yes, you did say that. However, we should be idling on freeze, so the > explanation > I was missing is how or why the HW is continuing to use the old status page even > though we've had to do a TLB flush when we emit the next batch. Different set of TLBs. This CS TLB appears to be unrelated to individual set of cache TLBs we flush with pipecontrols or flush_dw. -Chris -- Chris Wilson, Intel Open Source Technology Centre