Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 9BF6ECCD19B for ; Thu, 2 Oct 2025 05:54:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A2EDC10E7B3; Thu, 2 Oct 2025 05:54:13 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="D6oVByn1"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id BB1F210E798 for ; Thu, 2 Oct 2025 05:54:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1759384449; x=1790920449; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=L8+A6Uau+/2K5YadtuewVSudAlCxYXWhd3gl0ho9e4A=; b=D6oVByn1Gv+VqvwBzG574Kb1tWomG+6vP2nf1tj8ONdIJbmUy8pzV7yi c/MC6MYhswNbQmDEuHeL/WphkpwNHscljZIhveOPEU2RhDywlLMIrIBsW sU2Hbu0GAGXjTPdDQWHENojZ28W0FcsmlHjVm6zdCnwkIeUG8Yw0DrynP 5HI1T3K3fCUfk08J7mWgrAbdS0/3JaFUKFd0pv/2GhGE/+AN3aaCL5n6j x6sAJhhoh/NLSI5f7QFfwRboLLIa/YF7CJ0dSuljPSEX6UGbSx9p52Np/ /MFm5jqUrIkWHlWLTFncVKSxMLHgXYGUEM568/1AffPubR4vrChitIh7Q w==; X-CSE-ConnectionGUID: is7QD7G/T/u1XLDr+O1CAA== X-CSE-MsgGUID: kCmdX/7QTF+ggmqapv3w+g== X-IronPort-AV: E=McAfee;i="6800,10657,11569"; a="65304528" X-IronPort-AV: E=Sophos;i="6.18,308,1751266800"; d="scan'208";a="65304528" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Oct 2025 22:54:07 -0700 X-CSE-ConnectionGUID: 2sP0OQRPRPSSSmd7rCDmPQ== X-CSE-MsgGUID: l1if12uGTrGG0oVqv4qIwQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.18,308,1751266800"; d="scan'208";a="216083560" Received: from lstrano-desk.jf.intel.com ([10.54.39.91]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Oct 2025 22:54:07 -0700 From: Matthew Brost To: intel-xe@lists.freedesktop.org Subject: [PATCH v4 34/34] drm/xe/guc: Increase wait timeout to 2sec after BUSY reply from GuC Date: Wed, 1 Oct 2025 22:54:02 -0700 Message-Id: <20251002055402.1865880-35-matthew.brost@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251002055402.1865880-1-matthew.brost@intel.com> References: <20251002055402.1865880-1-matthew.brost@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" From: Satyanarayana K V P Some VF2GUC actions may take longer to process. Increase default timeout after received BUSY indication to 2sec to cover all worst case scenarios. Signed-off-by: Satyanarayana K V P Signed-off-by: Matthew Brost Cc: Michal Wajdeczko Reviewed-by: Matthew Brost --- drivers/gpu/drm/xe/xe_guc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c index c016a11b6ab1..f0de1fa61898 100644 --- a/drivers/gpu/drm/xe/xe_guc.c +++ b/drivers/gpu/drm/xe/xe_guc.c @@ -1439,7 +1439,7 @@ int xe_guc_mmio_send_recv(struct xe_guc *guc, const u32 *request, BUILD_BUG_ON((GUC_HXG_TYPE_RESPONSE_SUCCESS ^ GUC_HXG_TYPE_RESPONSE_FAILURE) != 1); ret = xe_mmio_wait32(mmio, reply_reg, resp_mask, resp_mask, - 1000000, &header, false); + 2000000, &header, false); if (unlikely(FIELD_GET(GUC_HXG_MSG_0_ORIGIN, header) != GUC_HXG_ORIGIN_GUC)) -- 2.34.1