Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2119954ybk; Mon, 11 May 2020 12:23:49 -0700 (PDT) X-Google-Smtp-Source: APiQypI0FtgCIbs9DwAAUGBUtdXEj4FgDwuGZ0C3NmhT0qHIlWYrEzvVS9u1wdj7om0Puc6PHZSq X-Received: by 2002:aa7:dd84:: with SMTP id g4mr15322377edv.273.1589225029392; Mon, 11 May 2020 12:23:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589225029; cv=none; d=google.com; s=arc-20160816; b=I0SZu5y/UpU+EJ1u2f7PjFsy5zCjTMz3wdGnsJQ0zTDxjYZJgxUSm1NdKmkCeVRFyr uVQF3wpaaPaSPbhRUZbiifSY7g6d+L5pO93xKFyJ+wKNfsBP5rkC9wTEhkQol5o8HHA5 StvJ/TlpLGGlhlkt2l10hvlCSXDrvp+IHyKyPJR5d65iPk4v14w6Sduwcv/ECiteO9Yu /cCIxVayjGtEuFtH06OxA9plGnwV1qJmq8SJI7mlzHg/3fT0DsnfDSuVz+QieSGGWn8o sEJqKpIbB0Rd4jOMK4mohPHz+17tiKuqeQPtxiHCLPRQ6LaX+ImiVssnCha+JUYRT3nG yxBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=jhzs9bN1z1gnxYsS6vE00cnCiyz1PWfMVi29gM+vMbY=; b=sC6+YzyJIKFTsXMiH8IRb1OFaBf/x7udOvB0ZmwTBfH838SvNguhtFbcA6J4/u9LXO 3mGFusX28F6PoMfYerpM3YN5ujr6oqtBCBMUMaLVW+flZMjF7YmNjsz03pS2qOOVjW5E 3acUDVG170uVkQuLsTid54u3db1+hC9F6E0bwqL3n8RLo/H+cBxeaorSlRiz1i1VnYpv /kEj+reCSW7IEwEsU24weH/QI/o3pepag6wHuecbNoZ441bSx75z0f+VuG+WMdbg1aQ2 n6/jB9X/EN3OHI1nLzoTHrhwfax18c6Yqi6QM1o0uAFbfHPPGbkI4hXYPY4Xolo8N+Fr JTSA== ARC-Authentication-Results: i=1; mx.google.com; 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 e9si6385906eds.63.2020.05.11.12.23.25; Mon, 11 May 2020 12:23:49 -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; 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 S1731350AbgEKTVp convert rfc822-to-8bit (ORCPT + 99 others); Mon, 11 May 2020 15:21:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:38872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728613AbgEKTVp (ORCPT ); Mon, 11 May 2020 15:21:45 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C72F5206E6; Mon, 11 May 2020 19:21:42 +0000 (UTC) Date: Mon, 11 May 2020 15:21:41 -0400 From: Steven Rostedt To: Shannon Nelson Cc: Luis Chamberlain , jeyu@kernel.org, akpm@linux-foundation.org, arnd@arndb.de, mingo@redhat.com, aquini@redhat.com, cai@lca.pw, dyoung@redhat.com, bhe@redhat.com, peterz@infradead.org, tglx@linutronix.de, gpiccoli@canonical.com, pmladek@suse.com, tiwai@suse.de, schlad@suse.de, andriy.shevchenko@linux.intel.com, keescook@chromium.org, daniel.vetter@ffwll.ch, will@kernel.org, mchehab+samsung@kernel.org, kvalo@codeaurora.org, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/15] net: taint when the device driver firmware crashes Message-ID: <20200511152141.2305e916@gandalf.local.home> In-Reply-To: <1e097eb0-6132-f549-8069-d13b678183f5@pensando.io> References: <20200509043552.8745-1-mcgrof@kernel.org> <1e097eb0-6132-f549-8069-d13b678183f5@pensando.io> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 9 May 2020 18:01:51 -0700 Shannon Nelson wrote: > If the driver is able to detect that the device firmware has come back > alive, through user intervention or whatever, should there be a way to > "untaint" the kernel?  Or would you expect it to remain tainted? The only way to untaint a kernel is a reboot. A taint just means "something happened to this kernel since it was booted". It's used as a hint, and that's all. I agree with the other comments in this thread. Use devlink health or whatever tool to look further into causes. But from what I see here, this code is "good enough" for a taint. -- Steve