Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp475114lqr; Wed, 5 Jun 2024 11:13:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHo3jA8Tc59b0hUet+FuaCvW4mFSx5q9wiEKN4N26Ykz5OZhEcv7izKkNw9MOAc8VcZ4e2U9OMczyqLuDOWR9i2d7MhnKSaiDTWcj85g== X-Google-Smtp-Source: AGHT+IGkwdST4+GU3eSEv3F36LZOa1PjsiJVexFSnbAWDFoLvfi73zyJbKsj4FADu8BHSMJfbdBY X-Received: by 2002:ac8:7dc4:0:b0:440:2b02:f04c with SMTP id d75a77b69052e-4402b57331amr37606271cf.18.1717611221398; Wed, 05 Jun 2024 11:13:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717611221; cv=pass; d=google.com; s=arc-20160816; b=o789rjNpp5cxAaekahI+PvoJzPcL9dxGHCSPiDD6GLi/zL0X8KB8MHIuo/9q3DsUHq ApX5+79YgNQojqMw79sHGIBg/RQX/O2X6k+7rcbV9nKc05xveKiCROCD42MqmpJjYClN 7uy/L0UWkw0VzVoAEYgUjgYbQ+hYmYCxb5ShiqDFOXcFaHDKdjISAlyLpf2ECl+0RnPG gUIUFTAg5nNQPhQRmmO988XFR+ndqevgcQGBw8qJr1bR/qoTnFqSk8H6CwQ2UYOGIPUK gAiz0puCsOUdcJ231dvWQF60jiuZ0iTn9IRQQm5lm3zlGDcpOSa4twPEnbe9VbW63fvl +AtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=IJzYdd6GwtBpGYX5QCieg7CT2gtuFBe/DdwRoosPgwI=; fh=CwH638FZLOsxeIEulHBlazwheP7bSMGqNGN1XNCF6zM=; b=U5vBjD34jKLShdtNhEUeDgvr+u0JRO2lpPpA9mFFtQJjiD9h/211mkjS8+xG1wXUsc b6d9YsnQB/DzSumk8jZuPzgLJGKFJteqGuQ2hL/cJ1jcdzH+ndUEVTLjGfgFXcg6E+ap 5qcJYUWiMNGnldSFKp9Skcx+6XBipBttML0lkJdSBbP64bo98LCkyrqeXqfhUpenD2J/ l8aCXfpkxX1oJ6wTiIEH8twukh8Ix03SZ7eqgty7SfXdrIS/GQC2AGYLwKw1F64hEzBt s/EUfsh7tAziZxR4fjt4+GvTdd1OqXLMEa35pEejdDcg0h0EZvaZznrfl7RzNDB93z2E s2lw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iL60tYX4; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-203043-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203043-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-44032ab7931si11627831cf.226.2024.06.05.11.13.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 11:13:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203043-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iL60tYX4; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-203043-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203043-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1F8291C24E8C for ; Wed, 5 Jun 2024 18:13:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60A95DF78; Wed, 5 Jun 2024 18:11:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="iL60tYX4" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 18C5118044 for ; Wed, 5 Jun 2024 18:11:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717611072; cv=none; b=U4ADeiYzMA2qmrALEoGOJOWYEi4Eq6VJ2gYkLN/yjO0/Vl7WdHuRGb4D/uOS+ODJ6gf8aiQdLDm73scqONNeqZph+x6/WmCkDdUS+HYXzRkgTpqf/4UB/ZlxFTrJUkkj8eoGi5VNfZjBUAuqHY3Lmv7Rpa1dtNtIj1XRkKdlzck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717611072; c=relaxed/simple; bh=ZYgyqUm/nPx2BcoBYH3Ly9CGOsPM59EsgLll8G6q804=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bmOqluRT2nj8DnB8CEGRr8aPfJNqbarWqmZTviVoy8/HoYuirJkT2p2gmcgtCHUp/lZs9HhYL582CnZRa/zNbW1urmj/MURUjtV+UI+kYUzwFCs45BYM21/bbmGXogLHiPxHWcoShDEqoxqZFg1B8seI6OsWt2pGc7NtpxRtaFY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=iL60tYX4; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717611070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IJzYdd6GwtBpGYX5QCieg7CT2gtuFBe/DdwRoosPgwI=; b=iL60tYX45OHmnq6mn8PGTyv/ypo0HTSJMxiel2W/xdYoKHzMETFlByazsUiGmXPILKb1Ip ieq7HTiVxJcbOHkb7cXgBJEzm5BnVvqg1nDrJFVmFjNEqZZyRn58mJ2e36IY5jYN5Vqs8F WwKZJNh1oRE3Pw8RvbRIHaiPWwYDSWA= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-125-Bhm5uhWMMuCD5eDPnf9L7w-1; Wed, 05 Jun 2024 14:11:08 -0400 X-MC-Unique: Bhm5uhWMMuCD5eDPnf9L7w-1 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-6aecef9ae19so673626d6.2 for ; Wed, 05 Jun 2024 11:11:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717611068; x=1718215868; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IJzYdd6GwtBpGYX5QCieg7CT2gtuFBe/DdwRoosPgwI=; b=eHN9Kma3SJOrYmVVo544Qsl5lopgpclP30Z4A8s1GaeyWTPuN/ADWZJdUJQRLobjm/ CuWMAO9r9rIpYsKeB0t9ZwIe8ZVYP6QuPK5dzLhoo6tFZh3+nfnQqtcDR21M959ntnl2 uN6BTXI11LMKIj1kuJ7iF+vu/vbXQUAmL114u+rMaH3Q+clEBB0/X5thFNh5MgqRaWx6 3xWKf9DxAYyjHUtPOv5iK8fPH9lrQveBBz+TZYtVhykHA6B8Lk94hzUeeFQo5wJT6SlM fbjsO917FHYN7ibZTX5kqUiW+1e0tceiKSCjCbS+429LOzkHDHtpEL8410q81l779IWo 9DOg== X-Forwarded-Encrypted: i=1; AJvYcCWMhhRbIaAUqfo9idBXk2+jyeG4KTBCkgVnWFdEYHcvzD+OFa9HKmNcekSsIguiS/YsRVVOObPamk9zCrvLogu3vQsydOIZl3wtB4pQ X-Gm-Message-State: AOJu0YwoDuI9BWqRWUTnQJI7L/+l0tVGXdLUYgKCFurkXAlBQlfYdMYi 5yEaHwsMmAe3nNqOW5JEGXgFqmX1LFcm3Qnzp1jW+F1HVP2Q9CIw3a2V60x5HTWd1XgF1pqYplo uLr/9rlLzDMMkLclBLoShM02YIhpjDEiI9j2/SDajeibCL+IlaezterRzrL6Vsw== X-Received: by 2002:a05:620a:5a5d:b0:792:a2b8:862 with SMTP id af79cd13be357-79523d4679bmr342771085a.20.1717611067904; Wed, 05 Jun 2024 11:11:07 -0700 (PDT) X-Received: by 2002:a05:620a:5a5d:b0:792:a2b8:862 with SMTP id af79cd13be357-79523d4679bmr342767385a.20.1717611067329; Wed, 05 Jun 2024 11:11:07 -0700 (PDT) Received: from x1 (c-98-219-206-88.hsd1.pa.comcast.net. [98.219.206.88]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43ff2595290sm61941841cf.89.2024.06.05.11.11.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 11:11:06 -0700 (PDT) Date: Wed, 5 Jun 2024 14:11:05 -0400 From: Brian Masney To: Javier Martinez Canillas Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] lib/Kconfig.debug: document panic= command line option for PANIC_TIMEOUT Message-ID: References: <20240605174736.778321-1-bmasney@redhat.com> <87wmn3nu3g.fsf@minerva.mail-host-address-is-not-set> 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=us-ascii Content-Disposition: inline In-Reply-To: <87wmn3nu3g.fsf@minerva.mail-host-address-is-not-set> User-Agent: Mutt/2.2.12 (2023-09-09) On Wed, Jun 05, 2024 at 08:05:23PM +0200, Javier Martinez Canillas wrote: > Brian Masney writes: > > Hello Brian, > > > PANIC_TIMEOUT can also be controlled with the panic= kernel command line > > option, so let's reference it in the Kconfig help. This option is already > > documented in kernel-parameters.txt. > > > > Signed-off-by: Brian Masney > > --- > > lib/Kconfig.debug | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > > index 59b6765d86b8..a6eb7425b888 100644 > > --- a/lib/Kconfig.debug > > +++ b/lib/Kconfig.debug > > @@ -1043,7 +1043,8 @@ config PANIC_TIMEOUT > > Set the timeout value (in seconds) until a reboot occurs when > > the kernel panics. If n = 0, then we wait forever. A timeout > > value n > 0 will wait n seconds before rebooting, while a timeout > > - value n < 0 will reboot immediately. > > + value n < 0 will reboot immediately. The kernel command line > > + option panic= may be used to override this option. > > > > Thanks for adding this, I wasn't aware of that panic= cmdline before. > > Maybe it could also be mentioned that the timeout can be overriden by > user-space using the /proc/sys/kernel/panic sysfs entry too ? > > Regardless, the patch looks good to me. > > Reviewed-by: Javier Martinez Canillas I can add that. I'll wait a few days send a v2 to see if there's any other feedback. Brian