Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp153403lqg; Fri, 1 Mar 2024 00:40:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUsHVUdWuLJD9Krv+BFNYixKuYo7A2tM1u+MEaVgoV5NN/LK8MwGI+jARl7SLvfYGtfEGQlF/hjubhloCE8eqKmsmhpTXWAebBDZfWrqg== X-Google-Smtp-Source: AGHT+IHxS6MoGM8TH9Vc2wlwiC6QABX8Y/XH9j6bHvwa/j3k3C1c+lvf4uOi7rfphWiCsHXF6K/S X-Received: by 2002:a17:902:e88f:b0:1da:eed:f25b with SMTP id w15-20020a170902e88f00b001da0eedf25bmr1150973plg.46.1709282449671; Fri, 01 Mar 2024 00:40:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709282449; cv=pass; d=google.com; s=arc-20160816; b=x+hDhBnyoSe8qgE1aGL0Wy+VHVRWXA9CGi7Acyz7jTEtwxnOlYBA/1A6fufEaU8ZDM h1s0mbY0xuf4b2n9yOzVh8d+Ryk4UeJcyCBvy6iKPCkJej+ZAIaP81Jk04S7Mne/JcnC WBWmk5mwf/ZpyE36Orn/AoLjmJx1z7NhWh1SAPBG1cmoYY6Be491rYIJeZxg3BjbcwNK RkgRXuXeHcrYa0SmEgHUkK1K0MnMeZW4Qx8XWuurNzXmEzuIpCC8LafI+s60SjCyLi1f cOg8DnnUhnoCE82h4QiAPLNIv9cVfWGm8KJ0QKk1Vah8Re/d/VEVlzzLBBJwxsWiZjj9 fx0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=SSzhWstgU2orrBjzGimZC0JMokkynJ2u88wCKftQahg=; fh=de3+Y0CZIBYeKwD/k/T+0QwghIzgtZqnkrMOubvSg9c=; b=z2/Bwn2xW7s8lIkINFtJWvunL3cJbijW5ee26NCtEKGBrl3/A/FpB0PDRcmUsKB7JM 6W69Iz4Ev8MEEMYwWKmPWH7FKqjUoj4N5vl3hvTq2Dtnea1gx0PqUqHYrOg7QpxDIQ6l w707v4gF1pBhimaVsoKLuvFWAwUGCz8QGrmce1D36vDQalhsbUfMBoq/b+Drcj/1MYfH 4OxOwti2LFyqcD9C4NpNRcpaDnGUTM42GPBa3xhUgIizHEEZkjz+c/G3J9g8to1QkCD8 izy9tcjU8q237xaiMcjVnozW73k7UcQfQVHhkpLBn7wKGoIBMnV6RuNmgjjLC45YjxY7 ZCVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=orvWVvdk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-88091-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88091-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n13-20020a170902f60d00b001d7561e0e8fsi3127393plg.263.2024.03.01.00.40.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 00:40:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88091-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=orvWVvdk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-88091-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88091-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3A67B289CF4 for ; Fri, 1 Mar 2024 08:40:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93A1E6A32F; Fri, 1 Mar 2024 08:40:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="orvWVvdk" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99DC169E0C; Fri, 1 Mar 2024 08:40:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709282428; cv=none; b=GyKw4PxgPRfLCf5T1eRl+nlwqj3SVXQydI5ZvP99hq03Crgixu6EKMH1vzm42TJNQ0zUxbqPlp+dKbZ4Mhz+TukuJJFEJTYEvjiZcTc8EDWeFQEVmbKFWyATCrAmIbnD7IQ2Gc3o+S6fedFVLWP9aoZNdWH5vuNyAXR3Z0dDuI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709282428; c=relaxed/simple; bh=jYs85NewVNSV/4PMIj8sEcbW+DtWsCJEA1C48BXtPIo=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=sME+MySfgsoIM6Q2sp7Ix2AGc7bu5HwmASDeF6dHprDZhHJspRVM6PQROEQvNy9+BM4MNfEYaSW0cdF1+8IEyqzMsiBtJ7VjTOHQ5PS9w//rMD8eKXQGgYjqJSZcaGXhP1VDT3sSRul7cVgBZ+Gz04Y/jsIALdrMNFuhsUuLMzw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=orvWVvdk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 24EC6C43399; Fri, 1 Mar 2024 08:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709282428; bh=jYs85NewVNSV/4PMIj8sEcbW+DtWsCJEA1C48BXtPIo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=orvWVvdk+ha8aSBv0ROy2++85S3ud7baA7bNe5uVmdlXtHQZl9RT9qQRDczEGFVLl 6ht1hHS93YuWkpigCCZpRUHtW/wxJ9o1Esu2ngb4ZeIx2osTyAb08tDs2TX8P08rKk sG+PXt4gsnvPZyzwyNertcltB6/M66cJP1iS1z0vgvZif7A+8OFe3RJKCxu2PeF2WG iObCDTGLmORiv/6O81GRV7FaBqF6NbEdlgiO/739Pb2iYQCI6spbRaG6sY2qITnj3G NjuZkKN/s9lw7aN3f+VXfAtRxqiUPFOPXVx/GoeNrE5SZTAztIOQJQuJLjW2/NPyy8 Xo5D/P2/0gR4A== 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 0A3B9D990AE; Fri, 1 Mar 2024 08:40:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v1 1/1] net: lan78xx: fix runtime PM count underflow on link stop From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170928242803.14717.6883191622320150450.git-patchwork-notify@kernel.org> Date: Fri, 01 Mar 2024 08:40:28 +0000 References: <20240228124517.1702476-1-o.rempel@pengutronix.de> In-Reply-To: <20240228124517.1702476-1-o.rempel@pengutronix.de> To: Oleksij Rempel Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, woojung.huh@microchip.com, kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Wed, 28 Feb 2024 13:45:17 +0100 you wrote: > Current driver has some asymmetry in the runtime PM calls. On lan78xx_open() > it will call usb_autopm_get() and unconditionally usb_autopm_put(). And > on lan78xx_stop() it will call only usb_autopm_put(). So far, it was > working only because this driver do not activate autosuspend by default, > so it was visible only by warning "Runtime PM usage count underflow!". > > Since, with current driver, we can't use runtime PM with active link, > execute lan78xx_open()->usb_autopm_put() only in error case. Otherwise, > keep ref counting high as long as interface is open. > > [...] Here is the summary with links: - [net,v1,1/1] net: lan78xx: fix runtime PM count underflow on link stop https://git.kernel.org/netdev/net/c/1eecc7ab82c4 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html