Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2177344pxb; Fri, 8 Oct 2021 02:30:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBlXQRFl0Tz0jmMAHCJkfL9yuukwh5oHwWIqxdlyBcj3xOJwyOehfDy/Ll0qKD0h7o7xM7 X-Received: by 2002:a17:906:b311:: with SMTP id n17mr2273026ejz.571.1633685399909; Fri, 08 Oct 2021 02:29:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633685399; cv=none; d=google.com; s=arc-20160816; b=WpYQYMIwR/kEud33kwvIyjVxN0CjHDpg3kwzf8McRw/ZO9HgkWoPrlu3UZ5g72yaLE sQb9CyHEcj+jc0/ucH00VGqj6XFTAndPj+DExp30Pe/LeFeL3XRcVO8i1gJMdz3Cn9aP /ptkkUHdxJwf10AOUWy6UHJ6b3pXH65aNsp/rMNURIG98w9GG71JeZfZ6VTxPXeBJOKZ i+bAFuobh6LOtFtlAkopy8jm1bKKA0pZrUdT/iJxTF59OOEUve3kX8j1OeIg5iyrzewg rJe8kTDpVONwLIy/67UGO/9dEW+r5L/OD4uaIFECpN0vQX5lYXaQv9uzsxg3YVC++ea2 HkLA== 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; bh=nYBFiMg0/TN5CrTUzwlndy/eLWd86ghdavB+l6fXEVw=; b=nI8VNaKbDrwEpP4aZSdMC0ZlbJg3ZOrE0492u3Dmb9XrZG+1foS9hHgeprxQ2nZPKI TqCwNdW8Omafyh6FDG/3SXbBartKhlBbVrgXjv17WmK475jogn4GWPRIygSYso/ym+bs q6Z5uROje8ff0oX53auTgQ/vNPiEe3DuJPuZEN6vG2rx7hjAf48Dy7quI3+FDL67XOOb 2pdUWT2zE0T5Zqu9tKv74n7gNQtfeVRTuLG6Y70Dw2n3MKXnXrzwu6eLwa6W2weG7LHD IZDDvFLy76PgQnaCKL7JilwpiKP0Z4QpUP2jRPztJvUc+6pIwuP9HfiLzk71qhXyn/TF fYkg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n20si2870132ejb.299.2021.10.08.02.29.36; Fri, 08 Oct 2021 02:29:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238194AbhJHJ2C (ORCPT + 99 others); Fri, 8 Oct 2021 05:28:02 -0400 Received: from foss.arm.com ([217.140.110.172]:37534 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229710AbhJHJ17 (ORCPT ); Fri, 8 Oct 2021 05:27:59 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B9DB0D6E; Fri, 8 Oct 2021 02:26:04 -0700 (PDT) Received: from monolith.localdoman (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CEA153F70D; Fri, 8 Oct 2021 02:26:01 -0700 (PDT) Date: Fri, 8 Oct 2021 10:27:41 +0100 From: Alexandru Elisei To: Punit Agrawal Cc: davem@davemloft.net, michael.riesch@wolfvision.net, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, kuba@kernel.org, mcoquelin.stm32@gmail.com, p.zabel@pengutronix.de, lgirdwood@gmail.com, Mark Brown , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, arm-mail-list , Linux Kernel Mailing List Subject: Re: [BUG] Ethernet broken on rockpro64 by commit 2d26f6e39afb ("net: stmmac: dwmac-rk: fix unbalanced pm_runtime_enable warnings") Message-ID: References: <8e33c244-b786-18e8-79bc-407e27e4756b@arm.com> <87zgrk19yb.fsf@stealth> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zgrk19yb.fsf@stealth> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Punit, On Fri, Oct 08, 2021 at 12:17:48PM +0900, Punit Agrawal wrote: > Alexandru Elisei writes: > > > (Sorry I'm sending this to the wrong person, this is what I got > > scripts/get_maintainer.pl for the file touched by the commit) > > > > After commit 2d26f6e39afb ("net: stmmac: dwmac-rk: fix unbalanced > > pm_runtime_enable warnings"), the network card on my rockpro64-v2 was left unable > > to get a DHCP lease from the network. The offending commit was found by bisecting > > the kernel; I tried reverting the commit from current master (commit 0513e464f900 > > ("Merge tag 'perf-tools-fixes-for-v5.15-2021-09-27' of > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux")) and the network card > > was working as expected. > > > > It goes without saying that I can help with testing the fix and > > further diagnosing. > > A fix was recently merged for this (see aec3f415f724 ("net: stmmac: > dwmac-rk: Fix ethernet on rk3399 based devices") and should show up in > the next rc. Please shout out if that doesn't fix the broken ethernet > for you. I can confirm that it's now working, many thanks. Alex > > Thanks, > Punit >