From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4F89C433DB for ; Tue, 9 Feb 2021 16:47:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 61F7A64E9D for ; Tue, 9 Feb 2021 16:47:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233159AbhBIQrK (ORCPT ); Tue, 9 Feb 2021 11:47:10 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:43567 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233028AbhBIQpe (ORCPT ); Tue, 9 Feb 2021 11:45:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612889043; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jXgigGlEWwXeuHFBknU4UpbbHCCiPYOX7SCmGJAz80k=; b=DyV054QVZwn2SMV8b/A/s0AUqLhZHcvbLALJuiaZySo71UMq5yNzAOol9nNVKXOF5AeM7Y Yr3EHGbANrIg68rUGudbl69DWwOBmhegZZleomO94ViX+69o4f93dFXC9jpzUZWM2SwdQo avXu0UIj7xXD9cIcC/4+s1DwAm80iiM= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-528-wD15JNl7Muysh-S9s5IpSA-1; Tue, 09 Feb 2021 11:44:00 -0500 X-MC-Unique: wD15JNl7Muysh-S9s5IpSA-1 Received: by mail-ed1-f70.google.com with SMTP id t9so18540062edd.3 for ; Tue, 09 Feb 2021 08:44:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jXgigGlEWwXeuHFBknU4UpbbHCCiPYOX7SCmGJAz80k=; b=PoRJFBNVkis1w8B4WaNBw90aYRDU/3PRf/loDU0RgZdltBV+eyeVZtZ1mxeI07zBdZ B232DkSBQZ2EXemRgvG+e6qyXU2LLEjjBcVFq8wXfLX90tmmvdidJ7O/EHxKo0XfO8VZ EMMSoorZ1PSXNupV6IaXs5qa5j940mANSt9j6TGIx9LGk2TUPtRWWXIzRlllhXJSfRH/ rTUxfvCbPLZvUP/gkjpsujJbCiTyKvEHmZ01GekhRXFL9KLJgSirMtqu/vfYcNDDLHtp Gq4YoXhqFU40BfBv0vpqZAenOWEKJSr3qxpukfZKjNPU0hcC0Cm+dcKyRTPNqeYmQ1Ky zIuQ== X-Gm-Message-State: AOAM530S32ITH6VzAWWwUIjy5Gqv416Nh6GsfSDdaDu03JB44BjclvWs SoK4Cl/sXpXwp0TLaRsgH68RaFMbn4O5FGExnVP4NgpaJko3ln5Ja75De6sXHxPhBxCQn33sATf TMf5PBQjus70rDrgQJnbuinfnzwjp3ziX+eJldBwHpuGYL/T4OQA2Re+LW7M81uvZAc+a X-Received: by 2002:a17:906:1be9:: with SMTP id t9mr22841988ejg.527.1612889039656; Tue, 09 Feb 2021 08:43:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJz80em6MoRBiFwcDp4DrFzeg9eZXV4029nWQZ0qYr/6kTtG6eLyGrOybSwxBTQaYCk0Vcn1EQ== X-Received: by 2002:a17:906:1be9:: with SMTP id t9mr22841954ejg.527.1612889039340; Tue, 09 Feb 2021 08:43:59 -0800 (PST) Received: from x1.localdomain (2001-1c00-0c1e-bf00-1054-9d19-e0f0-8214.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1054:9d19:e0f0:8214]) by smtp.gmail.com with ESMTPSA id z19sm5135435edr.69.2021.02.09.08.43.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Feb 2021 08:43:58 -0800 (PST) Subject: Re: [Intel-gfx] [5.10.y regression] i915 clear-residuals mitigation is causing gfx issues To: Chris Wilson , Greg Kroah-Hartman , intel-gfx , stable@vger.kernel.org References: <161282685855.9448.10484374241892252440@build.alporthouse.com> From: Hans de Goede Message-ID: <20c3d11d-75f6-ad82-1100-3015ff463406@redhat.com> Date: Tue, 9 Feb 2021 17:43:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <161282685855.9448.10484374241892252440@build.alporthouse.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Hi, On 2/9/21 12:27 AM, Chris Wilson wrote: > Quoting Hans de Goede (2021-02-08 20:38:58) >> Hi All, >> >> We (Fedora) have been receiving reports from multiple users about gfx issues / glitches >> stating with 5.10.9. All reporters are users of Ivy Bridge / Haswell iGPUs and all >> reporters report that adding i915.mitigations=off to the cmdline fixes things, see: > > I tried to reproduce this on the w/e on hsw-gt1, to no avail; and piglit > did not report any differences with and without mitigations. I have yet > to test other platforms. So I don't yet have an alternative. Though note > that v5.11 and v5.12 will behave similarly, so we need to urgently find > a fix for Linus's tree anyway. Note I've gone ahead and prepared a test kernel for the Fedora bug reports with the following 3 commits reverted from 5.10.y : 520d05a77b2866eb ("drm/i915/gt: Clear CACHE_MODE prior to clearing residuals") ecca0c675bdecebd ("drm/i915/gt: Restore clear-residual mitigations for Ivybridge, Baytrail") 48b8c6689efa7cd6 ("drm/i915/gt: Limit VFE threads based on GT") (Note this are the 5.10.y hashes) I know going this route is not ideal but it might be best for 5.10.y for now. I will let you know if reverting these 3 actually helps once I hear back from the reporters of the issue. Regards, Hans From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E38FC433E0 for ; Tue, 9 Feb 2021 16:44:06 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2945C64DD1 for ; Tue, 9 Feb 2021 16:44:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2945C64DD1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8A5756EB7D; Tue, 9 Feb 2021 16:44:05 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 34F866EB7D for ; Tue, 9 Feb 2021 16:44:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612889042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jXgigGlEWwXeuHFBknU4UpbbHCCiPYOX7SCmGJAz80k=; b=NzkksmDrSwYKrv2kH/OCHqNOfH5Knikx2lXeqZ2GiLBir/KG92KNc11iHtSuTJAbSoiaHi Py77oWSkzjRgLY5qx/RyKChncgA49PD6xniIaWkDBpOsffH7Oq6ENGqnGE5nsRkIuTYbcS tDWxhxDacq4fqS0QqJj99lhKefUcpWM= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-139-JC5FbY2jOR6n4Skj6Kz-aQ-1; Tue, 09 Feb 2021 11:44:00 -0500 X-MC-Unique: JC5FbY2jOR6n4Skj6Kz-aQ-1 Received: by mail-ed1-f70.google.com with SMTP id w23so18550683edr.15 for ; Tue, 09 Feb 2021 08:44:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jXgigGlEWwXeuHFBknU4UpbbHCCiPYOX7SCmGJAz80k=; b=WvQrmEqwAptmcT1dBYfu4wQJeDZ/gRLoG7ShkekjfH+qnD3X7PdbkQEcAYdLbM8qMs wFJWQqgwFbLP/unSUjpSdXz9JFJFc0kpqkrB8vkIDN2mNLdLc64Kzy1poQ1eVRD5f3YO nMV0yKugs3SJ8XlJmTK7Lm1+9IeEKR2AkLBk8kyTNX8Y477i33vyBukgiE2oRejvvsBa O8LNQzKOCWDyea1JT4GlVmH+PfLllX9EhKvF2cEANKwrvrXVQK0CX5+o3UT+cqavUURy 9yV2rOMu9IHdZZHZQe/hBQvnNR1fQWkzu2YEbpFE3h0DwOUZTNmR9bFMgztsDZ8y80S0 vKuA== X-Gm-Message-State: AOAM532MPKBlclEYXjIL5sgis44a9Kgw7hC4kYIZm2Yp5I0HjK1dWSRc NXE/pyqgHQyUDHJmrKE+UWEBzTH2QK2FRYrIbvhJh0XCwQLQ0pv3EZZyHtskWlBIVUWsOcVzT+3 ns/qA2tsDoPDV0j4OtZrlFHDEpXf3 X-Received: by 2002:a17:906:1be9:: with SMTP id t9mr22841981ejg.527.1612889039628; Tue, 09 Feb 2021 08:43:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJz80em6MoRBiFwcDp4DrFzeg9eZXV4029nWQZ0qYr/6kTtG6eLyGrOybSwxBTQaYCk0Vcn1EQ== X-Received: by 2002:a17:906:1be9:: with SMTP id t9mr22841954ejg.527.1612889039340; Tue, 09 Feb 2021 08:43:59 -0800 (PST) Received: from x1.localdomain (2001-1c00-0c1e-bf00-1054-9d19-e0f0-8214.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1054:9d19:e0f0:8214]) by smtp.gmail.com with ESMTPSA id z19sm5135435edr.69.2021.02.09.08.43.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Feb 2021 08:43:58 -0800 (PST) To: Chris Wilson , Greg Kroah-Hartman , intel-gfx , stable@vger.kernel.org References: <161282685855.9448.10484374241892252440@build.alporthouse.com> From: Hans de Goede Message-ID: <20c3d11d-75f6-ad82-1100-3015ff463406@redhat.com> Date: Tue, 9 Feb 2021 17:43:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <161282685855.9448.10484374241892252440@build.alporthouse.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=hdegoede@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Subject: Re: [Intel-gfx] [5.10.y regression] i915 clear-residuals mitigation is causing gfx issues X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi, On 2/9/21 12:27 AM, Chris Wilson wrote: > Quoting Hans de Goede (2021-02-08 20:38:58) >> Hi All, >> >> We (Fedora) have been receiving reports from multiple users about gfx issues / glitches >> stating with 5.10.9. All reporters are users of Ivy Bridge / Haswell iGPUs and all >> reporters report that adding i915.mitigations=off to the cmdline fixes things, see: > > I tried to reproduce this on the w/e on hsw-gt1, to no avail; and piglit > did not report any differences with and without mitigations. I have yet > to test other platforms. So I don't yet have an alternative. Though note > that v5.11 and v5.12 will behave similarly, so we need to urgently find > a fix for Linus's tree anyway. Note I've gone ahead and prepared a test kernel for the Fedora bug reports with the following 3 commits reverted from 5.10.y : 520d05a77b2866eb ("drm/i915/gt: Clear CACHE_MODE prior to clearing residuals") ecca0c675bdecebd ("drm/i915/gt: Restore clear-residual mitigations for Ivybridge, Baytrail") 48b8c6689efa7cd6 ("drm/i915/gt: Limit VFE threads based on GT") (Note this are the 5.10.y hashes) I know going this route is not ideal but it might be best for 5.10.y for now. I will let you know if reverting these 3 actually helps once I hear back from the reporters of the issue. Regards, Hans _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx