Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2141233rwp; Fri, 14 Jul 2023 01:07:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlHb6jvfWQx/s1E3QE84V7Fey0FX3DjzpvWg5QtmfTwaCgaKpfPu54mVa9+QOwSlF1cqE//1 X-Received: by 2002:a17:90a:3d84:b0:263:27f5:d447 with SMTP id i4-20020a17090a3d8400b0026327f5d447mr3426936pjc.9.1689322052847; Fri, 14 Jul 2023 01:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689322052; cv=none; d=google.com; s=arc-20160816; b=Uxa5ThkkJ1MWNn/VA/MDjh1jZ1iGR51nie6jUh7DtUO8Xm1rczFWdJwbgBIkRYK9v3 jaAW/yvlK4nzOEuFR4pBtLSmK6izFs2ritgaLioCI+UuUh2hOSCuwjQodRxYxhhymqiu /e5JI8l64IbHxxia32xYmF3cwLInnw8sJbyTokivkum54Rya/KI/vQ3oaEB/fOCyoxgk GXlY2cmUxSZYRoH2RnP+dLTwcaykZsBRLqPut+mTnvKF9s0Uz+7V9kZhjFClroE5sw9G 1U/105T0Jr1ELVsVIVD2/uFhRkPQxK+KHYUCAQfUMfuBDzKh9yN2hcc3Vo6NS4qy1OIF MXaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=BuptVM5sFe1FZ61Ot2mzNZzZ3F6wSsyA29N3WZH8xgE=; fh=6Z4fYfF4OxFceYhQNJmbog082p88lKaf5PwRoPluSrI=; b=vrz1fL3b/GaJz72nCfQUVl8C4fGQLQBEOJZ6nqE6qqhLKPgaIrVfBxmmvJZ00lgi+0 wUFoYdGnxSj6X02Ai5J97FnQ46LpE05Q6aR8FeeLWy3s+iM4PNkdaEhY/DndA36asys2 /uZge1iEX8+8XvEgbID7UQzm1cNSMjFgdtvmNKyYkFEg09MLGuBtk3qwRsH41YbG/6qp +OLNgHnzAd3CwZ2K0h4DoMM8Hk6s8hF5z20d9U8fk/R8mrIt5E/D9y7HDl6Cx9DG0W6U JpooJNCIBYfTYGHJkBL7YekFyatox29zDEzibW2YbqvBdlztsxKU0OTCm7YljkVzLGUL qaSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vPwcgOZy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iq12-20020a17090afb4c00b00262e93858f6si878605pjb.58.2023.07.14.01.07.19; Fri, 14 Jul 2023 01:07:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vPwcgOZy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235489AbjGNHu1 (ORCPT + 99 others); Fri, 14 Jul 2023 03:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235482AbjGNHuX (ORCPT ); Fri, 14 Jul 2023 03:50:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FA5630EA for ; Fri, 14 Jul 2023 00:50:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D728D61C4A for ; Fri, 14 Jul 2023 07:50:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 38620C433C9; Fri, 14 Jul 2023 07:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689321021; bh=cwHRXo/wW2oWNu56lQpWumfN9yIRdiC3B4zek6vqFec=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=vPwcgOZyxDwpM34uramttyAkJZPb9WG+KRYmXwhhnI8u9UNgZkvtX/vKp6+o2Vo1y toH97iB2AdbR1UpRzpbkruQi9ilVVO2JmGOQrPqGvrHtULzmFGsfEtYAnDicRo681l kJFvTLCYaUK126+6IrOqemh00oEGkQudQNnc86ftIDvVOGbNTs7HedAwyOPxL578AZ OFDs3jemP8Fo2OVRaOUFDru+its8yfF3MflfS99KDov4ZHGrjusaLobaMS1LqmtCGp cXHTmAPVWB9CettzqZ1ReS1c7houLKId2fAlp22a6OD4bv5e8v70r6BHq+LL+8G3OD WDK0gebedr3XA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 1F4FDE4508F; Fri, 14 Jul 2023 07:50:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: ethernet: mtk_eth_soc: handle probe deferral From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168932102112.13275.16065030882031894328.git-patchwork-notify@kernel.org> Date: Fri, 14 Jul 2023 07:50:21 +0000 References: In-Reply-To: To: Daniel Golle Cc: netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, nbd@nbd.name, john@phrozen.org, sean.wang@mediatek.com, Mark-MC.Lee@mediatek.com, lorenzo@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, igvtee@gmail.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Thu, 13 Jul 2023 03:42:29 +0100 you wrote: > Move the call to of_get_ethdev_address to mtk_add_mac which is part of > the probe function and can hence itself return -EPROBE_DEFER should > of_get_ethdev_address return -EPROBE_DEFER. This allows us to entirely > get rid of the mtk_init function. > > The problem of of_get_ethdev_address returning -EPROBE_DEFER surfaced > in situations in which the NVMEM provider holding the MAC address has > not yet be loaded at the time mtk_eth_soc is initially probed. In this > case probing of mtk_eth_soc should be deferred instead of falling back > to use a random MAC address, so once the NVMEM provider becomes > available probing can be repeated. > > [...] Here is the summary with links: - net: ethernet: mtk_eth_soc: handle probe deferral https://git.kernel.org/netdev/net/c/1d6d537dc55d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html