Received: by 10.223.185.111 with SMTP id b44csp1454674wrg; Sat, 10 Mar 2018 06:20:37 -0800 (PST) X-Google-Smtp-Source: AG47ELv+GBsw29bb9ZQMUOofsMSt4p9m9Ps+nvS+XtgXEP/XEzVmJNmrqhK5D9WBnn6IcH2H6CXH X-Received: by 10.101.76.13 with SMTP id u13mr1734726pgq.287.1520691637352; Sat, 10 Mar 2018 06:20:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520691637; cv=none; d=google.com; s=arc-20160816; b=SE15XA4EbI/W+vVQh8eGzbgnvcIAZPaL6fg6n0AsYuRwXCjU0yvoPU2Yq6W42nSrbS bbv8aw2f646vRAQ9LTahk3h1NsP6Gy3q6z+QPQtS2qEqU3FEFzvrs6sLQ3z1XIsnqJpL +kKIq7cZ3Vh7gC7rs03pwGX7aSabTPfSc5AmkROuDMJccFRa/ipAunyp2HB0jrEmjXbY aJkt3cDV6xMrrgnp6Ovp2Z0RYpYsHLDXwWRRevD9Tt3jR9T8TD/FNxA7Qf+AVXu3hAVN Qk4agYOJbBwo9JD4ijJ8e4jGHrIzhWpIF45KBpzyKUDpwltn9IdViybBnGZcFSKSGCAE BwXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=qm46F7jFJRbJZrYa8RGIDdztkaKc3gPoxT5SaCFTMKM=; b=WdUPWpEadzFlysfbVC8v+hE0PNhsSOss13isNCyJ7iZ/wXm0tTSYeSKmEBLpGsSkYs zgRDV0C+J+3uOG1Hgx3BmGfpKaiBvAsF3ASZeFPc6R04RxO5kO8l+rHcha6QAb+zFy73 H6Cchnqo0Tv3Ca6nkD0yf5P8wQRaiooyiZLfmcwvdPQsLinKIGw6DYho3lAT8PRbrtcw VXEplDw2vSbkofOUMwH35ITa3baJUYNOmP2rYAikUc8zrgA8Avh7IjOg2Evu2dUlDMwK ehckfaP+27Yzp5REBAGTfQ8QNhjIynLiUuwYtsnpZUcweLdGDNzfAfGvUiaxu6qUf+WA sW+w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg11-v6si2840899plb.194.2018.03.10.06.20.23; Sat, 10 Mar 2018 06:20:37 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933309AbeCJOTM (ORCPT + 99 others); Sat, 10 Mar 2018 09:19:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:51934 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932171AbeCJOTJ (ORCPT ); Sat, 10 Mar 2018 09:19:09 -0500 Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ABF32217B1; Sat, 10 Mar 2018 14:19:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ABF32217B1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=mcgrof@kernel.org Received: by mail-io0-f178.google.com with SMTP id e30so6607760ioc.3; Sat, 10 Mar 2018 06:19:08 -0800 (PST) X-Gm-Message-State: AElRT7EuYhbcjNvqgqGW4Mta/G6lKVEXsHXFw/RaY9taeTPyskM+6pZj 8JYdTwtOKrnnIyDkwtF7TeR3GSSY4U3un4JDIWo= X-Received: by 10.107.135.207 with SMTP id r76mr2324554ioi.248.1520691548158; Sat, 10 Mar 2018 06:19:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.10.83 with HTTP; Sat, 10 Mar 2018 06:18:47 -0800 (PST) In-Reply-To: <20180309221243.15489-1-andresx7@gmail.com> References: <20180309221243.15489-1-andresx7@gmail.com> From: "Luis R. Rodriguez" Date: Sat, 10 Mar 2018 06:18:47 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC 0/1] Loading optional firmware To: Andres Rodriguez Cc: "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman , linux-wireless , Arend Van Spriel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 9, 2018 at 2:12 PM, Andres Rodriguez wrote: > Hi Everyone, > > Wanted to inquire your opinions about the following matter. > > We are experiencing some end user confusion regarding the following messages > being printed to dmesg: > > [ 0.571324] amdgpu 0000:01:00.0: Direct firmware load for amdgpu/polaris10_pfp_2.bin failed with error -2 > [ 0.571338] amdgpu 0000:01:00.0: Direct firmware load for amdgpu/polaris10_me_2.bin failed with error -2 > [ 0.571348] amdgpu 0000:01:00.0: Direct firmware load for amdgpu/polaris10_ce_2.bin failed with error -2 > [ 0.571366] amdgpu 0000:01:00.0: Direct firmware load for amdgpu/polaris10_mec_2.bin failed with error -2 > [ 0.571404] amdgpu 0000:01:00.0: Direct firmware load for amdgpu/polaris10_mec2_2.bin failed with error -2 > > These firmware blobs are optional. If they aren't available, the graphics card > can still function normally. But having these messages causes the user to think > their current problems are related to missing firmware. > > It would be great if we could have a mechanism that enabled us to load a > firmware blob without any dmesg spew in case of file not found errors.Currently > request_firmware_direct() implements this functionality, but as a drawback it > forfeits the usermodehelper fallback path. Yeah, this is a common enough reported type of feature request that I think it makes sense to add now. I'll reply to your patch with a bit more details. Luis