From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.84.56 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796233619; b=ZbXmxUGa8c3er99FMi7CE6CZHOg/O3zVr0vXMmwQ8BJc7VGeOwms4nmsACQL2Brb0x0t LwNqA8ehxyfrOktZ80oNiKk4+9NszOfSiXRFZ165WFEI5acMyAw2PEdIDTpvWe8GxfDRL Hc4sIw1Em9Hl8KuyfvT9XVQ44BxYrFUGbU7tF0/3SMGGOJH8ci+jrGNwWeUKOOUGe8cIP 3iXtdd3P5MX0iT1albrDRPNzNYhZYVgOwU0Q5EYUq49GE03w10nt1V2V4DV5ahsEcEyWH Sr4iARAzvIuYf+2bgSUpOnyOsFdkBgL61a2U6vW8OhQUTecVxqQ/6kvXMha9uEMbttQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796233619; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References:From: Content-Language:In-Reply-To:Content-Type:Content-Transfer-Encoding: X-Last-TLS-Session-Version; bh=fXnWSkfoUmNvqMZUdPamIyIWLeHRT9P02MFYjiwiKrY=; b=EfEi/waYDcBAhQOn9K+J7hLj3SJPFSaDUcn3GPWZjWo61j0AnMbvIUssSEpbLWBsew4l LeMsatw747fm1Fja77ayy4EsSAwG4Gvc6duoU7byETAOVQRhC2gZSg4oQz0lpejsgqfjr Ceq05iIpJb8m42Vo+JM7JW8KZ75SDhNJBK4ZtI7sUwtEHtheearhwStekRO5UrFwwWyog JotTDxBCT+c0iLLF09Cfwr21XKooxygLb2sYkJAUin8J4pGAfP1sBTBhVqgkiMe5sGGpJ UVyj41D91CKhZKs4RxrLIE4Iq1SE+qVkHVRapJkaA+1AHM9p5pN3+/YX2n2/pANTicQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=r7+3eXs5; arc=none smtp.remote-ip=185.246.84.56 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 50E7C606A32D; Wed, 2 Dec 2026 17:46:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 50E7C606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=r7+3eXs5 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 9568A1A18EA; Wed, 2 Dec 2026 17:46:57 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 626626075F; Wed, 2 Dec 2026 17:46:57 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6DE6D11EA0BB5; Wed, 02 Dec 2026 18:46:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796233616; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=fXnWSkfoUmNvqMZUdPamIyIWLeHRT9P02MFYjiwiKrY=; b=r7+3eXs5MkZvpz62jfhA6whTPQivAhYbknlEcjHJf+bRDl5zxxtHStS12gBZszqCOvMxoB N2G8gDp9SSlt7hiU4BZMEEA9ly+7rbzY3kmML0VqQ9rxwWabwgcJ+noat2h5CE+svRt6Pf qTYHFhfIBoE0z9XHpjoE/dl3TZPeM52Xtq6cH2r1iXEGNRxlSM2/2xza7P5AcxEI5yLU0Y 4qEAWwEa/9jA3Ju0mmRbtQ4FGKMG7RL01gTg/D9JIa9G/NcmpJYkUXwG59QuLLrYvKmuSL vbH98J4weKEHnK+kPZ/8qXVwDLs//3eTiteb+2EYdjdlN1JpUD+mFmUDNSddDg== Message-ID: <6c98259f-9d4d-4c08-b43e-a963538bacec@bootlin.com> Date: Wed, 2 Dec 2026 18:46:50 +0100 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Betterbird (Linux) Subject: Re: [PATCH net-next v6 1/2] net: pse-pd: add pse_poll_helper() To: Carlo Szelinsky Cc: Oleksij Rempel , Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Lee Jones , Pavel Machek , Jonas Jelonek , Ross Cawston , netdev@vger.kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org References: <20261202173527.207388-1-github@szelinsky.de> From: Kory Maincent Content-Language: en-US In-Reply-To: <20261202173527.207388-1-github@szelinsky.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 On 12/2/26 18:35, Carlo Szelinsky wrote: > Hi Kory, > >> I would prefer here to use an internal sub structure with its content >> not accessible from the drivers. > > Makes sense. poll_interval_ms is the only field a driver sets, so I > would make it a pse_poll_helper() argument and hide the rest. Is that > ok for you? Wondering if there is an interest of having this polling time configurable in the driver. This is not really related to the hardware, right? Do you have in mind a case were we would like to have a driver change this value? If not, set it to the default for now and we will change it in the future if the need raise. >> I am glad to see this development and have tested it on a new project >> that does not have the interruption line wired. So you have saved some >> of my time. Thank you! > > Thanks for testing! Happy to add your Tested-by if you try v7. Yes, will surely do. -- Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com