Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2191083rbb; Tue, 27 Feb 2024 13:45:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCULb+U3ryNPtADSQBq2kgRjDqdLmw1rZGDJZb4EHzpck/oQqReWPYE6F53TQPrVwarl+uCBBdlfRC4L3W5Vwehdw/xD3nZqocdHaR9dAA== X-Google-Smtp-Source: AGHT+IHa1NtZi4EEa9vuUmKlLOISXaksubfVyAqaf2vE25LhDewcGhp/GClGwLG3gy4NOCnqMgaB X-Received: by 2002:a05:6a00:b4f:b0:6e5:5812:1cc7 with SMTP id p15-20020a056a000b4f00b006e558121cc7mr791029pfo.1.1709070321359; Tue, 27 Feb 2024 13:45:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709070321; cv=pass; d=google.com; s=arc-20160816; b=gb0cAxE/GpTg4GiJADGB+a406/AroS4dZeFK1UMeEqdazbBPn24kE8PkGeO+o2AvS5 JlcIEfQcYiiYGaLD7mbd0qojAcu2oA5U/X7EHqShOYbzHXseTdfIqQ4iB4hXuGh+aCIW eC9ppUmTFRmvmd2yYO3i4O5mBz0Im+N7ub6uYO5z6T5y4vyrjDlvTNW9tQy/2luSWDVe mKLcKaxWb6PRZSaoxfPmDjrvHZZuzCSPd35g4IL2bzDCfRCocOFUlQGesTV4kre9afXK 1oqu/+fBoQdoOVyeX3CD/UjFO0Ss425xRx/NDZGPa4iRcuxPuRIZ4DhM/U5osrX4lVdD kgwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=KhJKt7ifMXPaNWtBSb7KOeBwNaWZrhLFEKD+ppm4vNU=; fh=iWkGsoy7TPTmscZDaNwAhCaNzZd4htfetWN3qPRQ3vU=; b=Q0D3OINRhgis+zLoplPc+LdNcVgy3DD0LSp55SSD6POQNrRjioEMeYqW3878Jbh7Zh EnPdvx5U44v9DWc7qEtkOn7Hg6CquHWUkBgAerFn9dQC/uRcRZjWKyft2kFEuAkd9WBW er6vtoV/RytBEANs+G/opzs3P1qBd+SPNTvu7DElpZ2vjJV8FypoUSFK1xqUCP1X5IMM CMZR95a5hSERxqiC8zAcMmthjFp29bY8VK7UuzAHMtJV0y3PPd39ff24a1HGnKysUdy/ nz8AJo1dlr5QqkZ2eR8CmEoPbWE1SstkqOXZo5TVVy58S5JTCeqBdDuMbWCz4IQJNncL rA0Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Nq8Lvhx+; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-84010-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84010-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x27-20020a056a000bdb00b006e46743e609si6053528pfu.132.2024.02.27.13.45.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 13:45:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84010-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Nq8Lvhx+; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-84010-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84010-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8FE4FB2DA94 for ; Tue, 27 Feb 2024 21:01:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 05BCE15098B; Tue, 27 Feb 2024 21:00:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Nq8Lvhx+" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (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 5666B14EFFB for ; Tue, 27 Feb 2024 21:00:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067624; cv=none; b=bfMOPm6IG74V9FkqgJ/yn8u0bwk+vVWe5uUC+fi0FJ3isZ2mlAOMN2nOg8fl7isfOaG2eN9W+hI4Vw/iAXKy4rZOEX9HJ+0hQipjeDWjrPfUC9pjPaF1yH0ZZS7q0D3HDNykwu8N6g2KJZ5/wy91MnJ2b6JW3TEmq1pq7dftf1Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067624; c=relaxed/simple; bh=z/MCmD6qL+G1CmdcEq1CJWDPJ27NcmLHmOhrVHtt/R0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=osDvV7a7yU2dzMVMA5IOtmrOrKdssRxI2bQZVySKOglZVCSb+n7fjyRiuno5xkL1iMDPUeHaitpVjnJ0fgGdPgZHMjBAv+rDJNh42m9VxSgdxac5XPEMatRewdZwDvnlTwruMUiKOlRBfHiY3ZtAwpQATX2RQvdgEH3KpVYv3mE= 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=Nq8Lvhx+; arc=none smtp.client-ip=192.198.163.10 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709067622; x=1740603622; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z/MCmD6qL+G1CmdcEq1CJWDPJ27NcmLHmOhrVHtt/R0=; b=Nq8Lvhx+bV03yDJfDKvjyxktDLpJEYhg1ua3egK21f71ojTnVVsq4tB/ 17hBm1Pu0LLUYlv21lOeAxaDPa51O+15XkhkFq+fblbIGphBN+K130jI4 xAEGCAKC0YDwXhijye3PwJEgot8/Z0JhgbgwyszHYSCBJjJrV4vIv9Gyf C4X7tyWnvK57GjZDfZIk5z99jmxMT1L5ogkotSIF4tXgsr5G0QClEQeSl AYWobGW9w6/DdLasaOxle6encDpqYM85dy3KQlBXlB8sr6+hW1d59nVNG +u5vXjJgyyodMfiiGZzPSgE8qgZcqTxYscqfKnOoRLgJaEwjX8mc6dubJ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="14858452" X-IronPort-AV: E=Sophos;i="6.06,188,1705392000"; d="scan'208";a="14858452" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 13:00:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,188,1705392000"; d="scan'208";a="7150434" Received: from josouza-mobl2.bz.intel.com ([10.87.243.88]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 13:00:20 -0800 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= To: linux-kernel@vger.kernel.org, intel-xe@lists.freedesktop.org Cc: Rodrigo Vivi , Jonathan Cavitt , =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Subject: [PATCH 4/4] drm/xe: Increase devcoredump timeout Date: Tue, 27 Feb 2024 13:00:08 -0800 Message-ID: <20240227210008.182904-4-jose.souza@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240227210008.182904-1-jose.souza@intel.com> References: <20240227210008.182904-1-jose.souza@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5 minutes is too short for a regular user to search and understand what he needs to do to report capture devcoredump and report a bug to us, so here increasing this timeout to 1 hour. Cc: Rodrigo Vivi Cc: Jonathan Cavitt Signed-off-by: José Roberto de Souza --- drivers/gpu/drm/xe/xe_devcoredump.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/xe/xe_devcoredump.c b/drivers/gpu/drm/xe/xe_devcoredump.c index 3fef81396fe8a..f1a8ccbed7f13 100644 --- a/drivers/gpu/drm/xe/xe_devcoredump.c +++ b/drivers/gpu/drm/xe/xe_devcoredump.c @@ -52,6 +52,8 @@ #ifdef CONFIG_DEV_COREDUMP +#define XE_COREDUMP_TIMEOUT_SECS (60 * 60) + static struct xe_device *coredump_to_xe(const struct xe_devcoredump *coredump) { return container_of(coredump, struct xe_device, devcoredump); @@ -232,6 +234,7 @@ void xe_devcoredump(struct xe_sched_job *job) dev_coredumpm(xe->drm.dev, THIS_MODULE, coredump, 0, GFP_KERNEL, xe_devcoredump_read, xe_devcoredump_free); + dev_coredump_timeout_set(xe->drm.dev, XE_COREDUMP_TIMEOUT_SECS); } static void xe_driver_devcoredump_fini(struct drm_device *drm, void *arg) -- 2.44.0