From mboxrd@z Thu Jan 1 00:00:00 1970 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 02EBE17BCE; Fri, 6 Jun 2025 01:29:57 +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=1749173398; cv=none; b=KC4m4IRMgmCBvYJ0bxgjg7rhomFw4WFI5oIi70044s/fWqSZbImENmIXEHd+CJ3fPobWrdAYuFU7QimlRhvjf/dlw+YJAL/+3Vo6JElYN2qJhhdQvsSWuC2sebVk47GRlAIQHpUmqvbyADQCU4kSwXxgyOzogYcVKSyKrjwDsVI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749173398; c=relaxed/simple; bh=iwf5a5FP/+wveBfvG/f8Kj+2lB82zStdmDbWQfjenHA=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=qqRWsyQpO4eUSgfOHCMVg6FS14gFsoDmxPa9WR47aU2AuCwmZQdhkQ//TWkBx+e95AvhdWc0sIQhg8ngLqsg2ipELW/GfZicsP3RKdpSfEpfclnQOUgScegrZXDdRTTbuuQz2ZoTVEtOqIPK5ncLFNmkFetBo6G0YaWDfbnqwAM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jQdCkqb2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jQdCkqb2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6EDC3C4CEE7; Fri, 6 Jun 2025 01:29:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1749173397; bh=iwf5a5FP/+wveBfvG/f8Kj+2lB82zStdmDbWQfjenHA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=jQdCkqb2i6KhzcFjuBGS/gKWflsJRJ+tXmzeFKyGsagLRrsDhyAMa7IyGlhiqkQXD fUmHCNX/tuiUG/31ktDtIsRr/fpgqSoeVFre/qavXUnnyS26FeNdsB1P+Es3YLrx/2 xT1kGo1umdW8ljJDZjEVo5cKspLm1z2OXQiKui6NoaH0HBBDhC+RUMYckcG40qRgU7 ldEQq3iBNQ0vSDQANSoqyxVF3ZMPNa2Yq5pOP+owtiLmJ5t7xPIVtZxO2rj0qFzUpY gR8use6wDUtEKIpJUcIWZXgiXQQSp/HXY7n6forrCH5+mgVC9M1FrDsRCy6VkJPrPI fky4td/JJl9GA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 70BD439D60B4; Fri, 6 Jun 2025 01:30:30 +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 v2] ptp: remove ptp->n_vclocks check logic in ptp_vclock_in_use() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <174917342925.3314262.10526916646495537846.git-patchwork-notify@kernel.org> Date: Fri, 06 Jun 2025 01:30:29 +0000 References: <20250520160717.7350-1-aha310510@gmail.com> In-Reply-To: <20250520160717.7350-1-aha310510@gmail.com> To: Jeongjun Park Cc: richardcochran@gmail.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, yangbo.lu@nxp.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Wed, 21 May 2025 01:07:17 +0900 you wrote: > There is no disagreement that we should check both ptp->is_virtual_clock > and ptp->n_vclocks to check if the ptp virtual clock is in use. > > However, when we acquire ptp->n_vclocks_mux to read ptp->n_vclocks in > ptp_vclock_in_use(), we observe a recursive lock in the call trace > starting from n_vclocks_store(). > > [...] Here is the summary with links: - [v2] ptp: remove ptp->n_vclocks check logic in ptp_vclock_in_use() https://git.kernel.org/netdev/net/c/87f7ce260a3c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html