Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3452147rdb; Thu, 16 Nov 2023 09:46:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IHKvJ5xwlvmIXi17gwx57WnHmCse6QLo4hsRmpKUBxjwrG49RGVP4CjMwultT/uNiKE2e0H X-Received: by 2002:a17:902:d505:b0:1c2:193e:1126 with SMTP id b5-20020a170902d50500b001c2193e1126mr3286763plg.28.1700156799383; Thu, 16 Nov 2023 09:46:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700156799; cv=none; d=google.com; s=arc-20160816; b=BLXuXUY70hBGSUqFdYxPEJi83pZXiIMUVpN6q2fGIYLOH7rrcymYPfMgD7JxtEfr28 wPlYmBz6VgjVH7c/q6F8YnikppHYvKlL7qGgcEaTtI5SUW0rhgIPmJHaFaOGoq/b2RKK Xb9TWboQK92PrKBFXbIWQbo7+qjBlwndCjt+FFcxAsNww9adrlPdstVT4G5s8qtvSnBz y8MLLdHTXFM4lABrQCq76FVoTncs5UKh1aHa4zs5sq1ZBtg1gKAPA8+BzdAQzZoze/wU LcG9GwFwNrhb7ij4RxoDHjPl9OraRx2o+UoVdGGoEOP4q6jLd+4aRHTCki4veqRsYdR1 iSjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=h+t9vzufYBQh61XVRuhZKlYvqVBz0QJpAWiFrWi5qkg=; fh=dBSj1Anongxm3AqEVsAoqej2eyguUa3eeydsriREnjo=; b=GAcmqP40XbGc061I0R7DVm9yyenX/L3ETHJxefUwcgFFjCw1Z4A6tpBpqbdot5tFau EZhNDE7IK+/JweHQjaG5SvDuM7DgPEGs5+uTvBA+Q8x7W1TT2yGksBh3QQewCjHftMrA 3nB1YnaCWnbsTNhPqODR+giia+oAY/J5WiByVdyHWYXPpQqNpC24hq0RqotrGKoHi9mu XfOKY8FLsFjLVSYUiZu+qjR3FVSbqGp4VFkbfc4sJ/jibUJqkoUbCtBb5ru8tjLrZrf1 gJVQL5G3vVs7+POOBDGh+bU7heDhYuCMe1bvDEto1ouLhHeD91ZRQsbqSlte4lfiRY4e F7rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="H6u2kK0/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id k9-20020a170902c40900b001ce5b7bd150si90545plk.607.2023.11.16.09.46.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 09:46:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="H6u2kK0/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id E82E1807600D; Thu, 16 Nov 2023 09:45:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345282AbjKPRpC (ORCPT + 99 others); Thu, 16 Nov 2023 12:45:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjKPRpA (ORCPT ); Thu, 16 Nov 2023 12:45:00 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E413D182 for ; Thu, 16 Nov 2023 09:44:57 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D44F3C433C8; Thu, 16 Nov 2023 17:44:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700156697; bh=yn5B25n6M8qrwrNyu0STc5iMLcjtyg6R1Uxl3tbWaqE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=H6u2kK0/IowLCdNLr4C5NK0exZ27pjabRvjz3pfiTGxK2HMJCRecsKkSr+TsGGIYE ncaUTB4oC8rxk7lEd/BExTappoBI77nkp20TXsV4w1Y02H1F5z/rs9q78qUAWAQmVx YFjQsxTeFfmfg8ElsdiSJ2X56ZztoIlmWzDbwAX41ScHUDdGDm/97X0D1ZB1piTzUY ojTQSWB7wCGZsIYeKakOLblWZhS7WPwq71Xk38SG2IHN5hYxkimIZR069qTq5W5qLb LTifKK5gF/UyJVUP7EtqTMrOuzotucclcM+zoIvkX5lO7WViCJ39ICD9XJ18Gn3JeH OWilj18Cr9Nxw== Date: Thu, 16 Nov 2023 17:44:53 +0000 From: Conor Dooley To: Kory Maincent Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , 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: <20231116-t-shirt-supreme-581c8882d5cc@squawk> References: <20231116-feature_poe-v1-0-be48044bf249@bootlin.com> <20231116-feature_poe-v1-7-be48044bf249@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6ypoZjICOlFY8ORK" Content-Disposition: inline In-Reply-To: <20231116-feature_poe-v1-7-be48044bf249@bootlin.com> X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 16 Nov 2023 09:45:13 -0800 (PST) --6ypoZjICOlFY8ORK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > Expand the firmware error code with an additional code: > - "firmware invalid" code which can be used when the provided firmware > is invalid >=20 > Signed-off-by: Kory Maincent This would be rather helpful to me for some stuff that I am currently working on and was hoping to send to Arnd for inclusion in 6.8: https://lore.kernel.org/all/20231020-series-uncooked-077b107af3ae@spud/ I'm currently returning a "HW_ERROR" for something that this would fit the bill for (in mpfs_auto_update_write()). What would the ETA for this stuff landing via the net tree be? Since I am not a netdev contributor its hard to tell how controversial these patches are! Cheers, Conor. --6ypoZjICOlFY8ORK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZVZVEgAKCRB4tDGHoIJi 0irnAP463rgejD0fRuUPUsFy/SyMR0GqguMUDXaPiQRu3KbdyAD/fQJuV4BKxnmF n8iXTSD1Six25k/bHw9DH6k1b+et7gU= =GRGU -----END PGP SIGNATURE----- --6ypoZjICOlFY8ORK--