Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp162119rwb; Fri, 4 Aug 2023 10:36:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE38SyBXmyu1aYT13vu0OTTAxo/LSSS+pJrdqzPZ0MOz4wxB7IKiz2yIikWbzjqxdgUP0hl X-Received: by 2002:a9d:6b84:0:b0:6b9:6ffd:91e6 with SMTP id b4-20020a9d6b84000000b006b96ffd91e6mr2727219otq.32.1691170578381; Fri, 04 Aug 2023 10:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691170578; cv=none; d=google.com; s=arc-20160816; b=bR8kX9GDgA6WF4B3lO52dBI0rmtkRBaMZNvr4QMCWmtYNBQLZLks4WboGsu9STXT+p zMwEVl9sPOlZtUMe365k9h+Kcn7xhCUj+sMjgHOoGgUDmnIgiZ3BXNZGYzGyhc2alPGB fIIPDc+7ew8V8C6rIgyp+2Bez68ndwa95Z1w0owuWcOUSSzgO7j86q8OcO3ychYCwNnI X/Tql0PO87GOKXH+cuuY5tH8TI9GMZAqcj0ETG5c0jXZC+PUnSU472R/WHfWxvGz6EGs yjK34/b//xHPPDaW3GbcLOq5Pft4aUXS6rlxuqfLXimw2kR9bJqWZ7Vhw61qr1sfp23G lS1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RO4eJJfHRg8JOKGHnZzYhOFDDcQwqh/3jOnjYiqw8e0=; fh=WgsPb6M2RrRA2o3As6cnRQvnRm6hpaEM6oqhenQMfVU=; b=jjyBNHRmiLrif68MV6wlGKnkMiCmXQxAmfcqim1LsxoVfiG0EWhOkUrHX7Xq01ZZqO 55OYtDhyqie+WvdJLYkaGtXi5X74Us9P7yZZK4X6+wfwOv712/44dAK+yLWde7W1wER0 U+tBQbicBtHID8dXWsoLfu7uXanwC54HHG9xw1bVFRBroJCVGmG9xj69njTKQS66BzqH MGwbJ00dS+q0GH6fBPOWGsPxgqW7pzEX++X6Rve1U6yhVGvqL2r5cl62nUYMvdiO/SOC K0Z3y3pZ3A1unXR7h7eoAQUdmeeJ+znBwwHkAejFKWdPi6bzxRQ7fE3PaRTX56WidgZj ZYhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=UbnbJ989; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d19-20020a637353000000b00553810ea8e5si2052511pgn.303.2023.08.04.10.35.56; Fri, 04 Aug 2023 10:36:18 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=UbnbJ989; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230470AbjHDQsJ (ORCPT + 99 others); Fri, 4 Aug 2023 12:48:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbjHDQsG (ORCPT ); Fri, 4 Aug 2023 12:48:06 -0400 Received: from pandora.armlinux.org.uk (unknown [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D322B2D5F; Fri, 4 Aug 2023 09:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=RO4eJJfHRg8JOKGHnZzYhOFDDcQwqh/3jOnjYiqw8e0=; b=UbnbJ9890f1fQ9/fLFUZ28vKyU HAWNJQeq5/GgnN0yxRdgYFrGrXn9Hq2lH3mYRviTPvojAfw3EokKG38IypVaaMGofzK45jWxnvhDn AOYVOyyd+yWvROJdIb9tZF+/Kck9Jhgv+zDE/XgbMOzZPEkTyDdtbrAB614BS140Rg0S5LRB6hSJh IO7u5wHLpg8JF+bw6V+aEhueLmzI79pYNj/iH1kNWhw6qjzHRw3Y6EBaQI7SxDPIYsF5VSTWSn1QL Q3sCjqQCERdHixBetKi8/ZGIkXqe3+1MMNGkgh8Vr1n68IMPSFzR8b+evsShcm8JzDe075OLnCweY AoBDfZPQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:50246) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qRxy1-0000T8-1b; Fri, 04 Aug 2023 17:47:57 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1qRxy1-000493-1S; Fri, 04 Aug 2023 17:47:57 +0100 Date: Fri, 4 Aug 2023 17:47:56 +0100 From: "Russell King (Oracle)" To: Nick Bowler Cc: Rob Herring , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, regressions@lists.linux.dev Subject: Re: PROBLEM: Broken or delayed ethernet on Xilinx ZCU104 since 5.18 (regression) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,RDNS_NONE, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=no 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 04, 2023 at 12:24:02PM -0400, Nick Bowler wrote: > On 04/08/2023, Rob Herring wrote: > > On Fri, Aug 4, 2023 at 9:27 AM Nick Bowler wrote: > >> commit e461bd6f43f4e568f7436a8b6bc21c4ce6914c36 > >> Author: Robert Hancock > >> Date: Thu Jan 27 10:37:36 2022 -0600 > >> > >> arm64: dts: zynqmp: Added GEM reset definitions > >> > >> Reverting this fixes the problem on 5.18. Reverting this fixes the > >> problem on 6.1. Reverting this fixes the problem on 6.4. In all of > >> these versions, with this change reverted, the network device appears > >> without delay. > > > > With the above change, the kernel is going to be waiting for the reset > > driver which either didn't exist or wasn't enabled in your config > > (maybe kconfig needs to be tweaked to enable it automatically). > > The dts defines a reset-controller node with > > compatible = "xlnx,zynqmp-reset" > > As far as I can see, this is supposed to be handled by the code in > drivers/reset/zynqmp-reset.c driver, it is enabled by CONFIG_ARCH_ZYNQMP, > and I have that set to "y", and it appears to be getting compiled in (that > is, there is a drivers/reset/zynqmp-reset.o file in the build directory). Isn't the driver called reset-zynqmp.c and reset-zynqmp.o ? > However, unlike with the other firmware devices, I do not see this driver > under /sys/bus/platform/drivers, and there is no "driver" symlink under > /sys/bus/platform/devices/firmware:zynqmp-firmware:reset-controller The driver name would be the kbuild modname, which would be reset-zynqmp rather than zynqmp-reset - given how often you're typing zynqmp-reset rather than zynqmp-reset, could you have missed it through looking for the wrong name? If the driver is built-in, there is no reason it should fail to show up in /sys/bus/platform/drivers/reset-zynqmp. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!