{"id":2223911,"url":"http://patchwork.ozlabs.org/api/patches/2223911/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260416113952.389405-3-poros@redhat.com/","project":{"id":46,"url":"http://patchwork.ozlabs.org/api/projects/46/?format=json","name":"Intel Wired Ethernet development","link_name":"intel-wired-lan","list_id":"intel-wired-lan.osuosl.org","list_email":"intel-wired-lan@osuosl.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260416113952.389405-3-poros@redhat.com>","list_archive_url":null,"date":"2026-04-16T11:39:52","name":"[net,v6,2/2] ice: fix missing dpll notifications for SW pins","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"0c47471bd8a34cbd3a0e972fee03f14e44ff0522","submitter":{"id":74657,"url":"http://patchwork.ozlabs.org/api/people/74657/?format=json","name":"Petr Oros","email":"poros@redhat.com"},"delegate":{"id":109701,"url":"http://patchwork.ozlabs.org/api/users/109701/?format=json","username":"anguy11","first_name":"Anthony","last_name":"Nguyen","email":"anthony.l.nguyen@intel.com"},"mbox":"http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260416113952.389405-3-poros@redhat.com/mbox/","series":[{"id":500138,"url":"http://patchwork.ozlabs.org/api/series/500138/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=500138","date":"2026-04-16T11:39:50","name":"ice: fix missing dpll notifications for SW pins","version":6,"mbox":"http://patchwork.ozlabs.org/series/500138/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2223911/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2223911/checks/","tags":{},"related":[],"headers":{"Return-Path":"<intel-wired-lan-bounces@osuosl.org>","X-Original-To":["incoming@patchwork.ozlabs.org","intel-wired-lan@lists.osuosl.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","intel-wired-lan@lists.osuosl.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256\n header.s=default header.b=S9+B2HX2;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=140.211.166.137; helo=smtp4.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fxGKM3YFqz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 21:40:23 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 2D21C40478;\n\tThu, 16 Apr 2026 11:40:21 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id yxRdk58-n1a0; Thu, 16 Apr 2026 11:40:20 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 2233F4048A;\n\tThu, 16 Apr 2026 11:40:20 +0000 (UTC)","from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id 7BB702CF\n for <intel-wired-lan@lists.osuosl.org>; Thu, 16 Apr 2026 11:40:19 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 6DE6C80834\n for <intel-wired-lan@lists.osuosl.org>; Thu, 16 Apr 2026 11:40:19 +0000 (UTC)","from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id LZ9MZhqioELS for <intel-wired-lan@lists.osuosl.org>;\n Thu, 16 Apr 2026 11:40:18 +0000 (UTC)","from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 5C8188081D\n for <intel-wired-lan@lists.osuosl.org>; Thu, 16 Apr 2026 11:40:18 +0000 (UTC)","from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-312-UrU_Zsa7P1WKXSUPytv0Mg-1; Thu,\n 16 Apr 2026 07:40:15 -0400","from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id D9B181800473; Thu, 16 Apr 2026 11:40:12 +0000 (UTC)","from ShadowPeak.redhat.com (unknown [10.44.32.76])\n by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id A6B4E18004AD; Thu, 16 Apr 2026 11:40:07 +0000 (UTC)"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp4.osuosl.org 2233F4048A","OpenDKIM Filter v2.11.0 smtp1.osuosl.org 5C8188081D"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1776339620;\n\tbh=XLotX7IEgbAkY26WaqkBVeVZ17szpdiJ55gFPzooK4k=;\n\th=From:To:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t Cc:From;\n\tb=S9+B2HX2V2as9M1MYBjTR5KjmdBqHy9ZotR9WGxD9JJ8yT6Qrpvcq3qAhtuwXucbR\n\t q7asONyH8B9PUXcD7KPucPg8nnoPODnAPzK9T36WVpOJbVaY7gsLhPw8uf5mpeTq8p\n\t u4NheJf4XW+B/eMEi2bAeSliNwuDyVbfmW6foVLPWdcfBuIcmiEGI7/ZwnGgbyNtpY\n\t KzrFJEIq10C2tHGFZzDBMZv+WnFLxGzg+I6sumIXFBx4x8pbL39ba+4VGi9GRTxFZw\n\t nEcUMWWDwfguiEjo2452K90D7aVsCO+GnCYNKB1WI5CnpXss6ecPBm7cfiXaWIO34q\n\t VjZKacn7xqLqA==","Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=170.10.133.124;\n helo=us-smtp-delivery-124.mimecast.com; envelope-from=poros@redhat.com;\n receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp1.osuosl.org 5C8188081D","X-MC-Unique":"UrU_Zsa7P1WKXSUPytv0Mg-1","X-Mimecast-MFC-AGG-ID":"UrU_Zsa7P1WKXSUPytv0Mg_1776339613","From":"Petr Oros <poros@redhat.com>","To":"netdev@vger.kernel.org","Date":"Thu, 16 Apr 2026 13:39:52 +0200","Message-ID":"<20260416113952.389405-3-poros@redhat.com>","In-Reply-To":"<20260416113952.389405-1-poros@redhat.com>","References":"<20260416113952.389405-1-poros@redhat.com>","MIME-Version":"1.0","X-Scanned-By":"MIMEDefang 3.4.1 on 10.30.177.93","X-Mimecast-MFC-PROC-ID":"rkYcCCA60K2YwQpw6bsJn5fq0ZbPSlfK4D8ZA9whDwU_1776339613","X-Mimecast-Originator":"redhat.com","Content-Transfer-Encoding":"8bit","content-type":"text/plain; charset=\"US-ASCII\"; x-default=true","X-Mailman-Original-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com;\n s=mimecast20190719; t=1776339617;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=XLotX7IEgbAkY26WaqkBVeVZ17szpdiJ55gFPzooK4k=;\n b=A+t7GcFVkv1pYYeUtDkjZ5k4jpHRSYjwE1NnrwsD8g7mKNcYnHxYZ17OOuJpRIBj4z35WO\n bZpeCa2IENKQwgZwQVHR3096DLr5xdq10ZyOk0o0V6xD4XGgw1x611xVVyePa3lqxpD2sO\n kclkkRLq+rzKihQxieyQ+ClGB0SGEXk=","X-Mailman-Original-Authentication-Results":["smtp1.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com","smtp1.osuosl.org;\n dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.a=rsa-sha256 header.s=mimecast20190719 header.b=A+t7GcFV"],"Subject":"[Intel-wired-lan] [PATCH net v6 2/2] ice: fix missing dpll\n notifications for SW pins","X-BeenThere":"intel-wired-lan@osuosl.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>","List-Unsubscribe":"<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>","List-Archive":"<http://lists.osuosl.org/pipermail/intel-wired-lan/>","List-Post":"<mailto:intel-wired-lan@osuosl.org>","List-Help":"<mailto:intel-wired-lan-request@osuosl.org?subject=help>","List-Subscribe":"<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>","Cc":"Ivan Vecera <ivecera@redhat.com>, Jiri Pirko <jiri@resnulli.us>,\n Rinitha S <sx.rinitha@intel.com>,\n Przemek Kitszel <przemyslaw.kitszel@intel.com>,\n Eric Dumazet <edumazet@google.com>,\n Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>,\n Aleksandr Loktionov <aleksandr.loktionov@intel.com>,\n Andrew Lunn <andrew+netdev@lunn.ch>,\n Tony Nguyen <anthony.l.nguyen@intel.com>,\n Simon Horman <horms@kernel.org>, Jakub Kicinski <kuba@kernel.org>,\n Jacob Keller <jacob.e.keller@intel.com>,\n Vadim Fedorenko <vadim.fedorenko@linux.dev>, Paolo Abeni <pabeni@redhat.com>,\n \"David S. Miller\" <davem@davemloft.net>, linux-kernel@vger.kernel.org,\n intel-wired-lan@lists.osuosl.org","Errors-To":"intel-wired-lan-bounces@osuosl.org","Sender":"\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"},"content":"The SMA/U.FL pin redesign (commit 2dd5d03c77e2 (\"ice: redesign dpll\nsma/u.fl pins control\")) introduced software-controlled pins that wrap\nbacking CGU input/output pins, but never updated the notification and\ndata paths to propagate pin events to these SW wrappers.\n\nThe periodic work sends dpll_pin_change_ntf() only for direct CGU input\npins.  SW pins that wrap these inputs never receive change or phase\noffset notifications, so userspace consumers such as synce4l monitoring\nSMA pins via dpll netlink never learn about state transitions or phase\noffset updates.  Similarly, ice_dpll_phase_offset_get() reads the SW\npin's own phase_offset field which is never updated; the PPS monitor\nwrites to the backing CGU input's field instead.\n\nOn top of that, when SMA or U.FL pin state changes via PCA9575 GPIO\nwrite, the paired pin's state also changes because they share physical\nsignal paths, but no notification is sent for the peer pin.\n\nFix by introducing ice_dpll_pin_ntf(), a wrapper around\ndpll_pin_change_ntf() that also notifies any registered SMA/U.FL pin\nwhose backing CGU input matches.  Replace all direct\ndpll_pin_change_ntf() calls in the periodic notification paths with\nthis wrapper.  Fix ice_dpll_phase_offset_get() to return the backing\nCGU input's phase_offset for input-direction SW pins.  Add\nice_dpll_sw_pin_notify_peer() to send a notification for the paired\nSW pin after PCA9575 writes.  The peer notification is called from\nthe dpll_pin_ops callback wrappers after pf->dplls.lock is released,\nbecause dpll_pin_change_ntf() sends a netlink message that invokes\ndriver callbacks which acquire the same lock.\n\nFixes: 2dd5d03c77e2 (\"ice: redesign dpll sma/u.fl pins control\")\nSigned-off-by: Petr Oros <poros@redhat.com>\n---\nv6:\n - fix deadlock reported by Michal Schmidt: dpll_pin_change_ntf() in\n   peer notification was called with dpll_lock held, causing deadlock.\n   Move the peer notification calls out of ice_dpll_sma_direction_set()\n   and ice_dpll_ufl_pin_state_set() into their dpll_pin_ops callback\n   wrappers, after pf->dplls.lock is released, and use\n   __dpll_pin_change_ntf() because dpll_lock is still held by the dpll\n   netlink layer (dpll_pin_pre_doit).\nv5: https://lore.kernel.org/all/20260409102501.1447628-1-poros@redhat.com/\n - add ice_dpll_sw_pin_notify_peer() for SMA/U.FL peer notification\n   when PCA9575 routing changes affect the paired pin (reported by\n   Intel test: SMA state change did not log U.FL status change in\n   subscribe monitor)\nv4: https://lore.kernel.org/all/20260319205256.998876-1-poros@redhat.com/\nv3: https://lore.kernel.org/all/20260220140700.2910174-1-poros@redhat.com/\nv2: https://lore.kernel.org/all/20260219131500.2271897-1-poros@redhat.com/\nv1: https://lore.kernel.org/all/20260218211414.1411163-1-poros@redhat.com/\n---\n drivers/net/ethernet/intel/ice/ice_dpll.c | 80 +++++++++++++++++++----\n 1 file changed, 68 insertions(+), 12 deletions(-)","diff":"diff --git a/drivers/net/ethernet/intel/ice/ice_dpll.c b/drivers/net/ethernet/intel/ice/ice_dpll.c\nindex 3a90a2940fdc6e..117c6a8590a279 100644\n--- a/drivers/net/ethernet/intel/ice/ice_dpll.c\n+++ b/drivers/net/ethernet/intel/ice/ice_dpll.c\n@@ -1154,6 +1154,32 @@ ice_dpll_input_state_get(const struct dpll_pin *pin, void *pin_priv,\n \t\t\t\t      extack, ICE_DPLL_PIN_TYPE_INPUT);\n }\n \n+/**\n+ * ice_dpll_sw_pin_notify_peer - notify the paired SW pin after a state change\n+ * @d: pointer to dplls struct\n+ * @changed: the SW pin that was explicitly changed (already notified by dpll core)\n+ *\n+ * SMA and U.FL pins share physical signal paths in pairs (SMA1/U.FL1 and\n+ * SMA2/U.FL2).  When one pin's routing changes via the PCA9575 GPIO\n+ * expander, the paired pin's state may also change.  Send a change\n+ * notification for the peer pin so userspace consumers monitoring the\n+ * peer via dpll netlink learn about the update.\n+ *\n+ * Context: Called from dpll_pin_ops callbacks after pf->dplls.lock is\n+ *          released.  Uses __dpll_pin_change_ntf() because dpll_lock is\n+ *          still held by the dpll netlink layer.\n+ */\n+static void ice_dpll_sw_pin_notify_peer(struct ice_dplls *d,\n+\t\t\t\t\tstruct ice_dpll_pin *changed)\n+{\n+\tstruct ice_dpll_pin *peer;\n+\n+\tpeer = (changed >= d->sma && changed < d->sma + ICE_DPLL_PIN_SW_NUM) ?\n+\t\t&d->ufl[changed->idx] : &d->sma[changed->idx];\n+\tif (peer->pin)\n+\t\t__dpll_pin_change_ntf(peer->pin);\n+}\n+\n /**\n  * ice_dpll_sma_direction_set - set direction of SMA pin\n  * @p: pointer to a pin\n@@ -1233,7 +1259,6 @@ static int ice_dpll_sma_direction_set(struct ice_dpll_pin *p,\n \t\t\tret = ice_dpll_pin_state_update(p->pf, target,\n \t\t\t\t\t\t\ttype, extack);\n \t}\n-\n \treturn ret;\n }\n \n@@ -1344,6 +1369,8 @@ ice_dpll_ufl_pin_state_set(const struct dpll_pin *pin, void *pin_priv,\n \n unlock:\n \tmutex_unlock(&pf->dplls.lock);\n+\tif (!ret)\n+\t\tice_dpll_sw_pin_notify_peer(&pf->dplls, p);\n \n \treturn ret;\n }\n@@ -1462,6 +1489,8 @@ ice_dpll_sma_pin_state_set(const struct dpll_pin *pin, void *pin_priv,\n \n unlock:\n \tmutex_unlock(&pf->dplls.lock);\n+\tif (!ret)\n+\t\tice_dpll_sw_pin_notify_peer(&pf->dplls, sma);\n \n \treturn ret;\n }\n@@ -1657,6 +1686,8 @@ ice_dpll_pin_sma_direction_set(const struct dpll_pin *pin, void *pin_priv,\n \tmutex_lock(&pf->dplls.lock);\n \tret = ice_dpll_sma_direction_set(p, direction, extack);\n \tmutex_unlock(&pf->dplls.lock);\n+\tif (!ret)\n+\t\tice_dpll_sw_pin_notify_peer(&pf->dplls, p);\n \n \treturn ret;\n }\n@@ -1963,7 +1994,10 @@ ice_dpll_phase_offset_get(const struct dpll_pin *pin, void *pin_priv,\n \t\t\t\t       d->active_input == p->input->pin))\n \t\t*phase_offset = d->phase_offset * ICE_DPLL_PHASE_OFFSET_FACTOR;\n \telse if (d->phase_offset_monitor_period)\n-\t\t*phase_offset = p->phase_offset * ICE_DPLL_PHASE_OFFSET_FACTOR;\n+\t\t*phase_offset = (p->input &&\n+\t\t\t\t p->direction == DPLL_PIN_DIRECTION_INPUT ?\n+\t\t\t\t p->input->phase_offset :\n+\t\t\t\t p->phase_offset) * ICE_DPLL_PHASE_OFFSET_FACTOR;\n \telse\n \t\t*phase_offset = 0;\n \tmutex_unlock(&pf->dplls.lock);\n@@ -2659,6 +2693,27 @@ static u64 ice_generate_clock_id(struct ice_pf *pf)\n \treturn pci_get_dsn(pf->pdev);\n }\n \n+/**\n+ * ice_dpll_pin_ntf - notify pin change including any SW pin wrappers\n+ * @dplls: pointer to dplls struct\n+ * @pin: the dpll_pin that changed\n+ *\n+ * Send a change notification for @pin and for any registered SMA/U.FL pin\n+ * whose backing CGU input matches @pin.\n+ */\n+static void ice_dpll_pin_ntf(struct ice_dplls *dplls, struct dpll_pin *pin)\n+{\n+\tdpll_pin_change_ntf(pin);\n+\tfor (int i = 0; i < ICE_DPLL_PIN_SW_NUM; i++) {\n+\t\tif (dplls->sma[i].pin && dplls->sma[i].input &&\n+\t\t    dplls->sma[i].input->pin == pin)\n+\t\t\tdpll_pin_change_ntf(dplls->sma[i].pin);\n+\t\tif (dplls->ufl[i].pin && dplls->ufl[i].input &&\n+\t\t    dplls->ufl[i].input->pin == pin)\n+\t\t\tdpll_pin_change_ntf(dplls->ufl[i].pin);\n+\t}\n+}\n+\n /**\n  * ice_dpll_notify_changes - notify dpll subsystem about changes\n  * @d: pointer do dpll\n@@ -2667,6 +2722,7 @@ static u64 ice_generate_clock_id(struct ice_pf *pf)\n  */\n static void ice_dpll_notify_changes(struct ice_dpll *d)\n {\n+\tstruct ice_dplls *dplls = &d->pf->dplls;\n \tbool pin_notified = false;\n \n \tif (d->prev_dpll_state != d->dpll_state) {\n@@ -2675,17 +2731,17 @@ static void ice_dpll_notify_changes(struct ice_dpll *d)\n \t}\n \tif (d->prev_input != d->active_input) {\n \t\tif (d->prev_input)\n-\t\t\tdpll_pin_change_ntf(d->prev_input);\n+\t\t\tice_dpll_pin_ntf(dplls, d->prev_input);\n \t\td->prev_input = d->active_input;\n \t\tif (d->active_input) {\n-\t\t\tdpll_pin_change_ntf(d->active_input);\n+\t\t\tice_dpll_pin_ntf(dplls, d->active_input);\n \t\t\tpin_notified = true;\n \t\t}\n \t}\n \tif (d->prev_phase_offset != d->phase_offset) {\n \t\td->prev_phase_offset = d->phase_offset;\n \t\tif (!pin_notified && d->active_input)\n-\t\t\tdpll_pin_change_ntf(d->active_input);\n+\t\t\tice_dpll_pin_ntf(dplls, d->active_input);\n \t}\n }\n \n@@ -2714,6 +2770,7 @@ static bool ice_dpll_is_pps_phase_monitor(struct ice_pf *pf)\n \n /**\n  * ice_dpll_pins_notify_mask - notify dpll subsystem about bulk pin changes\n+ * @dplls: pointer to dplls struct\n  * @pins: array of ice_dpll_pin pointers registered within dpll subsystem\n  * @pin_num: number of pins\n  * @phase_offset_ntf_mask: bitmask of pin indexes to notify\n@@ -2723,15 +2780,14 @@ static bool ice_dpll_is_pps_phase_monitor(struct ice_pf *pf)\n  *\n  * Context: Must be called while pf->dplls.lock is released.\n  */\n-static void ice_dpll_pins_notify_mask(struct ice_dpll_pin *pins,\n+static void ice_dpll_pins_notify_mask(struct ice_dplls *dplls,\n+\t\t\t\t      struct ice_dpll_pin *pins,\n \t\t\t\t      u8 pin_num,\n \t\t\t\t      u32 phase_offset_ntf_mask)\n {\n-\tint i = 0;\n-\n-\tfor (i = 0; i < pin_num; i++)\n-\t\tif (phase_offset_ntf_mask & (1 << i))\n-\t\t\tdpll_pin_change_ntf(pins[i].pin);\n+\tfor (int i = 0; i < pin_num; i++)\n+\t\tif (phase_offset_ntf_mask & BIT(i))\n+\t\t\tice_dpll_pin_ntf(dplls, pins[i].pin);\n }\n \n /**\n@@ -2907,7 +2963,7 @@ static void ice_dpll_periodic_work(struct kthread_work *work)\n \tice_dpll_notify_changes(de);\n \tice_dpll_notify_changes(dp);\n \tif (phase_offset_ntf)\n-\t\tice_dpll_pins_notify_mask(d->inputs, d->num_inputs,\n+\t\tice_dpll_pins_notify_mask(d, d->inputs, d->num_inputs,\n \t\t\t\t\t  phase_offset_ntf);\n \n resched:\n","prefixes":["net","v6","2/2"]}