Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1459530pxk; Fri, 2 Oct 2020 10:02:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHpkh2+iFa81WiIMfFohPJYn8Rd7Nc48XQ9DkrKkoxS9lZOW+odkV0BvLVzH8anW5kdpyF X-Received: by 2002:a05:6402:78b:: with SMTP id d11mr3510182edy.341.1601658156448; Fri, 02 Oct 2020 10:02:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601658156; cv=none; d=google.com; s=arc-20160816; b=QonMjRT1RDv5ZpBwrgOL324Wr6bA5W2fzcVS46pOrrvsVSHxw+EMSNqdziDiknM48j kDXEAV4kjRsicBfuEGTphYP6bz5yfXjuZGXM8GcDV8IosmevPONRF3yrvkEFjrkdd3LW LglfcE2xzUWkBUbZehbGDxdZg05ZPmX/uXAwopIRV+BOc1cw7+tDArxWImxiRpFC4/Io kbfZlXITbJNokI34DkSgbECLqwtj3/QyMicwi8ywniYXRkSqIUUCx6VMenvJfMz333VC hqQfaQtcS0oA0KU1KYEAoM9DXjzgm9xyItuHQE4MjXO9c5NCqjFu1DOSQWeFjISQ9jXO ZNug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=D1Z6zDq9Svnq7K1KUkOaNB83eAQx8W6cXMTOYb39NaM=; b=kx0dWoVKbdVu1CEeLC3WH8HGCxx2GwGSWgAK+jczH7cnpf7V4xISneC9Ftwjl/M2ik rW2W6F2cvJuxDECoGvWvlodT4788795BIvJ0anT+OEvx0HJISF+hWANNDW98UhD0i2pf EBz25Te3Odzteod/TSquuqTytjwOlgehKHhbtcUYZgftDaId3JFJEKCdWAEwG4PLNbt0 xvEJjJuqW7qcmAL3JzdL8Sln627h+q6KJG5K0EdWAIHtF2g7IufIH9Qqs53u8IjTvDUq tS4ndpqbruFg7DLkDKCn3FtaAqWsBy2GLnC7D87wZxbX0MiPWx1dm0gwCopNklN8C2E8 TRtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=AYJaH86w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b26si1110727edw.538.2020.10.02.10.02.13; Fri, 02 Oct 2020 10:02:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=AYJaH86w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388042AbgJBQ7z (ORCPT + 99 others); Fri, 2 Oct 2020 12:59:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725995AbgJBQ7z (ORCPT ); Fri, 2 Oct 2020 12:59:55 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0858DC0613D0; Fri, 2 Oct 2020 09:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=D1Z6zDq9Svnq7K1KUkOaNB83eAQx8W6cXMTOYb39NaM=; b=AYJaH86wofYwH5G51WnTXr92d5 cfxrkK4xHS3aFioUQj1miXl12ZQOVW0XHvQKmJpDpxKFJ2g+KndPIZUuoKfwu+3J7TLlpd/fqdrnJ ++vXqbraSN99bdimg2o1V1N5YN21+Vn2frQj7UWJ66ngfyWmCb1vz+qqPVsiubkekEuZQ45wSwHLv 5bDF6LyJGJ/ybJxoYFUo7VhNTCC3UKc8Q0IqGYxFrHyhFOjO2uwBEYtp5z96v/DT6RBF2nlSf0ztA 5orOD4d6WtsJHsj+7URjd+8e5Eqg4ZZd7Jeaxh0EiIUu9Ce4hOMEP6ayp4FkQeWL9MJdpe+ObnSDD /aW0EccA==; Received: from [2601:1c0:6280:3f0::2c9a] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOOPQ-0002aV-4F; Fri, 02 Oct 2020 16:59:52 +0000 Subject: Re: [RFC PATCH v1 07/26] docs: reporting-bugs: let users classify their issue To: Thorsten Leemhuis , Jonathan Corbet Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: From: Randy Dunlap Message-ID: <9a6e344f-71ca-209f-c540-3a03949a3a94@infradead.org> Date: Fri, 2 Oct 2020 09:59:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/1/20 1:39 AM, Thorsten Leemhuis wrote: > Explicitly outline that some issues are more important than others and > thus need to be handled differently in some steps that are about to > follow. This makes things explicit and easy to find if you need to look > up what issues actually qualify as "regression" or a "severe problem". > > The alternative would have been: explain each of the three types in the > place where it requires special handling for the first time. But that > makes it quite easy to miss and harder to find when you need to look it > up. > > Signed-off-by: Thorsten Leemhuis > --- > Documentation/admin-guide/reporting-bugs.rst | 39 ++++++++++++++++++++ > 1 file changed, 39 insertions(+) > > diff --git a/Documentation/admin-guide/reporting-bugs.rst b/Documentation/admin-guide/reporting-bugs.rst > index 434e1a890dfe..430a0c3ee0ad 100644 > --- a/Documentation/admin-guide/reporting-bugs.rst > +++ b/Documentation/admin-guide/reporting-bugs.rst > @@ -272,6 +272,45 @@ you want to circumvent it consider installing the mainline kernel yourself; just > make sure it's the latest one (see below). > > > +Issue of high priority? > +----------------------- > + > + *See if the issue you are dealing with qualifies as regression, security > + issue, or a really severe problem: those are 'issues of high priority' that > + need special handling in some steps that are about to follow.* > + > +Linus Torvalds and the leading Linux kernel developers want to see some issues > +fixed as soon as possible, hence these 'issues of high priority' get handled > +slightly different in the reporting process. Three type of cases qualify: differently at least that's what I would say. :) > +regressions, security issues, and really severe problems. > + > +You deal with a 'regression' if something that worked with an older version of > +the Linux kernel does not work with a newer one or somehow works worse with it. > +It thus is a regression when a Wi-Fi driver that did a fine job with Linux 5.7 > +somehow misbehaves with 5.8 or doesn't work at all. It's also a regression if > +an application shows erratic behavior with a newer kernel, which might happen > +due to incompatible changes in the interface between the kernel and the > +userland (like procfs and sysfs). Significantly reduced performance or > +increased power consumption also qualify as regression. But keep in mind: the > +new kernel needs to be build with a configuration that is similar to the one built > +from the old kernel (see below how to archive that). That's because achieve > +process is sometimes only possible by doing incompatible changes; but to avoid eh? That's because ... ??? > +regression such changes have to be enabled explicitly during build time > +configuration. > + > +What qualifies as security issue is left to your judgment. Consider reading > +:ref:`Documentation/admin-guide/security-bugs.rst ` before > +proceeding. > + > +An issue is a 'really severe problem' when something totally unacceptable bad unacceptably > +happens. That's for example the case when a Linux kernel corrupts the data it's > +handling or damages hardware it's running on. You're also dealing with a severe > +issue when the kernel suddenly stops working with an error message ('kernel > +panic') or without any farewell note at all. Note: do not confused a 'panic' (a confuse > +fatal error where the kernels stop itself) with a 'Oops' (a recoverable error), > +as the kernel remains running after an 'Oops'. > + > + > .. ############################################################################ > .. Temporary marker added while this document is rewritten. Sections above > .. are new and dual-licensed under GPLv2+ and CC-BY 4.0, those below are old. > -- ~Randy Reported-by: Randy Dunlap