Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp440124rdb; Fri, 17 Nov 2023 03:22:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IH0uRuvazV7YVgj6xwo/jaZqL+iR/SHsBkap53ZfagrjfLpQOIA8CTDJnYPxifNlbD1h7X7 X-Received: by 2002:a17:90b:4d08:b0:27d:2663:c5f4 with SMTP id mw8-20020a17090b4d0800b0027d2663c5f4mr20988745pjb.47.1700220169838; Fri, 17 Nov 2023 03:22:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700220169; cv=none; d=google.com; s=arc-20160816; b=t9tv6cIkVKObHedeD8qwxHKseRv6pJXDKmCxkl4v++VKOgymbUvEIXjR58bPKM2pi3 zhtmHpuWyJYf1g5gfsj+rfCgDWUqC0oedn6Wo2dkbmKrXvng0Ub/McW8R2BkxAXRZ9AS S5N4MJ5H4gUfHshk0JKGeC+NfiojP4fmtizcbVPV8tDukJQo3YJZqsC2lbTRMyws8gow agdAi3gmbhfglv4v94FZIcxv3Ejt9oYBQ/Ij+MnEGMug12p2LgazogUHvXtHsGAJTRmu B7BFIHPmWPrZlDAZPjOqo32p0rwIc3aACdAPi3d1lMLo6L/EXgsAuzhS8jskur4DTFrs QK0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=fOkcD53K2X7G4s1f8bk4UTCX0fMzMsSeEhZvt45ySJg=; fh=pm6lM3UqDIPs/aAq/43PUxPgrPpH+VJpTzRQZpNfirI=; b=GctnzVyU9PMk1j4h9/DIP4cP38dO+k9EZf2y4F6YAKfYsw9nEHq9E9603WqUQzgTCL ubEbdOLd1OWlEsNX06GlP2t3teM6gsUQz2lBiRnptuLCpE+29v9x72hTNWXSrVJK7P77 p8WWCBMwFW6+zulGIIOTQky4+N0jRMU3jqexzg9y0DMhNsEQHSE2j8qVer9nltV9ebKT U3BVPXIpKIdQwGwyFkVBZ48ZgAwZd7uE2TuYaTU7P7IuNTPT1fxjZc9VLM/0XZm/d6P+ 47vUfIbek3jonk1ocA3UZCQno2zxmkxvBU1oAE1ThOvL5R+TU5O9JYuDswmTiz2wClHZ C9Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VWPl67PS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id nv7-20020a17090b1b4700b002801213210dsi4236723pjb.60.2023.11.17.03.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 03:22:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VWPl67PS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 30067802C6AC; Fri, 17 Nov 2023 03:22:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343584AbjKQLWq (ORCPT + 99 others); Fri, 17 Nov 2023 06:22:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229952AbjKQLWo (ORCPT ); Fri, 17 Nov 2023 06:22:44 -0500 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::222]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34313131; Fri, 17 Nov 2023 03:22:40 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 25E0640004; Fri, 17 Nov 2023 11:22:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700220158; 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=fOkcD53K2X7G4s1f8bk4UTCX0fMzMsSeEhZvt45ySJg=; b=VWPl67PS3AfKt8VvL1wMfbZBojORBn/Ix+LPQcsRJptePEqD1KyCPT6eadL8PGkgJB0Le2 2mj7RcXQm0z+7LlMIWtsUc+JeMHHqupdKhlxpiJqSYgrnWx4GkeIxpV5BKexez8XtQaHgr PI0zp2s6eeiDcyzYWUpajSHZRQpRq2Jq8vT+t9UkrwWGdtTVd7/9AWKhquccKG+PkD2KXL 2cHxy6b2ZcYO9O3oNV1h6ldKKouQuNGQdEmwxp6vyk4WWA7UvcaLEbx0lHtK/lAI0tQsY5 uhw2BSWoUZnmdqQHWPPl6b6TfLKZfn83I+3lgM6bOv4Kv5V2rskJUIfC8K+5oQ== Date: Fri, 17 Nov 2023 12:22:36 +0100 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Andrew Lunn Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH net-next 9/9] net: pse-pd: Add PD692x0 PSE controller driver Message-ID: <20231117122236.3138b45e@kmaincent-XPS-13-7390> In-Reply-To: <8e077bbe-3b65-47ee-a3e0-fdb0611a2d3a@lunn.ch> References: <20231116-feature_poe-v1-0-be48044bf249@bootlin.com> <20231116-feature_poe-v1-9-be48044bf249@bootlin.com> <8e077bbe-3b65-47ee-a3e0-fdb0611a2d3a@lunn.ch> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 03:22:47 -0800 (PST) Thanks for your review! On Thu, 16 Nov 2023 23:41:55 +0100 Andrew Lunn wrote: > > +struct pd692x0_msg { > > + struct pd692x0_msg_content content; > > + u16 delay_recv; > > +}; =20 >=20 > > + if (msg->delay_recv) > > + msleep(msg->delay_recv); > > + else > > + msleep(30); =20 >=20 > > + if (msg->delay_recv) > > + msleep(msg->delay_recv); > > + else > > + msleep(30); =20 >=20 > > + if (msg->delay_recv) > > + msleep(msg->delay_recv); > > + else > > + msleep(30); > > + =20 >=20 > As far as i can see with a quick search, nothing ever sets delay_recv? >=20 > Andrew In fact I wrote the driver taking into account that there are two commands = (save and restore) that need a different delay response. As currently we do not support them I can indeed drop it for now and add it back when I will add t= heir support. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com