Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60E023A63EB for ; Tue, 24 Feb 2026 16:36:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771950964; cv=none; b=OJDJ2DbBXGspG4CeKO9gpwMJXx38KnSENQVOZ7SN5zpq4ea4nYXsU+3/vZCQjlO71yfY/vCPSPW/N1oIeSvOPLrUWx8zwUeUyOE+kZoX4RI83agGz+XyfET2iw9zf9U4B2pqDZXNUU48+y5X8T8BUz4vLyKOP4qxtB5Mz67miLg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771950964; c=relaxed/simple; bh=E5FcJ17P9iYye3aEMUUBS/vcgWA1jvdXZPl9Ol4vIJI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=juhH1gDECzMvOyNi0aqjx7r40eBQjnRVZ6bppFTRF5KozRe7MLfvuz0cZd6Jnkk6LTNRhfI/kJeTTaeyOFAN9TotibaJFOU7lLBUJlJ1b4/G+BGci2Ze14jFuGw6d/tsDl0cHlmp7VxEvTWPIJv1FeJs5SyRtytv2vd8BDKB+pw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=CMfi4Io3; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="CMfi4Io3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1771950962; x=1803486962; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=E5FcJ17P9iYye3aEMUUBS/vcgWA1jvdXZPl9Ol4vIJI=; b=CMfi4Io33iQbgaBChv6P0nEsq3xzjjLAe7fBAr/+nQHmKawxF9KHlPsU /Rr722qOT278VYPaLzLqDp0TrmKUuZC0UdyBeQ6Oz+v/SSMcOCKp5TyhW 0CcpWnMRq3BkO8rsTvJoKn3yziSMyY/nTcSKWtSOob7kz4Y88Dhelcd1q vW8KPmR1DxTylRxKFi3dunM3gJexCZMyhNdNnb8h3H7WammtGk+zIkbRL 3uiZyUm6Kovmpe+d29DM/B4Q1oVxohbu8PShIHcvCCgtEdLI3S42HL10w 79ieSQd7RjEiPWstX1RTHgHC6Sj7zxjRBzDn/DF6hZFe1MX6SM+8OMLGM w==; X-CSE-ConnectionGUID: qzmYfZbRSrScq0p3BvD0ZA== X-CSE-MsgGUID: 2Mi1qzbRSCW3wnmrzL8mmw== X-IronPort-AV: E=McAfee;i="6800,10657,11711"; a="73040146" X-IronPort-AV: E=Sophos;i="6.21,308,1763452800"; d="scan'208";a="73040146" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2026 08:35:58 -0800 X-CSE-ConnectionGUID: EeK0dOKATjiprs7Shjn21w== X-CSE-MsgGUID: E79UPkitQ663jny0WijK1A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,308,1763452800"; d="scan'208";a="220555632" Received: from guc-pnp-dev-box-1.fm.intel.com ([10.1.39.24]) by fmviesa005.fm.intel.com with ESMTP; 24 Feb 2026 08:35:58 -0800 From: Zhanjun Dong To: intel-xe@lists.freedesktop.org Cc: Zhanjun Dong , stable@vger.kernel.org, Matthew Brost Subject: [PATCH v8 5/7] drm/xe/guc: Ensure CT state transitions via STOP before DISABLED Date: Tue, 24 Feb 2026 11:35:53 -0500 Message-Id: <20260224163555.218750-6-zhanjun.dong@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260224163555.218750-1-zhanjun.dong@intel.com> References: <20260224163555.218750-1-zhanjun.dong@intel.com> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The GuC CT state transition requires moving to the STOP state before entering the DISABLED state. Update the driver teardown sequence to make the proper state machine transitions. Fixes: ee4b32220a6b ("drm/xe/guc: Add devm release action to safely tear down CT") Cc: stable@vger.kernel.org Signed-off-by: Zhanjun Dong Reviewed-by: Matthew Brost --- drivers/gpu/drm/xe/xe_guc_ct.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c b/drivers/gpu/drm/xe/xe_guc_ct.c index 8a45573f8812..7e66e9420f5d 100644 --- a/drivers/gpu/drm/xe/xe_guc_ct.c +++ b/drivers/gpu/drm/xe/xe_guc_ct.c @@ -346,6 +346,7 @@ static void guc_action_disable_ct(void *arg) { struct xe_guc_ct *ct = arg; + xe_guc_ct_stop(ct); guc_ct_change_state(ct, XE_GUC_CT_STATE_DISABLED); } -- 2.34.1