Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp117763iof; Wed, 8 Jun 2022 16:52:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsOWpydxoFcDYtXCPKyp3GCJhjk1rxv4wGpqTb+gLr7ls/WWewidJLcQuTuDfpOGC3YDTb X-Received: by 2002:a05:6a00:a06:b0:51e:47f5:79ad with SMTP id p6-20020a056a000a0600b0051e47f579admr528628pfh.53.1654732377628; Wed, 08 Jun 2022 16:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654732377; cv=none; d=google.com; s=arc-20160816; b=Wj/Qe/cs+71pQf/bfAk1tXJef9kukmNsAmRhQtwzFJs3+TUZECS2jFuhORtmfNXQcx flIQnAOMkOM63OjgmrSmMWpkiEHFnC9rf4k0SSry0uIe1a1snopfpj0UQoin7zgMzGA0 G2RwP2HOH7JL/3eNc0QVbcLIaxngf13vn8x1dOnYDdTy5m01Xc0iAu9A5QLp+uUAzEjw cbHKKswRsEUyz9gI9ymh6rJZ6mkiymdGBbBvpwDCYR5ZcNKNAFSzYk/Za8pokQot4J3u mkYb4Sdtxmkz+FTXS4MYaV8z2a3d0X3NiEInVIZR3iwHoXVWnIq5JLwZywlgloeSx89b yoMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5dm3ORkewVvScpNnTHAWD0lWUpKHv8ZP9Eg12POa/hY=; b=CeZxe3HVwRVDa38A7xGHjemwtDSseCPzCr4yhaQa05nT6lHuBixeAYWS4RaVJM80aR IVhEs+qDxS//9eW5eTXtN+yj110tVphe5YwgqJQ8xLQ/ZkyY1VnitZvzyhsaPosKTQxB w9+aDlfWViu7TdefS2ns6U+9HFpxVtb1AujfunbryHuRPJlJ/xTgl16buYixaXRXrLHy TsRY+mdkQ0iXwfA1zyeV4jY4AubW1NLHiEKC5SFe4aM8NQ2k80yIMVcvNepaa1DNaRQN RgddlLFXIg6wJlZIxTbv+AePX1V1fZjEsiOguYN5PAJNGSZLHEmnitC3Muh+DcZFmf/L rcFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=s8ajev8y; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 127-20020a630285000000b003fea0401229si1322900pgc.456.2022.06.08.16.52.45; Wed, 08 Jun 2022 16:52:57 -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=@google.com header.s=20210112 header.b=s8ajev8y; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231315AbiFHXP4 (ORCPT + 99 others); Wed, 8 Jun 2022 19:15:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231176AbiFHXPq (ORCPT ); Wed, 8 Jun 2022 19:15:46 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82D5D62A2C for ; Wed, 8 Jun 2022 16:15:43 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-2ef5380669cso224682297b3.9 for ; Wed, 08 Jun 2022 16:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5dm3ORkewVvScpNnTHAWD0lWUpKHv8ZP9Eg12POa/hY=; b=s8ajev8ylc24lWL+uVn0aQqBmKLBXSt4qhwBZySWYs06ap1dTsQm6yNKQo5ZZk1Ttw CogFfnoV9WalwlDwJZQwIzhS53XYG0TnpLr6RaCiWz52oS8Ya2rxty3/51rSjmJayx7c EWdKZF1ai138Psl2FvsA3fb81ZOFaNvnMqn373Non4bghec4LDcPh888h9mpuh/1unnN f9dX3yfRPbSr2zW6HLeQ/tEvTedV0nhIrv0QdBSD7AwR10AtUBj/yefZJX+LJ+vEpqtI mz7ygzZjwLzaYvbU7IBn1tdY8nY9jEOw6ZGRU2lMtt4y+nfEmnlgAfeCbdWY91a6rwLO KGNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5dm3ORkewVvScpNnTHAWD0lWUpKHv8ZP9Eg12POa/hY=; b=jHnL9LVV9Ezn5ZX/KScCHjyJmnbQBfmaKkU/U8U5HLBVKNa53O8CPVpVwtEyuBxGqt 4kIRFSwTAPEJyUql6Ze1oROB1M6DNLn98nbyRmXidau2yV9BaamJuqUrRNPwvNy7bepk FFdAAeSej6TVWuEBIZi+8juz82rJdOvPVKnqiXJUY1+7axucbuNsfsDDZoTrMjXucKKY qhbOTs4f4lHptgE8WxdpBLdaMuFCMrz6qc4zcsLpGf6mq2AcFNdqdLn6YUHGfQZweL1S raxKtXXM0/Ho+xSybAa0tBecmc8Q40MW0p2EsN+9RkOEdXLlSvwByYEQ5dLyteSZYn3Q sXrA== X-Gm-Message-State: AOAM532M0LmF6thiLWKp9n3CwVHTlXWWsSHHREiCHiacc+4nZXhZ26Z9 Kk7JBNFtjdcGNYH93UkuzrD+S7rsk8z8U75NSA7SFw== X-Received: by 2002:a81:1a4c:0:b0:30c:8363:e170 with SMTP id a73-20020a811a4c000000b0030c8363e170mr38925926ywa.455.1654730143827; Wed, 08 Jun 2022 16:15:43 -0700 (PDT) MIME-Version: 1.0 References: <20220601070707.3946847-1-saravanak@google.com> <20220608154908.4ddb9795@kernel.org> In-Reply-To: <20220608154908.4ddb9795@kernel.org> From: Saravana Kannan Date: Wed, 8 Jun 2022 16:15:07 -0700 Message-ID: Subject: Re: [PATCH v2 0/9] deferred_probe_timeout logic clean up To: Jakub Kicinski Cc: Geert Uytterhoeven , Greg Kroah-Hartman , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Len Brown , Pavel Machek , Joerg Roedel , Will Deacon , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Paolo Abeni , Linus Walleij , David Ahern , Android Kernel Team , Linux Kernel Mailing List , Linux PM list , Linux IOMMU , netdev , "open list:GPIO SUBSYSTEM" , Linux-Renesas , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Laurent Pinchart , Rob Herring , Vladimir Oltean , Florian Fainelli , Thomas Bogendoerfer Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 On Wed, Jun 8, 2022 at 3:49 PM Jakub Kicinski wrote: > > On Wed, 8 Jun 2022 14:07:44 -0700 Saravana Kannan wrote: > > David/Jakub, > > > > Do the IP4 autoconfig changes look reasonable to you? > > I'm no expert in this area, I'd trust the opinion of the embedded folks > (adding Florian as well) more than myself. Thanks. > It's unclear to me why we'd > wait_for_init_devices_probe() after the first failed iteration, wait_for_init_devices_probe() relaxes ordering rules for all devices and it's not something we want to do unless we really need it. That's why we are doing that only if we can't find any network device in the first iteration. > sleep, > and then allow 11 more iterations with wait_for_device_probe(). > Let me also add Thomas since he wrote e2ffe3ff6f5e ("net: ipconfig: > Wait for deferred device probes"). Even without this change, I'm not sure the wait_for_device_probe() needs to be within the loop. It's probably sufficient to just do it once in the beginning, but it's already there and I'm not sure if I'm missing some scenarios, so I left that part as is. -Saravana