Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1717394pxb; Thu, 4 Nov 2021 07:17:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyV/15tigNGQutd7w4bKgE9/JhJcuVCN5aJp/X/dxydg5UeOWvKr3FPwMo/7JlxFbNJKWW X-Received: by 2002:a02:7105:: with SMTP id n5mr4081560jac.64.1636035454484; Thu, 04 Nov 2021 07:17:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636035454; cv=none; d=google.com; s=arc-20160816; b=hMRBv3J1iIM3kKgoLtVDCIcxaA92vmD7krjfcapQ+uhxG8KLWM1bRcGSGk4tXY/rTl ECLCwc2JYD5b1EVn9aLmOH2u8upYtTecQ1/OJlsWFBTI1D3kG3nSDb3H/T8Tx5wxjiKo oiG+2deHmAnrZ/sE3VnjsAkiR4CH57zeNkNRbRF3eFixqlckikryJLnJ5K2Kvine1Afl DaXtcoovKs0IfttpYYJU52P7lJlR59YGdfIluY//9FoyJY1ySmAwh5A80/hnM577+eJ0 OuU6f3Y7p6ywHL8JoAfAJAihi17MSxt/XkNFP7eBXTPRio9iFBBLRmh6+sYM8EZZWfXd wadA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=k2uqrOnt/iRW7jpy7g6sFE71Ijh02O0fPs/KU8Yw1bY=; b=Us3WQo2W9yW5R4QFVx8r6XRYs1zBYgcWhlGzSplsTkvlJ3cPMNUWOKDYQGU1cr2iA1 yrAJ546ZWTCEiXRuXb/szINOdd4IO8LQlMxB4fpRMu/KL65qo2moI391/2YFE0YNFKQr flN82m6qRhWCGwEZsyZ6BmNBRWlVpawO+/2sDb8hOjG5J11gNs8KdlKopobbdLAJvMKM uD92XErT2uwzKRQO2IcUmogyBQeoC2Q6Jhf6oCG6DYYlGAWx+SBmbAXlovLMq3AJVpOt kb7GhvhjXfB63xm579xnwBJ0I2AwmLHo0Nw0pJsFAO2OQHUud15jNAfovrsTrPT1317M f7OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aqvpomHj; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si12017923ila.24.2021.11.04.07.17.19; Thu, 04 Nov 2021 07:17:34 -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=@linuxfoundation.org header.s=korg header.b=aqvpomHj; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231380AbhKDOQ2 (ORCPT + 99 others); Thu, 4 Nov 2021 10:16:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:44820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231311AbhKDOQZ (ORCPT ); Thu, 4 Nov 2021 10:16:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C737C60F39; Thu, 4 Nov 2021 14:13:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1636035227; bh=d9W2bJ8u9CmBWoEr8NEtdlUSedLn2VTb0hCSP8C870E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aqvpomHjnQ1fU22nBP2upMMGE9b7pKIiPQTxgIVcB8ceabVjoz9FjMe7rGLR2JIfA 2ry2pKBjXhqhY0GGqau9VPQr7hlEkJLYYTxNEQSn8NAawlg6Uwopp7jJLncHLZB3Uf QW0IKR7ig0cySiRPA7n302s0gvgtNHc3kd0JM7vQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Matthew Brost , Daniele Ceraolo Spurio , Daniel Vetter , John Harrison Subject: [PATCH 5.15 11/12] Revert "drm/i915/gt: Propagate change in error status to children on unhold" Date: Thu, 4 Nov 2021 15:12:37 +0100 Message-Id: <20211104141159.923851880@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211104141159.551636584@linuxfoundation.org> References: <20211104141159.551636584@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthew Brost commit ac653dd7996edf1770959e11a078312928bd7315 upstream. Propagating errors to dependent fences is broken and can lead to errors from one client ending up in another. In commit 3761baae908a ("Revert "drm/i915: Propagate errors on awaiting already signaled fences""), we attempted to get rid of fence error propagation but missed the case added in commit 8e9f84cf5cac ("drm/i915/gt: Propagate change in error status to children on unhold"). Revert that one too. This error was found by an up-and-coming selftest which triggers a reset during request cancellation and verifies that subsequent requests complete successfully. v2: (Daniel Vetter) - Use revert v3: (Jason) - Update commit message v4 (Daniele): - fix checkpatch error in commit message. Signed-off-by: Matthew Brost Signed-off-by: Daniele Ceraolo Spurio Reviewed-by: Daniel Vetter Signed-off-by: John Harrison Link: https://patchwork.freedesktop.org/patch/msgid/20210909164744.31249-8-matthew.brost@intel.com Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 4 ---- 1 file changed, 4 deletions(-) --- a/drivers/gpu/drm/i915/gt/intel_execlists_submission.c +++ b/drivers/gpu/drm/i915/gt/intel_execlists_submission.c @@ -2140,10 +2140,6 @@ static void __execlists_unhold(struct i9 if (p->flags & I915_DEPENDENCY_WEAK) continue; - /* Propagate any change in error status */ - if (rq->fence.error) - i915_request_set_error_once(w, rq->fence.error); - if (w->engine != rq->engine) continue;