From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44F8B3C8C7C for ; Tue, 26 May 2026 13:27:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779802050; cv=none; b=i4CYPu3oI5ziFbTuGBMr3PxCrjNnPwOuyP32ywaciV7qlA3uBkga7xPHElcwilQJH2zlcPK89qUfDtIaVPQyVVMgQBc9doEvaBxIR8O0NbrNJ8lUZVnEWcvojyDNNUZhpoan7iizeywYsTyPIQPPoDNz0lAMdTYMOVEzk9X/hYs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779802050; c=relaxed/simple; bh=JTDozst65TfitN/LoRQp6+zNLnI407g8AVHWZh7Aw7M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AzfIXDOK2brvNW4JMveuOakscLeM+GreV1ct0yOMxQ0KWQAihA0rNRtiMxs/5ZhpJ5sSLmfeO6pZba65+lWDLQswTr72Hjrx3TcBidrHR+xoqfNv3LZY/U4aw5cBf5IUJua36Eaq58EHMpC84sHvY3nUJpP/NZ43drYz1eAzIko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20251104.gappssmtp.com header.i=@resnulli-us.20251104.gappssmtp.com header.b=KmUGKaxD; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20251104.gappssmtp.com header.i=@resnulli-us.20251104.gappssmtp.com header.b="KmUGKaxD" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-44509921fbcso6772338f8f.3 for ; Tue, 26 May 2026 06:27:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20251104.gappssmtp.com; s=20251104; t=1779802044; x=1780406844; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=MOoP5D+3GayAYX2czvg1Rx3yDcS/IwtTCjoyb2Dq9dI=; b=KmUGKaxDUYvseZ7VmtLYZEn+F718dJBurWUitBbCQu+iYKfcHV0ABA+Rby5N+8hZVj XFI9Ym/ZuhV6vdbDimkaqvpD889sxvb9HrHy3aw05jYSaPD/DfD6DEGTUb04ivWo9DxD 7cPmaAhcUqLvTqNZS1WhzfywnypnP/NdI0CrmUItVqJkfAcMxjq/wTL4zsE/dtRhkaWo Lu8u+VKUzEVQnoPlXyRjVmatK3rGCJ4RRxUOWwhuoKgr8j3UxMzZzUcdmnrJR8uf784Y Yc6r9hNhtjV66NXROMVuKvtOWQ52vgSvw9PNRhr3c/u4rDvP15IS0DV/Q96xubrqjIrR zr/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779802044; x=1780406844; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MOoP5D+3GayAYX2czvg1Rx3yDcS/IwtTCjoyb2Dq9dI=; b=kmu9gTZ/A+6F0qqv4RIUvthUGprfniYj2jHl17I52QBzpktgY4ELJvOfUlxsUlcabS VvCWpngvHL5qpl/OfSCbae33n0Ca3K8lth8XjO0GJ3NAAVWARUE2lO8MUw5zT7SJLP1L 6Ze5rSEmGvR/hDZmc1xAhpMJDykZoXQu/UHV1lVisCJ7mWt9FtMje5/C3V8hdLgUtM9v ozu47aqRkO9b30cWcgPt/1biyDQ5hdDvD7rJNkocDrad4BzDRWeT32p/Ah287BWK9Y06 D5u3yx2ossM8TG1igoVr1N69ZJPPu1sZg8GaAGUzOiD5rx1VcRdIZLdkFTuV6c7KOP00 OJhg== X-Forwarded-Encrypted: i=1; AFNElJ/woTvEHWZ2aapvsNl6jHFgSoSvq7IgZBzngkv+tBbWLEmYgK194y8AkFkNrML+Gwo3fr17LdlU213DbQg=@vger.kernel.org X-Gm-Message-State: AOJu0YwhIZmGzWnQ7dzkPOY3/3sO/sjCli52elQMKIcOs8pGXqjRiNPf rLZiXI/sTwGQALHcf/Q/W+cc+lwH4POAe5C/ZTVdVFhQmbFg2inowTH4/8YeiVW1Er8= X-Gm-Gg: Acq92OGIyuLrxw4FiWSTsmjuJ/2w9VCsuNjEmG42HRylByeTXWjqFfLJs1cwE3AW8Sx 1jQ/QymEdajo0HfGKyNJPM8Un3B6qiJHzboGMBs5uAjQrAe/5eNwRTyQ1xiEDcwuvibDGf0uMgR D08vEEi90q2pOemaG7BYvJhXmqmdSXCwufJaKt1UbTZRc+VoipviKdFj5yVMCloLvCBzBbdDfxq Kp0tDcHkDHIWqrDDx76uiD0tzJ/CZoO42uFbKc2M+YDxaNQKAaNpS8x18NCHgDrmqsx31kpFtWS II0qLYnuKPTwK3MNyN2lggaE9kUjqLhfXsQiWSjSNubBh4zP9cB0l80q60m5mlZDUgoRDOX8wm1 gZoP533+c7k7rTPVshXFGs7taIDf6iHTPMzQLjqZEHjtwZ4Tqt/oHMRMmgbV2czl9hPGKa0fexC 5Y+6QIP851g5B69DdOrvw0IOBANDGaNtPY X-Received: by 2002:a05:600c:4f52:b0:490:4f91:5519 with SMTP id 5b1f17b1804b1-4904f91568dmr296207535e9.18.1779802043944; Tue, 26 May 2026 06:27:23 -0700 (PDT) Received: from localhost ([140.209.217.212]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4904526c926sm578470375e9.1.2026.05.26.06.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 May 2026 06:27:23 -0700 (PDT) Date: Tue, 26 May 2026 15:27:19 +0200 From: Jiri Pirko To: Grzegorz Nitka Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, poros@redhat.com, richardcochran@gmail.com, andrew+netdev@lunn.ch, przemyslaw.kitszel@intel.com, anthony.l.nguyen@intel.com, Prathosh.Satish@microchip.com, ivecera@redhat.com, arkadiusz.kubalewski@intel.com, vadim.fedorenko@linux.dev, donald.hunter@gmail.com, horms@kernel.org, pabeni@redhat.com, kuba@kernel.org, davem@davemloft.net, edumazet@google.com, Aleksandr Loktionov Subject: Re: [PATCH v11 net-next 3/8] dpll: extend pin notifier with notification source ID Message-ID: References: <20260526093419.639220-1-grzegorz.nitka@intel.com> <20260526093419.639220-4-grzegorz.nitka@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260526093419.639220-4-grzegorz.nitka@intel.com> Tue, May 26, 2026 at 11:34:14AM +0200, grzegorz.nitka@intel.com wrote: >Extend the DPLL pin notification API to include a source identifier >indicating where the notification originates. This allows notifier >consumers to distinguish between notifications coming from >an associated DPLL instance, a parent pin, or the pin itself. > >A new field, src_clock_id, is added to struct dpll_pin_notifier_info >and is passed through all pin-related notification paths. Callers of >dpll_pin_notify() are updated to provide a meaningful source identifier >based on their context: > - pin registration/unregistration uses the DPLL's clock_id, > - pin-on-pin operations use the parent pin's clock_id, > - pin changes use the pin's own clock_id. > >As introduced in the commit ("dpll: allow registering FW-identified pin >with a different DPLL"), it is possible to share the same physical pin >via firmware description (fwnode) with DPLL objects from different >kernel modules. This means that a given pin can be registered multiple >times. > >Driver such as ICE (E825 devices) rely on this mechanism when listening >for the event where a shared-fwnode pin appears, while avoiding reacting >to events triggered by their own registration logic. > >This change only extends the notification metadata and does not alter >existing semantics for drivers that do not use the new field. > >Reviewed-by: Arkadiusz Kubalewski >Reviewed-by: Aleksandr Loktionov >Signed-off-by: Grzegorz Nitka Reviewed-by: Jiri Pirko