From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794817332; b=OX2oGWM/zyYQLNUHD5SFjoqIpQuL5g5nH1dCpkKxK+FpxFr8Yx4ATc8dbhIczdoswzES XYwodNBx2KvNZ06hOrGi7OqJ8rCuvByZRIIYJODeAFdRXS7NKQprEeZFKrc2YdgjRRoIJ vh9yORrUBXHYipwHgk4SzjUY/hxYtyexsc/m5dI0V8WmBIdRKzpomSxiT0w5P5fu738eH HR8qghzMs6FnQf0IXHHK8oTKgBhat/yYsXz2helx4GEkO2i0QYf6+chXop4W8wJ3htN4y fEc5PG1n/Tmm5oRm8UYLvuRJrHPN11BShQohfj5c8kIkdcWCxLP8x7G9yJVoEvo1EfA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794817332; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:Received:Message-ID:Date:MIME-Version: User-Agent:Subject:From:To:Cc:References:Content-Language:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-Scanned-By; bh=gfIacyhfnvssNjldJA8LhzYaZPtCvyfmo//br/NPqo0=; b=5lauU6q68LLYhNKni1rv/oOaiD2AklDFxuZp+iNItCOdw1P1nHNEqN4MFCkXXop76LPp 6Kc73SUGzx6lc28qTB+uKBtYYObdbT4lCuSG3bE0AIJ7PPz4SP2v0u3ytmf2LwWcetqql ohCTEHLQgrDupr+MuRwpY5TG8JZD1jPFX6fZa7+unINVcGBahUTCNLthBN7VJEughQPWX wAajqVdqwEDMzzMvdAihReQor64qzvVCc3rKHc63wboPIRMaxsD0jWJCbp+bzzZ+Twvc8 N+6i8GrBg6UWXwMEHPe3NNILSO+1T+3t4E6hYnjLa+i66II6zruGC0KwiCTpEe014lQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=El89g0hy; arc=none smtp.remote-ip=170.10.133.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DD32606A332 for ; Mon, 16 Nov 2026 08:22:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2DD32606A332 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=El89g0hy DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1794817331; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gfIacyhfnvssNjldJA8LhzYaZPtCvyfmo//br/NPqo0=; b=El89g0hyPGn/zlEeNfbeYE45O3hkiw9kcuSbCfwg/Qx2B41YaWMKcLSGBrmi+MRJ0avO52 hP5bN9DcEmoP0vllBtLnRN8UOmBqD6RusMNJX1QoMVWUjNKMW8QWSAXz8tV8peAvzCAknv wtRsScT3+j3LHek/YP12NO/molM4eN4= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-644-YeG4u82aP8Of6FAvye7dWw-1; Mon, 16 Nov 2026 03:22:09 -0500 X-MC-Unique: YeG4u82aP8Of6FAvye7dWw-1 X-Mimecast-MFC-AGG-ID: YeG4u82aP8Of6FAvye7dWw_1794817326 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id B8B61180036E; Mon, 16 Nov 2026 08:22:05 +0000 (UTC) Received: from [100.91.101.41] (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 9625C1956088; Mon, 16 Nov 2026 08:21:58 +0000 (UTC) Message-ID: <2770a801-e889-4181-84ef-d1846d6c9e15@redhat.com> Date: Mon, 16 Nov 2026 09:21:57 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v2 4/9] dpll: convert dpll_lock to rwsem From: Ivan Vecera To: netdev@vger.kernel.org Cc: Vadim Fedorenko , Arkadiusz Kubalewski , Jiri Pirko , Jonathan Corbet , Shuah Khan , Randy Dunlap , Min Li , Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, Grzegorz Nitka , Karol Kolacinski , Saeed Mahameed , Tariq Toukan , Petr Oros References: <20261111164021.273409-1-ivecera@redhat.com> <20261111164021.273409-5-ivecera@redhat.com> Content-Language: en-US In-Reply-To: <20261111164021.273409-5-ivecera@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 Sashiko reviewed v2 only on its dashboard [1], with low severity findings, so I am answering them here. [1] https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261111164021.273409-1-ivecera%40redhat.com > This isn't a bug, but zl3073x_dpll_input_pin_ref_sync_set() in > drivers/dpll/zl3073x/dpll.c still uses the old global serialization to > justify dropping zldpll->lock: [...] > Could this comment be updated in this patch, along with the dpll_lock > reference in zl3073x_dpll_changes_check()? The later patch "dpll: > zl3073x: update locking comments" rewrites both. The stale comment only > exists between this patch and that one. Right, both comments are stale between this patch and patch 7, which rewrites them. The code is correct at every commit, because all channels of a chip share one domain. The new comments hold from patch 3 on, so if a respin is needed, I will move patch 7 before this one. > Pin requests now run with dpll_lock held for read and pin->domain->lock. > Take a fwnode pin registered on a DPLL from a different domain. Can that > DPLL's device callbacks now run without its own domain lock? [...] > Would it be better to put that check in before this conversion, or in > the same patch, so this gap never exists? Right, between this patch and patch 6 nothing rejects such a registration. As you note, no in-tree driver registers a pin of another domain with .measured_freq_get, so no commit of the series can hit it with in-tree drivers. If a respin is needed, I will move the check of patch 6 before this patch and keep its tests in the KUnit patch. Thanks, Ivan