Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp759262rdb; Fri, 17 Nov 2023 11:48:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IF423lstIaEpgw2VXLQWUtjsJP822HtTgCTAN55UVLaL8RSGNv4qsRkv08ycTeoaCttgbAx X-Received: by 2002:a05:6808:1b0b:b0:3ae:61f:336c with SMTP id bx11-20020a0568081b0b00b003ae061f336cmr459153oib.8.1700250533331; Fri, 17 Nov 2023 11:48:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700250533; cv=none; d=google.com; s=arc-20160816; b=uVAYl3n7nLCcRC4KfnwKybvbNA4XRMW8gVI2+5PDiDkjgb/hA8q1hFP0aoFfw7RL+r jsVdmBqaVflVHLMeCUfQs+R+mqm/s7X+8GhX8TYqC71bLQRoEpct+dQDTssp0olHCwuQ 3epLbheSr0gbv6BJ/5RqFn6nVLrlsEl78/2ua0Qil7bbpC9CLnYwcPhD9Q+iDgSjnBd1 jgLh7/pMwApq3YEQDGi2VseLVdQWz46hh8r9DYzLpiI6uEABcP+wn7/gGej2fLiXqNT3 /uSwiD7tgViC7m1BTEIHpV9pz6n4iINphXV4kN58z8LmgINY+zt9Wwqns2nry7b1qBf0 UniQ== 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=4dab5Y+lOT/Owcr+ggWDEAWGqRekTpEwtspdHosKrNo=; fh=vJ75Sf83sX5BYsl6EwhmGbzgKKc6TQinGaNo040sCFo=; b=qVgSCIzHNOZnNDCOjAl9mH8yqLe6H3us5dRrvytLgE03X+jP6cr1yF8ujwQ0cXAIRn oSkXh9ebZ3vB2uzH+WdBJeVma8m+mgpcmCfotdJnTak1i/GykcaW/YE38iEX61R4D1h7 fMZUtL1zllCN53gmW7dmRGtlWlTle7bcybSWXe9T0/qbsD0Y2kNSTsml/bed6rAwZzQj WlwOJwsSBX5NCH0Uup5L0gLX3QhwLGa/rD1MOa4vi4YsJvse4+dSrCPejlNyTWHB8aY5 WEKi2zpzCG4MXpkojMS4qdNVCNfeeJy8/RVDFNuB7Kxq5yC18iTzQB7Kpvl7kar5KOBh tY5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZY+8uqWg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id p11-20020a63e64b000000b005be0d708412si2478806pgj.31.2023.11.17.11.48.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 11:48:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZY+8uqWg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 2EA708318052; Fri, 17 Nov 2023 11:48:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231201AbjKQTsj (ORCPT + 99 others); Fri, 17 Nov 2023 14:48:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230186AbjKQTsi (ORCPT ); Fri, 17 Nov 2023 14:48:38 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A751D5C for ; Fri, 17 Nov 2023 11:48:35 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5718C433C8; Fri, 17 Nov 2023 19:48:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1700250515; bh=X7JZz+ON7qSHlA37jt4TpJnFpH56zWbengdGSXs0b9Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZY+8uqWgJilAslNYbhHRu3b8/mWuvqc21zHQ1flxkaFfL2/4HqnaRvX8m/Bonwhgz PoJkrKPLwpS3MQ8InlyKUNZ/IxISURrNYJTLuUEeaf7/Vxza3vSl/LKcD4kY9cdZTb KhVohOBGaaijinUxkd8GOHHrSn2FrVB/uLTyRJb4= Date: Fri, 17 Nov 2023 14:48:32 -0500 From: Greg Kroah-Hartman To: Andrew Lunn Cc: Kory Maincent , Luis Chamberlain , Russ Weight , "Rafael J. Wysocki" , Thomas Petazzoni , linux-kernel@vger.kernel.org, Conor Dooley Subject: Re: [PATCH] firmware_loader: Expand Firmware upload error codes with firmware invalid error Message-ID: <2023111727-exert-dab-b940@gregkh> References: <20231117-feature_firmware_error_code-v1-1-92c973a50847@bootlin.com> <2023111720-slicer-exes-7d9f@gregkh> <548c3b60-60ce-4166-9943-224e03152cc5@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <548c3b60-60ce-4166-9943-224e03152cc5@lunn.ch> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, 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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 17 Nov 2023 11:48:50 -0800 (PST) On Fri, Nov 17, 2023 at 03:06:44PM +0100, Andrew Lunn wrote: > On Fri, Nov 17, 2023 at 08:45:59AM -0500, Greg Kroah-Hartman wrote: > > On Fri, Nov 17, 2023 at 11:27:53AM +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 > > > > > > Acked-by: Luis Chamberlain > > > Acked-by: Greg Kroah-Hartman > > > Signed-off-by: Kory Maincent > > > --- > > > > > > This patch was initially submitted as part of a net patch series. > > > Conor expressed interest in using it in a different subsystem. > > > Consequently, I extracted it from the series and submitted it separately > > > to the main tree, driver-core. > > > https://lore.kernel.org/netdev/20231116-feature_poe-v1-7-be48044bf249@bootlin.com/ > > > > So you want me to take it through my tree? Sure, but if you are relying > > on this for any other code, it will be a while before it gets into > > Linus's tree, not until 6.8-rc1, is that ok? > > My idea was that you could create a stable branch, which can then be > pulled into netdev and arm-soc. I'll be glad to do so, you just need to ask me to do that, I don't see that request here :) > If you don't want to do that, we can ask Arnd to take it, and he can > create a stable branch which we pull into netdev. You want a stable tag to pull from, right? But really, why not just take this through netdev? It's just one commit, I have no problem with it going that way at all. If the odd chance there's a merge conflict in the future, I can handle it. thanks, greg k-h