Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp816025ybk; Fri, 15 May 2020 14:30:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJOgbFRQyjY6fcZ6s7JbRg36fp54a3Wz7gWEdMg1gRtQbE3yji4XvJlILpdcx3gTEAmoJ7 X-Received: by 2002:aa7:d84b:: with SMTP id f11mr2259522eds.288.1589578238795; Fri, 15 May 2020 14:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589578238; cv=none; d=google.com; s=arc-20160816; b=bBRgpt2dAql6gi9cImNjglZD9L9HPAUm2gYywN4fiKy6hO6su90UKlZjoFIILowmbO nVc9UNxmqo7h8I21zdHyPpTqIMO57YeJKkroSvuhiSr2VccLApct9DMZ1L/w5k3nzw6i 1RedZxaYJXE1FjaYIIzSzZLkq8j1f13G8zJ9kC/4k7XeIkT5YgXotbN8RLeHMi5N+KVU ZiuaHIRpyVsLM5E/MB0WAEwSldqbQnvQxO6gS+IS1aAKK6+H0/xTKv4lt0soCGH8Alnq Cavy+Xn6QUVDh21N8pPPBufOXdc44iu7Be0h4iOTJk8hO70Wge+h5VQ31icO1Srm9z4D GS6w== 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 :message-id:date:subject:cc:to:from; bh=XTmSl9YKaCNsjNOb3IxfYRfZ8mYTIU9PqjhjQ3pwCHQ=; b=toctmB+2PsyNfmjhl95wBgYZMOyq2Cnfbpl5uS9AaBL9doOzgYL1iG1Pru4t+Xpngi bvxyGyRRGafjuXY+3+2lVGr/mB9VRrZVAtlKyNC1fL8E7wxbdndSkQM9DTdks366iVTs 0iwp8GC8C9RuTtjm3k7eZZqjO3BflbkTBhabQ+359dkOzYZen7kTYsIfJvQZEtwyCgt/ 7Cod/yX8Ii0l4i8qeN+uYFoTk1+GNw3y2+DapG6d0fAX/Ue5rEbC13uD10MMLJ5+EuaI AoXW5noS+5kcMMll7HOO/fcgm2rr+YUNEt47fUBhnU8T5YKKcPOrV+BcvT+OX0T3C29+ XrjA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y18si1969093ejf.113.2020.05.15.14.30.16; Fri, 15 May 2020 14:30:38 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727083AbgEOV2x (ORCPT + 99 others); Fri, 15 May 2020 17:28:53 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:44849 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726261AbgEOV2w (ORCPT ); Fri, 15 May 2020 17:28:52 -0400 Received: by mail-pf1-f195.google.com with SMTP id x13so1585790pfn.11; Fri, 15 May 2020 14:28:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XTmSl9YKaCNsjNOb3IxfYRfZ8mYTIU9PqjhjQ3pwCHQ=; b=pvi61G0tenHADSVeAhRJTUB3h3TQgw4sMzyBeyDHS5zn/LCK9kPMaFOpUdXHVh7lra 6azvZ5jqspA/P53SNZmeX7kbbEiOa+Q4ZtKlysOZZZuGAQ6y34W9HiWql3H0tWtlH5XM 68jnA85GJTVNPhhrZvifvTPn0M0UswW9O4KO9rn/XJAc8ZiV/SQiXPC+vhp7cAwE5vBd Mc+VRTQZbY4mzGUdoFBtmC03e/nrVzByz30d37/10OzuGbVEGkChp7bLqtHd7WWSxDiU JJXOwMoQ9OHHQ9vqBb46KVV5zIwy/PYHfIhe3WC62lTWvj35nYlxs37TaQEnUVQp9EnS ig7g== X-Gm-Message-State: AOAM532VeATTR5MuOgkw0m8kZKaxvMTbAZfQwvXMpedjhIDXnxGdOi4t PuFagbrWaXK7fVgiaENEkiU= X-Received: by 2002:a62:7c16:: with SMTP id x22mr5785765pfc.267.1589578131633; Fri, 15 May 2020 14:28:51 -0700 (PDT) Received: from 42.do-not-panic.com (42.do-not-panic.com. [157.230.128.187]) by smtp.gmail.com with ESMTPSA id m14sm2375614pgk.56.2020.05.15.14.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 14:28:50 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id 79EA440246; Fri, 15 May 2020 21:28:49 +0000 (UTC) From: Luis Chamberlain To: jeyu@kernel.org Cc: akpm@linux-foundation.org, arnd@arndb.de, rostedt@goodmis.org, 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, Luis Chamberlain Subject: [PATCH v2 00/15] net: taint when the device driver firmware crashes Date: Fri, 15 May 2020 21:28:31 +0000 Message-Id: <20200515212846.1347-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.23.0.rc1 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 this v2 I've added documenation over the taint flag, and updated our script which parses existing taint flags to describe what has happened when this taint flag is found. I've also updated the location of the taint flag on the qed driver and updated the reviews. The changes are based on linux-next tag next-20200515. You can find these changes on my tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/log/?h=20200515-taint-firmware-net Luis Chamberlain (15): taint: add module firmware crash taint support ethernet/839: use new module_firmware_crashed() bnx2x: use new module_firmware_crashed() bnxt: use new module_firmware_crashed() bna: use new module_firmware_crashed() liquidio: use new module_firmware_crashed() cxgb4: use new module_firmware_crashed() ehea: use new module_firmware_crashed() qed: use new module_firmware_crashed() soc: qcom: ipa: use new module_firmware_crashed() wimax/i2400m: use new module_firmware_crashed() ath10k: use new module_firmware_crashed() ath6kl: use new module_firmware_crashed() brcm80211: use new module_firmware_crashed() mwl8k: use new module_firmware_crashed() Documentation/admin-guide/tainted-kernels.rst | 6 ++++++ drivers/net/ethernet/8390/axnet_cs.c | 4 +++- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 1 + drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 1 + drivers/net/ethernet/brocade/bna/bfa_ioc.c | 1 + drivers/net/ethernet/cavium/liquidio/lio_main.c | 1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 1 + drivers/net/ethernet/ibm/ehea/ehea_main.c | 2 ++ drivers/net/ethernet/qlogic/qed/qed_mcp.c | 1 + drivers/net/ipa/ipa_modem.c | 1 + drivers/net/wimax/i2400m/rx.c | 1 + drivers/net/wireless/ath/ath10k/pci.c | 2 ++ drivers/net/wireless/ath/ath10k/sdio.c | 2 ++ drivers/net/wireless/ath/ath10k/snoc.c | 1 + drivers/net/wireless/ath/ath6kl/hif.c | 1 + .../net/wireless/broadcom/brcm80211/brcmfmac/core.c | 1 + drivers/net/wireless/marvell/mwl8k.c | 1 + include/linux/kernel.h | 3 ++- include/linux/module.h | 13 +++++++++++++ include/trace/events/module.h | 3 ++- kernel/module.c | 5 +++-- kernel/panic.c | 1 + tools/debugging/kernel-chktaint | 7 +++++++ 23 files changed, 55 insertions(+), 5 deletions(-) -- 2.26.2