Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp514067lqp; Wed, 12 Jun 2024 08:13:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUAedZc73Apxf1HJby5TAgwF7i5CtaAD7EYSdp3ja1ifxjVc3XM4mAOdVR25D77CbtEolWTyvmILYHcgA7gvKmsZrJZh5vXvVw9c0eq+Q== X-Google-Smtp-Source: AGHT+IGykL2G3Pxl9u8+sPYGK7274kBgWKG5ve6+3814RPYoSaHxHvNlNa3ElRrZdGbST117zZ7N X-Received: by 2002:a17:906:7190:b0:a6e:f3d7:3de6 with SMTP id a640c23a62f3a-a6f47f8bf23mr134208066b.20.1718205192162; Wed, 12 Jun 2024 08:13:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718205192; cv=pass; d=google.com; s=arc-20160816; b=0GBHs9rrMxdv694whUaYY/nZLy45Fsb010DJ+s9w3r5Eb9WJNbzcPB/syJGFsLk+0s tyv6iZUXqL2rCbHzlPrwtoEDEbLBwoDpuZr107oGl6ReBuGn9J4KzYuTMPQbSWAQ9/T9 51HbUiKoUjq7RdMnqYCLutZIlwu4lHmCF6h3rU8j6zRJQGIZkJA+AD3ZvQRnFCf4bx87 uyg93FBWqT9NmZ84IvxJ5rS1qHBZDPayXtTFDjXNL5zhPn6evbtKzNBoBEhZZW2In9b1 /1k9cPndlE9rysJwhb7MfjOqgAbGhBabfCMqOWdor6Zr3R+1fSJYsdmjtv8QWUiQPMvR AfAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MiTYEQgB1aB3zD043em0DffBVUDQxe6HDChThRkbA4E=; fh=beapPJ19e7lqqyt1s9/p9zMX+u9iO/vEcniZBfXu+Kw=; b=VaFwcsMTRK6xjx4V6f3uA/XoHmoMfO/gLPVpAbLvKwRxzi1vXlh2pbZM86UaX5IYQS m4q9p1fAjzS2kQ1+Mg04w3MzcyCaGHqVexPHtjxGEBZ8HFS2tXhKo/LmkVNZWBH7cxVH NSYjUZRiH5z/9MoqFBQAE4g7Sp7gp7o9M7ieXo0DkgLTOVz8CGKdyEbyxvK7P69g20o1 oQzMJFf/DvQh/QXlphXUqfyxCbbGK99B5jono84h7F9fDc/jJoZv4SQNIeFTqxn4+b1w k2/2AZH2+vZ+1qhJqyenTOh2tYDuQWwKCbf5DAx4d9xUEbAEWycvV9ZX1ul9kd33m6fN W7rg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="P7r/Zs9H"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c6b27ec01si4853831a12.171.2024.06.12.08.13.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 08:13:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="P7r/Zs9H"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7E05B1F25260 for ; Wed, 12 Jun 2024 15:13:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AA9791822D1; Wed, 12 Jun 2024 15:10:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="P7r/Zs9H" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D551717F502 for ; Wed, 12 Jun 2024 15:10:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718205005; cv=none; b=IC0ocESZf+PpPMRyQFSlVrKNzK3PSqJ/lNujZ9GX+RhgI8Fn+BEUfY8Q4iUKYNwuP34gu19brfD3R4AZFySpaqDUYrA2nUf6I+LdMTUZx6LQzDy3hvg9Pamq6cGyEpnIw7/4tUyO5B1RJdF+Df6pLbFdIddOxqORO3DD2NDjhQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718205005; c=relaxed/simple; bh=ZuEtNZwwOHtkdd1OwgkAj9rzmJGCtDmVV3FUpnzB+QE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VEbPXEEeGn6qIsQORQOyt4mybY+M1zhBRwqb9gO+6kzhna1zVkY4aoOoXw8nxUOGo04FYeqc6xTOIh+L/FuEtHqqwLbh8JHAv3/SXMD2v9kaIkXmRam6iJMvn7dKt8M0tBb2TR4MyQoTaHdqRVp4Q38ok0tCMwj4kG1i7FgtitQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=P7r/Zs9H; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1AFB9C116B1; Wed, 12 Jun 2024 15:10:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718205005; bh=ZuEtNZwwOHtkdd1OwgkAj9rzmJGCtDmVV3FUpnzB+QE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P7r/Zs9HIew4lkEhYW3pw+95q83DX4q0OmpjzxrgLFwyKblFd3mnD3y5TVEILW2Yc 2HuukgnaTOBLnFu6Of+pE7zBQcB03dcii9IWgRiWEz+67YFKmV6plqDmc4uWNAtzwj ZVw9Ffl2Y65cNuk5v6fToWCMr4JOojnRCWb2Bj0E= Date: Wed, 12 Jun 2024 17:10:02 +0200 From: Greg Kroah-Hartman To: Rodrigo Vivi Cc: Johannes Berg , =?iso-8859-1?Q?Jos=E9?= Roberto de Souza , linux-kernel@vger.kernel.org, intel-xe@lists.freedesktop.org, Mukesh Ojha , Jonathan Cavitt Subject: Re: [PATCH v6 1/2] devcoredump: Add dev_coredumpm_timeout() Message-ID: <2024061248-scanning-backlight-da0f@gregkh> References: <20240611174716.72660-1-jose.souza@intel.com> <49c2fbdc91d128c5249d50d016d97c8e5162f7b7.camel@sipsolutions.net> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Jun 12, 2024 at 10:54:04AM -0400, Rodrigo Vivi wrote: > On Wed, Jun 12, 2024 at 02:02:37PM +0200, Johannes Berg wrote: > > On Tue, 2024-06-11 at 10:47 -0700, Jos? Roberto de Souza wrote: > > > Add function to set a custom coredump timeout. > > > > > > For Xe driver usage, current 5 minutes timeout may be too short for > > > users to search and understand what needs to be done to capture > > > coredump to report bugs. > > > > > > We have plans to automate(distribute a udev script) it but at the end > > > will be up to distros and users to pack it so having a option to > > > increase the timeout is a safer option. > > > > > > v2: > > > - replace dev_coredump_timeout_set() by dev_coredumpm_timeout() (Mukesh) > > > > > > v3: > > > - make dev_coredumpm() static inline (Johannes) > > > > > > v5: > > > - rename DEVCOREDUMP_TIMEOUT -> DEVCD_TIMEOUT to avoid redefinition > > > in include/net/bluetooth/coredump.h > > > > > > v6: > > > - fix definition of dev_coredumpm_timeout() when CONFIG_DEV_COREDUMP > > > is disabled > > > > Got to v6, heh. > > > > I still don't think this is _right_, but I guess I'm OK with giving you > > rope to hang yourself ;-) > > I do see your point. But with the udev in place, 5 min or 1 hour it shouldn't > matter right? But for users without the udev script then a long time is better > to react and learn how to capture the very first GPU hang information. > > > > > Acked-by: Johannes Berg > > Thank you > > > > > Seems like you really should've CC'ed Greg though since these things > > usually went through his tree, so if you want to take them through yours > > he really should be at least aware ... > > Indeed > > Cc: Greg Kroah-Hartman > > Greg, ack on getting it through drm? Fine with me: Acked-by: Greg Kroah-Hartman