Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp193430lqb; Tue, 4 Jun 2024 08:42:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUttgH4byjd4cM1KRt38m/GpfOyQ2AGQfRkpjeivraSKxbj+n7zOroKqdBta8ZLL3xvZXCMgqWXQRyjPkD+hsMhRo+LB2rSUUVBiglrdg== X-Google-Smtp-Source: AGHT+IGcvN03q1T9cSTH6Bb0pac5TbNhx5tbzLjV2N+RV9r4TfX91d/nL9Q9x16p1WTpynOMdjeJ X-Received: by 2002:a19:7605:0:b0:52b:7a3c:36ca with SMTP id 2adb3069b0e04-52b8958b03cmr7464091e87.27.1717515761023; Tue, 04 Jun 2024 08:42:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717515760; cv=pass; d=google.com; s=arc-20160816; b=TZ0trhBKrwBxNOoMryVhj2Y3jKoYF+AAr8B48GNdSohif6Uqv4me1M/DWR8SkcS6wA tRKnHzEXSNqRRbt2WnLGA5YdSH/reZj2a0zbZdy/XPBmvmMyERvW3Psk2Z2+wQ7g0wPc SClnkZbQTVoiFVm/1viRRUM9TKojaiymUmhS2CkkWoUzzps56W7pMXOvJXboKuYAJIIV 1zgBhfJD+fqHQVEly+p9OQFfYM6Lec9Ldo1qBc/KinPv78VfWZxCT8I5gtTIJ1IZR/yb 7+PKPmQOj019AkmEimNOLR34aKv51z5CS+ZTacmdvWDP4B7JypCKDXQAGaH4njSQls4f LMZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=YRgjT66evl2KqBxy7YkRIDV+t3wqsazZds01ElzT+LI=; fh=jRWUMgW/6vsarIa9zjzz3r391Xw3I7xnRoKTfLdLdk4=; b=Gw8jjGyvTL/ico5JnOhlJ8jWMFG7K5DurerKHr+xW8R45GNwG40eALcZ9+CxAykDjv isXvm2EZCiKrnTLrOzua/mGTB5rYQ+zpkTRG7XIVlAhpx2vY3Ptm+xF2blSeN+/TMssz geMi/BzS1dpwXv9L9oZyMTILzWERednE+EYBWs8Knx9K91hRr0hNXsgL1FoaL5dkBkiA G6lgPZNTs0/rfgS479CtnvXZ1tf1V4wchBfZGSZ86+2RTUVXbzfCQhmjMyTIPFsbglMg x0V489Kp0sWbs480R6ltE7q54E6i13BHZ1CollwqDdZXg3h9c8BI+oJ3C2G1kCx0SAZE zqLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XMj5NG1F; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-200977-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200977-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 a640c23a62f3a-a691c32906esi178180666b.384.2024.06.04.08.42.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 08:42:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200977-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=XMj5NG1F; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-200977-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200977-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 B2B8F1F2673B for ; Tue, 4 Jun 2024 15:42:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43239146017; Tue, 4 Jun 2024 15:42:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="XMj5NG1F" 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 6345713C9CF for ; Tue, 4 Jun 2024 15:42:15 +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=1717515735; cv=none; b=r1Gw0g/UvJiKRXpeDSNp77zx9Aoqv2YYqLjzxxK9P2mJRyrGAhVClEOoezqaZCosqCzPX5dJT+YtFi1ChGOU6nXq3H1nf2sP8inTRdl3eE6uR5gMX/M+pJGweEDr+ixtTtKo2J+AEJdStcvSXitb0KJx1Strc7diTySTPBybpDA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717515735; c=relaxed/simple; bh=jLx2ZFFGoYBUTSPxOo+y2w4849kT0K2pHsMwBEdZTcE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nFJVsAlWpVJIy5++Yz85lHgzvKIqqnqLJWZzzUdBZwrK1oUBLYrAHWbEV0YJd1fZ9WiA6JpEer9UOn5vyqGY7Fv5pGSgSJlXl5j91/Yt6XkFpdjtKhIa7Jm7lKXOPca4zNZKDCZjYPyEHiz+92S5lKWPv2Ihm+nwEXoanP3dNjs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XMj5NG1F; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41A26C2BBFC; Tue, 4 Jun 2024 15:42:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717515735; bh=jLx2ZFFGoYBUTSPxOo+y2w4849kT0K2pHsMwBEdZTcE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XMj5NG1Fwwda8uLMHcmWWV/3euHRsHHSbyNHFdSoima8VsE2Ta3r3YVGqbAfEH24Z cVMUv4H7XnCoscRIAsl2GdHyljgphsPbIpx0V//4P8L0EXpZ6XianQwWulTobo6sk8 AbDiK7fC0xPWMIYFhgNx6f4oaRrFT7od66LIgZlw= Date: Tue, 4 Jun 2024 17:34:18 +0200 From: Greg KH To: Jani Nikula Cc: linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH 4/4] kernel/panic: add verbose logging of kernel taints in backtraces Message-ID: <2024060413-seldom-happening-4361@gregkh> References: <7321e306166cb2ca2807ab8639e665baa2462e9c.1717146197.git.jani.nikula@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=us-ascii Content-Disposition: inline In-Reply-To: <7321e306166cb2ca2807ab8639e665baa2462e9c.1717146197.git.jani.nikula@intel.com> On Fri, May 31, 2024 at 12:04:57PM +0300, Jani Nikula wrote: > With nearly 20 taint flags and respective characters, it's getting a bit > difficult to remember what each taint flag character means. Add verbose > logging of the set taints in the format: > > Tainted: [P]=PROPRIETARY_MODULE, [W]=WARN > > in dump_stack_print_info() when there are taints. > > Note that the "negative flag" G is not included. > > Cc: Andrew Morton > Cc: Greg KH > Signed-off-by: Jani Nikula > --- Reviewed-by: Greg Kroah-Hartman