Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3065285ybx; Sun, 3 Nov 2019 09:56:30 -0800 (PST) X-Google-Smtp-Source: APXvYqxuhcvdmTq+Wd1Zht8V2qOglNpsAyQlexMImN2uNTVNiNCKLWhGkh7FarVI6j47+cj4N97e X-Received: by 2002:aa7:c943:: with SMTP id h3mr13933998edt.207.1572803790867; Sun, 03 Nov 2019 09:56:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572803790; cv=none; d=google.com; s=arc-20160816; b=wnILr0/g1TsnJtatBf+VxofqyRCXhq4tQ+Q0wSy9fqb1aySMGm6b0NHpFxi1Av68mR D3qDJNifqlcZ4xOTe/XTMLySWuFWuXnnVbWfT5YSdq/pXa9SKPkB8iy17sfNB+pySJuG Shq7BCHM/jbUD3wElq/MHwWYpR/8s87HGDlkYCm38JnlnvufMBjogw9oSe/9TZEJHOkp GafBcOv42dy6auE2TdfOT0szQw8/0upDr+C9a+wnJQLyANPVo/JysFIrYgNdh+6KAHlv 14OnjTPSKXpqWvfiDPdrfdyGP0zI1rS5844fFR6v+8bfjKrM5o8RrYQW/Rh1MYJDdO9y 1CYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:cc:to:from:subject:date :in-reply-to:content-transfer-encoding:dkim-signature; bh=MGuxCWQzSNeVxIqwqCpa7bikLB+K0iCdvBhW6Ol153o=; b=bSNIKLzKLpx3o+phES8F96mCY1ndo8HxtnWDJWf/alkhgXqRPvv4II/7DnEa/F+JFj mSZf3O3yN2L/+41t66wcWZFigq+WfBilzID9RnNDL6Z9vOQ4Z3xw/JKpqlcHWw8Z1nZv DsXC23lWV5TjxubQH2AEAM8Hqmu9+92eOrsBTTa+NAC/Rp4+eXOUE3Dlr1Hi8sD58JK3 +ngY7aqnjWa29M8wh8S4A4avAzgUs/pbM70UGmF0SPMLPB7e7YA02Ddev/jMp6of6wUI g9IP0MDnz1yOGHe569j4hKhY68LL4NUX8pYCL1rpP9H0kn/PbbncZidAXGji2s02V5+d 2yrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cmpwn.com header.s=cmpwn header.b=kFhdAD88; 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=cmpwn.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hk1si9923456ejb.408.2019.11.03.09.56.06; Sun, 03 Nov 2019 09:56:30 -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; dkim=fail header.i=@cmpwn.com header.s=cmpwn header.b=kFhdAD88; 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=cmpwn.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727950AbfKCRzT (ORCPT + 99 others); Sun, 3 Nov 2019 12:55:19 -0500 Received: from mail.cmpwn.com ([45.56.77.53]:37738 "EHLO mail.cmpwn.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727758AbfKCRzT (ORCPT ); Sun, 3 Nov 2019 12:55:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cmpwn.com; s=cmpwn; t=1572803718; bh=MGuxCWQzSNeVxIqwqCpa7bikLB+K0iCdvBhW6Ol153o=; h=In-Reply-To:Date:Subject:From:To:Cc; b=kFhdAD88qqxarFQEazbEIieC/wU2asm7jGSTmfIuNiAhPbyk4+B5Q9883qt1UiPnC kZH1pFJrnEMo3gMyka7PrtVaE5otIewtR6GSzgTrnT6Xj7B3pEFRxX90jv/P4JZTFM 7/RQ09qp05zA+2m+wpqQeUY+lXbvRyWdlCdqCO6Q= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 In-Reply-To: <20191103175011.GA751209@kroah.com> Date: Sun, 03 Nov 2019 12:55:18 -0500 Subject: Re: [PATCH] firmware loader: log path to loaded firmwares From: "Drew DeVault" To: "Greg Kroah-Hartman" Cc: "Luis Chamberlain" , , "Rafael J. Wysocki" , <~sircmpwn/public-inbox@lists.sr.ht> Message-Id: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun Nov 3, 2019 at 6:50 PM Greg Kroah-Hartman wrote: > And it's totally noisy :( >=20 > Please just make this a debug call, that way you can turn it on > dynamically if you really want to see what firmware is attempting to be > loaded. The typical setup won't need more than say, 10-20 firmwares? On my system I need 13, and 12 of them are just for AMDGPU. In the 20 minutes since I rebooted to this kernel, it constitutes less than 1% of my dmesg volume, and will only get less so over time unless I start hotplugging stuff (in which case, their respective drivers are likely to make noise, too). In practice, I don't think it'll be especially noisy. On the other hand, enabling debug logs just to get this information would generate heaps of noise for a little bit of signal. This use-case isn't the exceptional case for me, on my systems I only install the firmwares I need so this is something I would reach for every time I set up a new system. > Also, if you have a 'struct device' you should always use the dev_*() > calls instead, which will show you exactly what device is asking for > what. Understood.