Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp621428rwb; Fri, 4 Aug 2023 20:06:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHwLiVQOHk4WroWMSlvHPEsyOPFvv49y5iYY5JfA57MmgCSwohvZISvSdgusP41S+//bbbb X-Received: by 2002:a17:90a:d348:b0:267:f1d7:ed68 with SMTP id i8-20020a17090ad34800b00267f1d7ed68mr1769686pjx.14.1691204810417; Fri, 04 Aug 2023 20:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691204810; cv=none; d=google.com; s=arc-20160816; b=KNQmy7mTHlScZYZmpBa/Z87GtQbToOAaUjA9ss0cgR1fLg+fs5CXsuci9bu8aw31LX LQbC4exzdE//T+pRPSwss3rP3hYHV+ma4tjSXzfPkdUjy7aLfsYIaSqQqGb3RfGJ5uZr IjisMtJuxuTQNiyhXRf14PWuwvo1k75K3pGwBVSYDKsCWsBnWxlHN3MDvKQMz7uLbcwp 2FbWvpW1079RXMVEx3MWJl67eeIuhi6McwLrKnUaR8PAAIffNDgdK732PiXZT/ZKMmIT QhrWVX9v1XgbLxWaUJDupq7lOdbJnOVoU5zvoBG9huCabQfDwbosAjNKo8OFMaNXizAf oeLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=H+SuaTtMx9fDim3CvSX0GbYJTZyNduayXRPq9NXsUpY=; fh=NyAlvk4R4BW3OcQxaF4GrApVGZeRikZrIG7pKUe9LFA=; b=Jbt790qhlJQxJjmRNl7ew2tkMcIX2sQh0CGDhp73HHrWkHLeSt+GRChfbgLXFDvuIA lBzfZ3wDCbbAZim4Y9rdOlvICXttepophIPwXtXlln+TDAb6lxf5mL9wIwJgMJvW6gjt gbahU/yD5/+5FrMhdStkUcxqanrD0vj8MgXA+VrGRiuh9jjfifWzmaCiPX5KeD8H+Mwe /994XFqq7ed93PyFoK9yyu3fH0wUSgQptPjEEvOAF/OB7ymcnFywr2xVU+2dkE9DG1Ox YjFCXbH/3QJRF3JuKfXQ0BFvzRoCjiR9l9uOohgjdwuoDy73qa6il9svjVsk0rlFuz6P tU9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="xlaH5o/2"; 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 j15-20020a170903024f00b001bba90f8b73si2792486plh.78.2023.08.04.20.06.38; Fri, 04 Aug 2023 20:06:50 -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=20221208 header.b="xlaH5o/2"; 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 S229920AbjHEBDp (ORCPT + 99 others); Fri, 4 Aug 2023 21:03:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229884AbjHEBDo (ORCPT ); Fri, 4 Aug 2023 21:03:44 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B13C4EE0 for ; Fri, 4 Aug 2023 18:03:43 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id d75a77b69052e-4036bd4fff1so63691cf.0 for ; Fri, 04 Aug 2023 18:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691197422; x=1691802222; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=H+SuaTtMx9fDim3CvSX0GbYJTZyNduayXRPq9NXsUpY=; b=xlaH5o/2Du//Lhkw+QJfIXnQDpGhOnhXk+WBTlLIsphjc5+zZda4bKm1edQX6vpIpm ZQLJRUy4mOUWizuaWw9dgsBvC1KU1Sig9Cq6hvqTNYBxIzGAFYqDndcllDb4UURx5nEB Qo5Jq4A1qOpfKC6QcVjQEGfeDKGwb2jn4x4aY/avzEZjx23mUyM9pL9sZsxPMfRP5sdh gv+8GHwDJVdL0V0lIWMlidwirv62U8uZivM5xYu3nMLv1Ey6SFrn+zDaDA8dg6eecFbd UhbIc/82/8hXA+BVfzSSUDJzAzSL70QiBANiCyKIhMN4RDRJKHymP+Ql/rHT7LC8T7Ci RGUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691197422; x=1691802222; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H+SuaTtMx9fDim3CvSX0GbYJTZyNduayXRPq9NXsUpY=; b=QbQr6T+wEBfT6cUOwPy/8382XDSsVdWJGuVKqPXnCQ+IUMvaK/vnhs+6KRCQ4iBiBZ cgSPSS6x6IlvV3MBK0M4XjEFsdZaisftXjnYru0tZC5pgRlQqIMCDFnWRnLHvaEUXiHX rk01JSoqFnmZZJxV6AONb2LVS98ffztVWpP5effKOlsnts5hjkRY59dY6EwzO60LUqBv W5rTsUcIuyiF9xOl4UF62pZKdzedOeLkfpzN7mDSMUCdFEumdNvF55xYNaxeQ0pw+ZXm V4JOovhAyi4J5EpfpPj8N3bAFMlr191pNZddP+qL7HaYzoUFDz6ZTxBcuevDw2Am9FmD 6qVA== X-Gm-Message-State: AOJu0YwjNd5AWhK2bbN49sVNUk8UCeWQIR7acYg4qq9qFieXE9dv9X8H Z2GgZCbWKFD4idc/yhagJz6AZMlIv8Jd6f6gM/y1iQ== X-Received: by 2002:a05:622a:64c:b0:3ef:3361:75d5 with SMTP id a12-20020a05622a064c00b003ef336175d5mr62002qtb.11.1691197422088; Fri, 04 Aug 2023 18:03:42 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Saravana Kannan Date: Fri, 4 Aug 2023 18:03:05 -0700 Message-ID: Subject: Re: PROBLEM: Broken or delayed ethernet on Xilinx ZCU104 since 5.18 (regression) To: Rob Herring Cc: Nick Bowler , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, regressions@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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_BLOCKED,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Fri, Aug 4, 2023 at 1:22=E2=80=AFPM Rob Herring wrote: > > +Saravana I'll look into this next week and reply. -Saravana > > On Fri, Aug 4, 2023 at 11:52=E2=80=AFAM Nick Bowler = wrote: > > > > On 2023-08-04, Rob Herring wrote: > > > On Fri, Aug 4, 2023 at 10:54=E2=80=AFAM Nick Bowler wrote: > > >> Oh, I get it, to include this driver I need to also enable: > > >> > > >> CONFIG_RESET_CONTROLLER=3Dy > > >> > > >> Setting this fixes 6.4. Perhaps CONFIG_ARCH_ZYNQMP should select it= ? > > > > > > Maybe. Do other platforms do that? > > > > Of the ~40 platforms in arch/arm64/Kconfig.platforms, there appear to > > be 5 that do select it. > > Then selecting should be okay. Unless there's a desire for resets to > remain optional (which is going to rely on the timeout). > > > >> However, even with this option enabled, 6.5-rc4 remains broken (no > > >> change in behaviour wrt. the network device). I will bisect this > > >> now. > > > > > > It would be good to know why the deferred probe timeout doesn't work. > > > If you disable modules, the kernel shouldn't wait past late_initcall. > > > Though this functionality keeps getting tweaked, so I may be off on > > > the current behavior. > > > > I don't know about the deferred probe timeout, but I bisected the 6.5-r= c4 > > breakage to this commit: > > > > commit c720a1f5e6ee8cb39c28435efc0819cec84d6ee2 > > Author: Michal Simek > > Date: Mon May 22 16:59:48 2023 +0200 > > > > arm64: zynqmp: Describe TI phy as ethernet-phy-id > > I don't see anything obviously problematic with that commit. (The > #phy-cells property added is wrong as ethernet phys don't use the phy > binding, but that should just be ignored). I'd check if the phy probed > and has a DT node associated with it. > > fw_devlink tracks parent-child dependencies and maybe changing to > parent-grandchild affected that. We don't yet track 'phy-handle' > dependencies, but we'd have a circular one here if we did (though that > should be handled). Does "fw_devlink=3Doff" help? > > > So, reverting that on master appears to correct the issue (together wit= h > > setting CONFIG_RESET_CONTROLLER=3Dy).