Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp143390pxa; Tue, 18 Aug 2020 19:01:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmToSOiQybHWSAbwqgw6UH3i7kE87aYcx5jA5CsBtRXFrZdMPSi08QjQYvzValzCeVF+MR X-Received: by 2002:a17:907:1191:: with SMTP id uz17mr24101632ejb.184.1597802489506; Tue, 18 Aug 2020 19:01:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597802489; cv=none; d=google.com; s=arc-20160816; b=WX5jpfbiwod/botuR3QANMJWAE0MOHK4Lg7oJwEs38KE2r6veA84F+JZe/kRgUGSa1 LWYGRv3UabqvNKfRrxcrR/iaYwoGNj498/bBjhh32wtiq2HmNltR/0fo2c/eLBPc8hlQ 4r0IHlkXn4hl/53bu9shfcM9CMLF9VEUGJqbytNirt0NIBvgO7nqI+Wuy4xeDb1r0oVu oo05g1enRLNTyNZp4LiyrDMpVqiKvYKOopzyKds0NRN/099eKHbGnIVIydujaIYdilpM l9kRtChnc8GqLNX59kxPDzRUYijZSe52GSZHB/SdU0UX1ES1f3BVHxyjk5tuU38Gx78M hQEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Kva/k1UFU9lX2N7TTtpIgvJkFqnuUIPtW/9Hq387vwc=; b=W4Qpv7oAl57Bmox8xvLHy9/1bCCwPetuNfZRLLIGIYh8aBAL6VWUvteoBZPmaNBy0r GyXG/fjixrCKej/ZT26mDa64FzyAPvlDomqdnnAo3Q4fKafbt7qVZccAyQCXU/AWalRw kgkPpF4d2H4+TUR1qJ7E6tdibfYJ54znQ0z4ezzQD7lz1YJv4Q8/hmxb3/lXoyme2cbc +b2klUxDRs/tU2Xu1d04rQRoLJ1o59Yn2oXMWiD8DcWbTrh3ByCwx6P8TdRb6CSgAh/E bI1fpMSdFCyYL6/fUllF2SRh1YH/z48iWbfhXbaEXDCkHIXn2/dJcMjYav8f1690l3Mi mGlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E80VCHyq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g13si14095854edu.319.2020.08.18.19.01.06; Tue, 18 Aug 2020 19:01:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E80VCHyq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727022AbgHSBNF (ORCPT + 99 others); Tue, 18 Aug 2020 21:13:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726486AbgHSBND (ORCPT ); Tue, 18 Aug 2020 21:13:03 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31782C061389 for ; Tue, 18 Aug 2020 18:13:03 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id cq28so16753246edb.10 for ; Tue, 18 Aug 2020 18:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Kva/k1UFU9lX2N7TTtpIgvJkFqnuUIPtW/9Hq387vwc=; b=E80VCHyqzl3gqdes4ecq90ED7Teoc8Dly2yf/OW0+jZosjYQ4+6IbmLNkza5ENUV9a 00LaDl0rnvLZt0T5tfVqRCNtSE/Yh9uc6E9qUIp+85Ib+GYsKoV6YQWx7z68iwkuMKq1 uYDb1yLguz82kKnD0amyvpIB/Lkwomyrz4KElJuECYSvodnqlEHSInELcYYMFUr/mk3v tANj3qbpj3nRf7thLtCmPp+/OC6WpjkgRG03JKejP4BapuV3GDWK4MzisB2zyv097I8P l1aZBFgoeDfOYzZUoK+Wf413zbD4QjmhOqvJnHuJ7IkXHgeGhK94aXq4gd0Q2nYEuYnh tUIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Kva/k1UFU9lX2N7TTtpIgvJkFqnuUIPtW/9Hq387vwc=; b=pQQM2dfLXgzZLXnTA6G4+RhGe/iTuF+u9Ugdfu2u1PWAXyDS3EAlWlVsHggET9m3nX cR4qEc795aYrtkkRgwzPAzoQ+wQnZ153AMhUjjeS5NA1OxW6OHIgw3OJnC0GdPTDYLZi M/yTljEyOOnc2wYfeEmk3dGsh0OhDFsNV+KyF1tBZSiyHO71RGrqvGojMC+x6v7ebc8v F7VqEH5W6VZ3nMjFZthk1zuo2vom+8E6GAvEn/QJNGhVeIy4M3IsdMCX0pgaGdwAhaFA RDr+hz/WBLFxPqRMl1P1jn/dqfO+IYOzUeUvhjbjuVJr82mG3Wq33PWJdUKyqps9jtlc nGLQ== X-Gm-Message-State: AOAM531qFPl/w5/EuxtR0cZRzL8gpRqJJSNi7kRFerJAbDhS+uVraWPB YxXzjVubl20aTnoRKXv71If1fI6sisHWj59W/3A= X-Received: by 2002:a05:6402:2069:: with SMTP id bd9mr21969357edb.127.1597799581776; Tue, 18 Aug 2020 18:13:01 -0700 (PDT) MIME-Version: 1.0 References: <20200817161132.GA4711@amd> In-Reply-To: From: Dave Airlie Date: Wed, 19 Aug 2020 11:12:50 +1000 Message-ID: Subject: Re: [Intel-gfx] 5.9-rc1: graphics regression moved from -next to mainline To: Linus Torvalds , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Daniel Vetter Cc: Pavel Machek , Chris Wilson , Matthew Auld , intel-gfx , kernel list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 19 Aug 2020 at 10:38, Linus Torvalds wrote: > > Ping on this? > > The code disassembles to > > 24: 8b 85 d0 fd ff ff mov -0x230(%ebp),%eax > 2a:* c7 03 01 00 40 10 movl $0x10400001,(%ebx) <-- trapping instruction > 30: 89 43 04 mov %eax,0x4(%ebx) > 33: 8b 85 b4 fd ff ff mov -0x24c(%ebp),%eax > 39: 89 43 08 mov %eax,0x8(%ebx) > 3c: e9 jmp ... > > which looks like is one of the cases in __reloc_entry_gpu(). I *think* > it's this one: > > } else if (gen >= 3 && > !(IS_I915G(eb->i915) || IS_I915GM(eb->i915))) { > *batch++ = MI_STORE_DWORD_IMM | MI_MEM_VIRTUAL; > *batch++ = addr; > *batch++ = target_addr; > > where that "batch" pointer is 0xf8601000, so it looks like it just > overflowed into the next page that isn't there. > > The cleaned-up call trace is > > drm_ioctl+0x1f4/0x38b -> > drm_ioctl_kernel+0x87/0xd0 -> > i915_gem_execbuffer2_ioctl+0xdd/0x360 -> > i915_gem_do_execbuffer+0xaab/0x2780 -> > eb_relocate_vma > > but there's a lot of inling going on, so.. > > The obvious suspect is commit 9e0f9464e2ab ("drm/i915/gem: Async GPU > relocations only") but that's going purely by "that seems to be the > main relocation change this mmrge window". I think there's been some discussion about reverting that change for other reasons, but it's quite likely the culprit. Maybe we can push for a revert sooner, (cc'ing more of i915 team). Dave.