Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1280774ybx; Thu, 7 Nov 2019 09:45:55 -0800 (PST) X-Google-Smtp-Source: APXvYqycaEKecZMg7wG0d+ntBp3cVwXiNpYWF+7ckte+oeft3CiBojSKZFJ2VJ+yS4GI9YrenVyg X-Received: by 2002:a50:9254:: with SMTP id j20mr5227376eda.0.1573148755331; Thu, 07 Nov 2019 09:45:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573148755; cv=none; d=google.com; s=arc-20160816; b=nJb/YIKyjJG8blBxIbQNoaBCrmrG8UNdBqUB6TzpQxbd4Qm9qIOpDQWcpI10kyEmTy Ta7MGO7QkuMmJThm1kJeQ4b7Xu/JmpLaFARV7fsjrafmaQG5plgO2SAfHYQO4dPMRH/y wgo6ediPakpTjlNAF3SP4qNVRqpQmniOY6UpN45qqZs4oy7Zb+lbnceFh06xCM7KwAmQ RnFakd4h7tGihWIeogo5u80QKx3X3eu7AuC9upA+fUN/xAEE45oNhCDu0dn2vJuVuAL3 FgumE2PaxFCWg/KSAJwBQpfK6laiwZsVgbE+ydhA4JPEPtCtBJqGx292h5LpMw6b77Cy FhwA== 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=IyBaF/XGlAJVkglrIxXwc+OYoOmSV1r5zNz50khaGcE=; b=sgji/QlX0nSKUd5XtvpUQ0tk2L0RL/g2j6tqpyb1rFTtks321v3L2jLehoMTjtMjHB XWhR748kYaVoIqEtLpQPVa9Kxd+Eba8lYaB2bPWgW5v5JUp1IY81gv6dciJ6Dzn9I8XN jH/ipXPGnRBtJHCr1xIM9kUiUyH6msRBriVYtUeRULu1gcV0xCUR5ytaUbAGY7XLycD8 eoyjnaO1ZnockA0Ly9fzruTSvaGedB6si1iZfhOjbJyO6p0P8rpKp3lVGy3uRfdJRa4N 2stpQgcd+9aF/6FQrBB+Q2Ac9yTfTAbm0qDCMXoWmpSbFW2AlDkg1c+Z4XGagXrEU+F4 nOEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e24si2028912ede.392.2019.11.07.09.45.31; Thu, 07 Nov 2019 09:45:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730811AbfKGRoB (ORCPT + 99 others); Thu, 7 Nov 2019 12:44:01 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:35850 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729830AbfKGRoB (ORCPT ); Thu, 7 Nov 2019 12:44:01 -0500 Received: from grubbs.orbis-terrarum.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6676D34CA30 for ; Thu, 7 Nov 2019 17:44:00 +0000 (UTC) Received: (qmail 14153 invoked by uid 129); 7 Nov 2019 17:43:52 -0000 X-HELO: bohr-int.orbis-terrarum.net Authentication-Results: orbis-terrarum.net; auth=pass (plain) smtp.auth=robbat2-bohr@orbis-terrarum.net; iprev=fail; iprev=fail Received: from node-1w7jr9qta5qnztyeulvvtjk1k.ipv6.telus.net (HELO bohr-int.orbis-terrarum.net) (2001:569:7c26:ae00:4988:d144:fb03:3538) by orbis-terrarum.net (qpsmtpd/0.95) with ESMTPSA (ECDHE-RSA-AES256-GCM-SHA384 encrypted); Thu, 07 Nov 2019 17:43:52 +0000 Received: (nullmailer pid 20692 invoked by uid 10000); Thu, 07 Nov 2019 17:43:54 -0000 From: "Robin H. Johnson" To: mcgrof@kernel.org Cc: linux-kernel@vger.kernel.org, "Robin H. Johnson" Subject: [PATCH] firmware: log names of loaded firmware Date: Thu, 7 Nov 2019 09:43:53 -0800 Message-Id: <20191107174353.20625-1-robbat2@gentoo.org> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on orbis-terrarum.net Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's non-trivial to figure out names of firmware that was actually loaded, add a print statement at the end of _request_firmware that logs the name & result of each firmware. This is esp. valuable early in boot, before logging of UEVENT is available. Signed-off-by: Robin H. Johnson --- drivers/base/firmware_loader/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/base/firmware_loader/main.c b/drivers/base/firmware_loader/main.c index bf44c79beae9..f0362af16b66 100644 --- a/drivers/base/firmware_loader/main.c +++ b/drivers/base/firmware_loader/main.c @@ -791,6 +791,8 @@ _request_firmware(const struct firmware **firmware_p, const char *name, fw = NULL; } + dev_info(device, "%s %s ret=%d\n", __func__, name, ret); + *firmware_p = fw; return ret; } -- 2.24.0