From patchwork Wed Oct 30 14:51:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timo Aaltonen X-Patchwork-Id: 2004241 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xdqnp15BWz1xxp for ; Thu, 31 Oct 2024 01:51:25 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1t6A2X-0001J3-NB; Wed, 30 Oct 2024 14:51:17 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1t6A2V-0001HU-Dv for kernel-team@lists.ubuntu.com; Wed, 30 Oct 2024 14:51:15 +0000 Received: from leon.CtrlMice (43-114-103-145.static.glaslokaal.nl [145.103.114.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 35EEB3F9AF for ; Wed, 30 Oct 2024 14:51:15 +0000 (UTC) From: Timo Aaltonen To: kernel-team@lists.ubuntu.com Subject: [SRU][O][PATCH 0/4] drm/xe: Fix LNL gpu getting wedged after idling Date: Wed, 30 Oct 2024 16:51:10 +0200 Message-ID: <20241030145114.243657-1-tjaalton@ubuntu.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2085944 [Impact] Leaving a system with Lunar Lake idle for an hour or so will end up with the display driver getting wedged requiring a reboot. This is fixed upstream by this commit: commit 22ef43c78647dd37b0dafe2182b8650b99dbbe59 Author: Badal Nilawar Date: Thu Oct 17 16:44:10 2024 +0530 drm/xe/guc/ct: Flush g2h worker in case of g2h response timeout but in order to apply cleanly, we also need a set of three patches which are already in v6.11.5 [Test case] Boot a patched kernel on LNL, leave it idle for a couple of hours/overnight and check that it's still working normally. Badal Nilawar (1): drm/xe/guc/ct: Flush g2h worker in case of g2h response timeout Matthew Auld (3): drm/xe/guc_submit: fix xa_store() error checking drm/xe/ct: prevent UAF in send_recv() drm/xe/ct: fix xa_store() error checking drivers/gpu/drm/xe/xe_guc_ct.c | 62 +++++++++++++++++++++--------- drivers/gpu/drm/xe/xe_guc_submit.c | 9 ++--- 2 files changed, 47 insertions(+), 24 deletions(-) Signed-off-by: Lucas De Marchi Acked-by: Stefan Bader Acked-by: Guoqing Jiang