Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2483791rwb; Sat, 29 Jul 2023 07:41:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlFskGn5BHlMtUGQ0LGp+jtFoGV4KtelJzSxFn6m5Vx0p5gaMa6wePONk8D7eAK9veYm2ZXE X-Received: by 2002:a17:902:eccf:b0:1b8:6b17:9093 with SMTP id a15-20020a170902eccf00b001b86b179093mr5461453plh.1.1690641691728; Sat, 29 Jul 2023 07:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690641691; cv=none; d=google.com; s=arc-20160816; b=Sgy7B8HtwfxAPUtHICwgT0GW3xYYtxwYBOFutC/lYZEzqCEKArlDbUnC4iQd/653IW tZQWaN4IJCBxvQinjyYiWnZS93DGHIS2lNOM2PQPi1Du1ItTjnnXGtEG/Ifdrv2NYUJt f3eVg7M/UVqgKUYvSeUxTy3Opk2tqjwX1x+TU9DNeFzE0qRyvKYLEcicrPE8PVLobWPZ 4bIjnHL+ikiQgIBEcmPVXV4/dR64edbT4cN4RgC9C/Jm5ecQ7Wmpwnfrywt/p6ngy6z0 7b3CVhMA9o46NihNDbc1lk+2nhODTovdqX8qLZkjqn+7sjVOeqkZddCcK3Y8FT7WaCFo wYIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:sender:dkim-signature; bh=+juVBEUn1R8j59wDMxRrsd2Mf8MjX0ZcSc/qKrqr3Q4=; fh=Gsm9mpxyLzV9i4N2PfGVYh7XC2m9tbBF1UOftlXFwr4=; b=BlmIFRlZnyAZPH9DWrBRTwEwDJ0nvTUUBu4yvnm1vhVj1lZenlM2bs9deWxdss6xut eRmc9mp/ORPvDhb6c0dxXLDQSkuODPDCJlFrMUmoQuAs7c9llGxKrcxXsFZZIAsi/utD XlO1u91a/PLRxEJZvR/a0lBFfGaaWafeole5QmsCt4eGZJMeFlfrnRKTO+X2cGwP4OQe mongINwCPTKaG5oUtkNMYE8PlrecA1HTcrLfn4jgZdv98nTep7jLTn8/VhctrLmvtpfi ITR/U/J85096PRHIm4zdUTPPaL0v7NjeB8eVZH1e7dy5jeQMyNdZbYn9RYsXlaqzCJIu kIYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ZYW1Ztbz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020a170902ba8300b001bbb56b34e4si4488855pls.331.2023.07.29.07.41.19; Sat, 29 Jul 2023 07:41:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ZYW1Ztbz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231348AbjG2NzY (ORCPT + 99 others); Sat, 29 Jul 2023 09:55:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229685AbjG2NzW (ORCPT ); Sat, 29 Jul 2023 09:55:22 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0996510FA; Sat, 29 Jul 2023 06:55:22 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-686e0213c0bso2184538b3a.1; Sat, 29 Jul 2023 06:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690638921; x=1691243721; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:sender :from:to:cc:subject:date:message-id:reply-to; bh=+juVBEUn1R8j59wDMxRrsd2Mf8MjX0ZcSc/qKrqr3Q4=; b=ZYW1ZtbzEPbaat/rHLCVCFSyZiwm01HIFhAILCJVkW5Gq+z2REcyPZ63lXEAJJaYZI cgLSQwxPC1slxhfU97nQkijVsnrAGs8PwLnFKXJUNs3JztctVCmIrh6I/v0nJKQF3aNJ DNsOla9nKlCmnXybAi+kKlLuTVbs64+yEdyRij97OHrQCVgOL7UK7RdjerO77GgdnsVp G6OMeCzmefMBSntrkK5TQtGtX5YZO3CBDSDxMyRTIvCJmaPjEh1rzhmgDLpF3YtrxBSg cnmuy/e0kFc2uloZH86tsRRU3soecNFT+j+hvTjoLBY0cp5+lroSnqAuajtroaQlh+Ww kFsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690638921; x=1691243721; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+juVBEUn1R8j59wDMxRrsd2Mf8MjX0ZcSc/qKrqr3Q4=; b=hxg9UM7ztwyux71VE5iIYKiYqPcMESKxu23H1ry9Szx3MeuTVGW2EZfy5SF6poWML3 mvt/J1FOUHBxhprrTOiNfb0M+BNtOgd/ftnT1134xs4ZkKemH3dzOZ6WhHHGb+scvakR amTyr8lAaWnWpRPJqRW/lgAuyfNOnCKmTHB6yW+MQicUFQkvzWTEX4X2uzMVaehI9N9g 7vo2gWbdAmyj8sd4N/dy0ytLQOYd+4gTJ5/XFpiNXG9jPLrv5dbdLKrvACI5SIBT26SL u4JNapOl38NH24sI5BhLmnsUtYcS4W7F1DzJH5Hk/mks5APzrTPYKOcPneElsJ0nZybb zsEQ== X-Gm-Message-State: ABy/qLbCcFv15wp9HnHuhDP+BUe4wGoNhjL6cvlj58UoQd12i4pnzWzm fDj2FdWcBzV88nSyZPb0snT/R+Re61Y= X-Received: by 2002:aa7:88c3:0:b0:687:20d6:faea with SMTP id k3-20020aa788c3000000b0068720d6faeamr1522930pff.15.1690638921301; Sat, 29 Jul 2023 06:55:21 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id ey14-20020a056a0038ce00b00686bdff1d6fsm4508300pfb.77.2023.07.29.06.55.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 29 Jul 2023 06:55:20 -0700 (PDT) Sender: Guenter Roeck Message-ID: <94d2e491-4986-5344-c169-c1732c80bdf1@roeck-us.net> Date: Sat, 29 Jul 2023 06:55:19 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Aleksa Savic , linux-hwmon@vger.kernel.org Cc: Jack Doan , Jean Delvare , linux-kernel@vger.kernel.org References: <20230729133112.462023-1-savicaleksa83@gmail.com> From: Guenter Roeck Subject: Re: [PATCH v2] hwmon: (aquacomputer_d5next) Add selective 200ms delay after sending ctrl report In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 On 7/29/23 06:42, Aleksa Savic wrote: > On 2023-07-29 15:31:12 GMT+02:00, Aleksa Savic wrote: >> Add a 200ms delay after sending a ctrl report to Quadro, >> Octo, D5 Next and Aquaero to give them enough time to >> process the request and save the data to memory. Otherwise, >> under heavier userspace loads where multiple sysfs entries >> are usually set in quick succession, a new ctrl report could >> be requested from the device while it's still processing the >> previous one and fail with -EPIPE. >> >> Reported by a user on Github [1] and tested by both of us. >> >> [1] https://github.com/aleksamagicka/aquacomputer_d5next-hwmon/issues/82 >> >> Signed-off-by: Aleksa Savic >> --- >> Changes in v2: >> - Added missing include >> --- > Sorry for the noise, I didn't include the Cc: stable@vger.kernel.org > line from v1 in v2. Do I need to resend? > Normally it would be me adding that. Instead, it would make much more sense to add a Fixes: tag, because otherwise I'll have to spend time figuring that out. Also, you are not supposed to actually send the patch to the stable@ mailing list because it hasn't been accepted into the upstream kernel. It is only necessary to actually send a patch to the stable@ mailing list if it is a backport. Either case I'd suggest to consider addressing my feedback before sending yet another version. Guenter