From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="zUupdeqo" Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D6CFAD; Thu, 16 Nov 2023 08:30:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=RQpjx3xss5JoP0672H6uZ18yK44pM/h/GVN/t8dBRd0=; b=zUupdeqoR0t918i860g0uC1DqU xxvNzeUzj9F5kUBxyeZT/Ji6cezvSWagc5KeDDX+LUJxjLdII+LM5Z4OjR1e7ZeDKO0B57LgkrP4U 84tuXL/t99DwiMwWpOqQFz2GVc2r3uQCHgomervUIlfFvbj5Vc3WG/pzoA8R0IDBEA0PGPiOxk1kE uAKDACBWI6VqlOIpxcjfC7+pLmEPzHhgn2X0ROtVkzjTxdS1fkOp4jKwg3TNBomRhTcof1rZm4Tdf qJh0F/sd9bKPW+3YXrZ4Epw8wjCYqxE0OSyLSrTZRjkyltKOic7hmuIOEVZW9BEKCiUnPjiXkgER7 a2U6Cgdg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1r3fGP-003yFA-3A; Thu, 16 Nov 2023 16:30:45 +0000 Date: Thu, 16 Nov 2023 08:30:45 -0800 From: Luis Chamberlain To: Kory Maincent Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH net-next 7/9] firmware_loader: Expand Firmware upload error codes Message-ID: References: <20231116-feature_poe-v1-0-be48044bf249@bootlin.com> <20231116-feature_poe-v1-7-be48044bf249@bootlin.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231116-feature_poe-v1-7-be48044bf249@bootlin.com> Sender: Luis Chamberlain On Thu, Nov 16, 2023 at 03:01:39PM +0100, Kory Maincent wrote: > No error code are available to signal an invalid firmware content. > Drivers that can check the firmware content validity can not return this > specific failure to the user-space > > Expand the firmware error code with an additional code: > - "firmware invalid" code which can be used when the provided firmware > is invalid > > Signed-off-by: Kory Maincent Acked-by: Luis Chamberlain Luis