Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp396896lqp; Wed, 12 Jun 2024 05:13:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVLI3PdvgrmJrSk68JwTsf8SNv2Wtj43JWTsdFJR7uVnPMTcxKE0+XfaaeKoB1e/GbUb0r/7trEszj/WySU/Pwtd/vh/uj1WfkusV2xxQ== X-Google-Smtp-Source: AGHT+IFfT3EuzgJqg9V3/Cxsqet44mXYJ93bkZ3AEtHTO0SU094J4dZwOuxMA1oarTbyB81qZkVb X-Received: by 2002:a50:d591:0:b0:57c:6d58:e1f1 with SMTP id 4fb4d7f45d1cf-57ca9756c91mr1025414a12.9.1718194380153; Wed, 12 Jun 2024 05:13:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718194380; cv=pass; d=google.com; s=arc-20160816; b=D4TJ/ZWpbx6fwjqtFrIaFllVXIil4LeHq7hTk7k8khMQAGkSAxcEuKyEzHJdLilPkc 4Fx59RBvYv4Q82aPxKLwJTYCtgufKPDgUafzCdGbsyM4dj/HRvERvbJxUhtnZWjWGo7u xn94cDD5nLKA7Vgcc3xy/OKEsVeEkaEvBHNdHFwCS37zUTBqx7d2ai9AglsgQPEqbaWE eMmvLLqdfXODkH2eZ5mWuWYvMvKOCvQ8Jm8p2IDF4bX5hUR5sAncZB3E88zCNjY8/jS4 VmGLz37yq7JqKTs0IXLtsG/5HuQOFYvB13kzx4JeQ0JA7OUibcFzJ0o7fqjz1RsjdF0O GUvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=mL6cvqeW+xRR7/gR0vCFleXEVve6zwKquscdx7tNoCA=; fh=DT+gIdQOsHACZOkrDQ6nv1ssymbiDiz8WwdEgk/0fcw=; b=PngUwwh7imbkytfiwuHeBS8j98VCk0KQd6p7cN7Lb8KmtQB7Ysk2KiwuYA6IfUIDtQ CneI87Oyop6h0zIhTFpe2gnnvXwWPN4g9KE0jLrZk8exVn+4LAMdwhV2PG/6hc+HPMrA sWk8XZI3T3DpLM+YUxvNnzE7Xu6lpsLWdDXQWVVFhwakF65B+UUQWhwVcuHQdjcb+eP5 SoXFuRFZWfZba8qH1pVtdNROPowbFgkzdipuCdXXxWqBqw+OZxBpcAXJLg/ZmDDdoism uDgEWpesp35Ygn3/+hSYOTTTmS7OtOrGkFFEX3SxH+wl2vrKIdrbGAkVy6aT1uHE9HBz ny2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=ZsXjaFex; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-kernel+bounces-211463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae288aa3si6677599a12.603.2024.06.12.05.13.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 05:13:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=ZsXjaFex; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-kernel+bounces-211463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net 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 8D74A1F2863F for ; Wed, 12 Jun 2024 12:02:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F9AC16F286; Wed, 12 Jun 2024 12:02:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="ZsXjaFex" Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 908FF16D306 for ; Wed, 12 Jun 2024 12:02:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718193770; cv=none; b=E7zS9fOgHS2WyQBJal9G1Mjao8alEQK+yecyQIZEyKqNdnnzR+fkIsZKBWjI77tGZ+TTKvycmZJRwVUD9F4nPqTd27bP6egEAsSvcHXORfRRNKlFJYE/VACir5joc5EHgwCDdpc3oOBysAe5R4hvuZztKMhbbHQDWm0Iln9uKK4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718193770; c=relaxed/simple; bh=mL6cvqeW+xRR7/gR0vCFleXEVve6zwKquscdx7tNoCA=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=mZyNkqVqPFo4sHkHEasH9WeSCo5ZEy+VMr+WT52ypl61KNF9cYTcSq2rm1bE4MxanfF/Ii005jzgS4zjzE3oTtDyDlWZNgO9zd3rEgEUEqOuoD9ZPZh1Be0T1vNlhfs9lKZ2pZmXWYki9gwQLTWllSfO64aUP39Z4MZrhk3WtZc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=ZsXjaFex; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=mL6cvqeW+xRR7/gR0vCFleXEVve6zwKquscdx7tNoCA=; t=1718193768; x=1719403368; b=ZsXjaFexFUJKWMSpFF3w+dj6C0o61yNuUHpppkHQscqAMcZ WI14zfhjFOM8rLph5vMgrODJjVJ5pJ84220pKyw/xsih3xN+FSzrvSUe9fvco/Jlnjtoo3+NLlOuV U6UOc4dt+BYDEfOVTA2jZtbyq2IE46EwFG3L5UULG1HhStZX4FY/sGqB8ZIr7g8M40KgPm55ojepL BaBE8pTnFWUaoUA8SptTDyYjogsZbrrRYBis1piAN6PpN9SisKEUYAUPozU9d8Pgrb6tOE8+ab/1/ vWSKZBLyfX3Duo1orRf1xbqagEywKeQeGAIzJLr7vgVER25lCwY4YE22Y6z4jQbA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1sHMgZ-0000000AEXv-1ybR; Wed, 12 Jun 2024 14:02:39 +0200 Message-ID: <49c2fbdc91d128c5249d50d016d97c8e5162f7b7.camel@sipsolutions.net> Subject: Re: [PATCH v6 1/2] devcoredump: Add dev_coredumpm_timeout() From: Johannes Berg To: =?ISO-8859-1?Q?Jos=E9?= Roberto de Souza , linux-kernel@vger.kernel.org, intel-xe@lists.freedesktop.org, Greg Kroah-Hartman Cc: Rodrigo Vivi , Mukesh Ojha , Jonathan Cavitt Date: Wed, 12 Jun 2024 14:02:37 +0200 In-Reply-To: <20240611174716.72660-1-jose.souza@intel.com> References: <20240611174716.72660-1-jose.souza@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 (3.52.2-1.fc40) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Tue, 2024-06-11 at 10:47 -0700, Jos=C3=A9 Roberto de Souza wrote: > Add function to set a custom coredump timeout. >=20 > 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. >=20 > 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. >=20 > v2: > - replace dev_coredump_timeout_set() by dev_coredumpm_timeout() (Mukesh) >=20 > v3: > - make dev_coredumpm() static inline (Johannes) >=20 > v5: > - rename DEVCOREDUMP_TIMEOUT -> DEVCD_TIMEOUT to avoid redefinition > in include/net/bluetooth/coredump.h >=20 > 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 ;-) Acked-by: Johannes Berg 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 ... johannes