From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 74ADB336ED2 for ; Tue, 26 May 2026 07:45:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779781538; cv=none; b=KibMlRsp4uvr94e5SkVNbm7cwryu/RhYq9JnO77StSG7ohkeAZpYNHxv5JmMRJxlPDwGYIVBqQSgZ8d3gdGHoH3cPwOlGjf9/BxF8fwCQsA+F5esT80yzLknBIvbAyYNU5kVOyKXi9yuxYOyuZwKsXM32dUgSRm2pWtJqcOqZXs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779781538; c=relaxed/simple; bh=4SbBPP01S+B5igUJIx7BK4jtxIbJNICzrK/HLZhaFQo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qzUamcYYKAdUjPRh51sbwAybQrb/bF41rdYyxL0GsrpeBLLlximrL5A6kA7pUWfVgrw805jlo7CXE+DgzdbYuGJyumgj2TaTOw+CS0eCiJoj+oXkiX29ZNwSqnl7pYxCjpeI05DFlRjA6HPzwJVAlntfudAT9lJVIPQGr/Ohfjk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Xj9pDVMQ; arc=none smtp.client-ip=170.10.133.124 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.b="Xj9pDVMQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1779781535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=5qKZomUE4wWCl9/a367jmjYUhecTHVQkRwv4RKuFR/s=; b=Xj9pDVMQVzMl/GGKlfv+ZxxZDSTTvu6a3m9lSbWf55qNykggUqPAutcU2vIeTCVqFy58E1 7XQpOd2czvGA1tAwN6hvBsy8eXbKDGUwbSIyfZuLsSwN8qOiyalOnS2n7c8xTuBy628j1p MzcFqLiZOrRinouWR6kgf9gh77VWPCQ= Received: from mx-prod-mc-08.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-206-FfBrcZxIMum-3EeZK8vL_w-1; Tue, 26 May 2026 03:45:31 -0400 X-MC-Unique: FfBrcZxIMum-3EeZK8vL_w-1 X-Mimecast-MFC-AGG-ID: FfBrcZxIMum-3EeZK8vL_w_1779781529 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5F24018002D0; Tue, 26 May 2026 07:45:29 +0000 (UTC) Received: from p16v.redhat.com (unknown [10.44.33.138]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 8D4D2180034E; Tue, 26 May 2026 07:45:26 +0000 (UTC) From: Ivan Vecera To: netdev@vger.kernel.org Cc: Vadim Fedorenko , Arkadiusz Kubalewski , Jiri Pirko , Prathosh Satish , Jakub Kicinski , Petr Oros , linux-kernel@vger.kernel.org Subject: [PATCH net 0/3] dpll: zl3073x: various fixes Date: Tue, 26 May 2026 09:45:22 +0200 Message-ID: <20260526074525.1451008-1-ivecera@redhat.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Three fixes for the zl3073x DPLL driver. Patch 1 exports __dpll_device_change_ntf() for use by drivers that need to send device change notifications from within callbacks already running under dpll_lock. Patch 2 replaces the change_work workqueue mechanism with direct calls to __dpll_device_change_ntf(), eliminating a race condition where the work handler could dereference a freed dpll_dev pointer during device teardown. Patch 3 moves the freq_monitor flag from per-DPLL to per-device scope to match the hardware behavior where frequency measurement registers are shared across all DPLL channels. Ivan Vecera (3): dpll: export __dpll_device_change_ntf() for use under dpll_lock dpll: zl3073x: use __dpll_device_change_ntf() and remove change_work dpll: zl3073x: make frequency monitor a per-device attribute drivers/dpll/dpll_netlink.c | 13 +++++++-- drivers/dpll/zl3073x/core.c | 19 ++++++------- drivers/dpll/zl3073x/core.h | 4 ++- drivers/dpll/zl3073x/dpll.c | 55 ++++++++++++++++--------------------- drivers/dpll/zl3073x/dpll.h | 4 --- include/linux/dpll.h | 1 + 6 files changed, 46 insertions(+), 50 deletions(-) -- 2.53.0