Received: by 10.192.165.148 with SMTP id m20csp5518728imm; Wed, 9 May 2018 06:24:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrWXmTcHl1f1neW6z7z+0CcEeQmstbJNHplgsUD/bbqdoS7/HEWNky8E10+8N9+L8olsWTV X-Received: by 2002:a17:902:8ec4:: with SMTP id x4-v6mr45013368plo.370.1525872264964; Wed, 09 May 2018 06:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525872264; cv=none; d=google.com; s=arc-20160816; b=LUTOoGJAIGQtki58y/wHHRYaVanrn1AI97a97TQvZIqPwv9dPKa0wuzt+jtZKoel+7 r7nUpNG+KUMh0sJPujRUKP0NrX+kkuIDA4ymzjABzHuOmj+J/QNakD7MCRynXk2tnTZ1 Wbtk3y7mY4QSdN/uulYNBDYGDiBSkHSaH90Xb5ZZjnLcHEj825nXxazTs8MTxoPPGuMC 5wNZB3AlrUP6NaBgIb59bMe9s1yNaZj0FE9KiTlbxpJdS2FW8woIFj0/JujMRzSEBdXV yNtMePuCEsDnRpyFOLyQDUhek7/X1tNbebgjSGHXf8kz+gTUJWqLbUhZqmGlaIT/zxJH JbFw== 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 :dkim-signature:arc-authentication-results; bh=fWp43Pnk3W4qgYR7qBobzgG0SgLd0Fyon1I8O+aNlyI=; b=J0mPsy7lSCMWefRp8ahHeIC7iYHAjYcXz5lqS7vg9dgtq/XUN8wSElMa39qUiiBfpZ yExSBF9bKxnxQeWhE395cEY8RqPVa43RgMoJXGvwjr8r/QrKL2eb0dLcYFr9ITJ8qnue XePwmwZx9Hb07WXZfxIVnHm96BLMTqmYIgypBM2sOl5UbzZPr2Rcmqu1aASNMrr8WRTa mi6l9GPJ7561I3uvlSwIISxfZqmdJdweGDsHwQu8bkIhvedB/wd8pnh0/sGeZqHnsi3K p+aZS8uTyHHSZRhThqvDizRK/edKyo5VJMI3zD+qdXN5Hju3UHF/2/UYXRTZiDqgVLlb BatQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Qia8o8kE; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z24-v6si21468422pge.161.2018.05.09.06.24.10; Wed, 09 May 2018 06:24:24 -0700 (PDT) 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=@infradead.org header.s=bombadil.20170209 header.b=Qia8o8kE; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935372AbeEINWR (ORCPT + 99 others); Wed, 9 May 2018 09:22:17 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:57494 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934976AbeEINWN (ORCPT ); Wed, 9 May 2018 09:22:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fWp43Pnk3W4qgYR7qBobzgG0SgLd0Fyon1I8O+aNlyI=; b=Qia8o8kEk1BhiXq4bI79qtlMs VNeDwuQOAAaggNp4Vyatv662PwLhqC2qeKMWsPTpjmRonFP7aDdSjfHj0KJznxnhjz5VLQoa5zEuz RashpoWhMFebelkGKAvAOhwRGD1hWrIhdInBa0kUFFjeFGKWFiQZ9CvWl2zGnKA/HsxKUK5EcpuvN YYnJgA6jgDwAWCpRlXNtK4PHgYazrqsSj9M/lUbooauI6AfaVKUPiVTqVsuxEgCWtIf76mbTX2ejK btYJBTR1FB+1BkRbd+EVrP9hS9TvQAP2X6xNXffa1wm6T38jN6yZttjRy/PGg1D1EQTmMcx3Mtl2t 4db19Szgg==; Received: from 177.41.96.165.dynamic.adsl.gvt.net.br ([177.41.96.165] helo=vento.lan) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fGP20-0006iV-JH; Wed, 09 May 2018 13:21:20 +0000 Date: Wed, 9 May 2018 10:21:08 -0300 From: Mauro Carvalho Chehab To: "Luis R. Rodriguez" Cc: gregkh@linuxfoundation.org, akpm@linux-foundation.org, keescook@chromium.org, josh@joshtriplett.org, maco@android.com, andy.gross@linaro.org, david.brown@linaro.org, bjorn.andersson@linaro.org, teg@jklm.no, wagi@monom.org, hdegoede@redhat.com, andresx7@gmail.com, zohar@linux.vnet.ibm.com, kubakici@wp.pl, shuah@kernel.org, mfuzzey@parkeon.com, dhowells@redhat.com, pali.rohar@gmail.com, tiwai@suse.de, kvalo@codeaurora.org, arend.vanspriel@broadcom.com, zajec5@gmail.com, nbroeking@me.com, markivx@codeaurora.org, broonie@kernel.org, dmitry.torokhov@gmail.com, dwmw2@infradead.org, torvalds@linux-foundation.org, Abhay_Salunke@dell.com, jewalt@lgsinnovations.com, oneukum@suse.com, cantabile.desu@gmail.com, ast@fb.com, hare@suse.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, khc@pm.waw.pl, davem@davemloft.net, arve@android.com, tkjos@android.com, corbet@lwn.net, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v6 13/13] Documentation: clarify firmware_class provenance and why we can't rename the module Message-ID: <20180509102108.7049f7a9@vento.lan> In-Reply-To: <20180508181247.19431-14-mcgrof@kernel.org> References: <20180508181247.19431-1-mcgrof@kernel.org> <20180508181247.19431-14-mcgrof@kernel.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, 8 May 2018 11:12:47 -0700 "Luis R. Rodriguez" escreveu: > Clarify the provenance of the firmware loader firmware_class module name > and why we cannot rename the module in the future. > > Signed-off-by: Luis R. Rodriguez > --- > .../driver-api/firmware/fallback-mechanisms.rst | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/Documentation/driver-api/firmware/fallback-mechanisms.rst b/Documentation/driver-api/firmware/fallback-mechanisms.rst > index a39323ef7d29..a8047be4a96e 100644 > --- a/Documentation/driver-api/firmware/fallback-mechanisms.rst > +++ b/Documentation/driver-api/firmware/fallback-mechanisms.rst > @@ -72,9 +72,12 @@ the firmware requested, and establishes it in the device hierarchy by > associating the device used to make the request as the device's parent. > The sysfs directory's file attributes are defined and controlled through > the new device's class (firmware_class) and group (fw_dev_attr_groups). > -This is actually where the original firmware_class.c file name comes from, > -as originally the only firmware loading mechanism available was the > -mechanism we now use as a fallback mechanism. > +This is actually where the original firmware_class module name came from, > +given that originally the only firmware loading mechanism available was the > +mechanism we now use as a fallback mechanism, which which registers a > +struct class firmware_class. Because the attributes exposed are part of the > +module name, the module name firmware_class cannot be renamed in the future, to > +ensure backward compatibilty with old userspace. Ah, now the explanation makes a lot more sense to me :-) Reviewed-by: Mauro Carvalho Chehab > > To load firmware using the sysfs interface we expose a loading indicator, > and a file upload firmware into: Thanks, Mauro