Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5950478rwr; Mon, 24 Apr 2023 11:13:59 -0700 (PDT) X-Google-Smtp-Source: AKy350ZU76ZNxSJXZYEHsT3bTtyHAcheUT03koY5Oq0XhJbXIySQFt+c03iGSQFf/Qw4ZsResW2+ X-Received: by 2002:a17:90a:c90d:b0:240:1014:a1b3 with SMTP id v13-20020a17090ac90d00b002401014a1b3mr13830075pjt.35.1682360039499; Mon, 24 Apr 2023 11:13:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682360039; cv=pass; d=google.com; s=arc-20160816; b=dA7VZOsfQz3ng/LirmCWzzYaMUP/O/rRG97Z96PmaQyESK+C4QZaq1wbmDZznTN05e y5AnJ5QkNZStmm9PYGxaAQ2PncYgZemQB7A8AqXsI4MgpjsMUeBwqPOl1ZW/Ofueepfq +yqLkGnK9VXYGlzw3MfbdbDzmgKP6MfHUGfq6YzbKjn0pNX6PMtaYGMEATMi3zZCp5iM pD6UiWbrWUqIMYS1rWIrEIdM3jC5U8TJkNtzlla/7AlUGXbtp5Ufd7jZQVJStT+osZl3 T/8ArVS2WNfRbiarxjytgXihVeLzOU+wR9jCqyMM1QbefuyA59oYURwCkpCOMBjkT7MI akWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=2wxLkBR71Y0DyWkZH4ju2khClaI45CxuGX8RryJuv6w=; b=wxOGqmEZoaC1Xvnn28/2M/lQ0tnwJ4iTZkthQC/ZSg6DsKOfTlMdVJeeUz+lp9Bpd5 fpd2IfhNaxpO50EiwiHnahDpHTD5l9zilrwJz33ggvpjrR8T+zmeu4vVBRDBjLr5YHxQ w6A9Y6IZgVI5HObcrwWXYRmzHrJG+9s6x9Zestl/Q5n24/1m4mZfWL9np+bMnER5D7cE wChtMSfat5VjXP/pzOxsglUKgW40TPgrvdN7HBv6gfOEvPBNUNtz02tAZOQ3pAdVp8Tt 6JMAMOcc7G2li9sssIda6ozaUOL2PXBsVN08wFneROAVhmJkntRByv98RUD+TAAaVSJL 0DTg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@stgolabs.net header.s=dreamhost header.b=i7g6EhAU; arc=pass (i=1); 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 me6-20020a17090b17c600b00247303bfcd6si15743636pjb.168.2023.04.24.11.13.48; Mon, 24 Apr 2023 11:13:59 -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=@stgolabs.net header.s=dreamhost header.b=i7g6EhAU; arc=pass (i=1); 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 S232278AbjDXSLa (ORCPT + 99 others); Mon, 24 Apr 2023 14:11:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231985AbjDXSL3 (ORCPT ); Mon, 24 Apr 2023 14:11:29 -0400 Received: from tiger.tulip.relay.mailchannels.net (tiger.tulip.relay.mailchannels.net [23.83.218.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DDA46EAC; Mon, 24 Apr 2023 11:11:26 -0700 (PDT) X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2C38B5C176A; Mon, 24 Apr 2023 18:11:23 +0000 (UTC) Received: from pdx1-sub0-mail-a216.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9FC4F5C0F80; Mon, 24 Apr 2023 18:11:22 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1682359882; a=rsa-sha256; cv=none; b=AZvnCETqaJWrbR/KXJjP8h/fR2udp8hNHI9Prf/2ziuDnRfYFLIBu4+z/xTWlYmoviK1nx 6PNQ1UiwFzl9yQEYcfsKY3E7O94ycxakR5YbMqfyOHhs08GV5dw0B/nAa/7jjN3L0zvWES uWCh4XmfGWRYNUb4HFv5TPyQDIffd9yxjWZhMaOA69zbV8wamONi6nAxMi8k4auqm6EC2M 2Vrjdh4Bv11Vv52KSeVnjteUVLOkOfiyoC/HjWWK+VwCH9I8+g7WMD2l6r9PPs2Hno1SBW buOyOEKToYysMURAp9///8z8EC3Ro23VVMVTs9HRRePuW+tKtAqCKtI5D8+iGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1682359882; 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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=2wxLkBR71Y0DyWkZH4ju2khClaI45CxuGX8RryJuv6w=; b=KYACSQ+ongq4fPncv5mUn7bl4ZKZqAmLgmiJYSh5Zc8WMh99Cws7xfDPmNlz4ET6OcZC0P HISx5daTfGGlzEeB5gPcHhHOdhgntDu1gv4ZMMh1tH+Ljr+Wmets+pSOnMIDIQKsWeJ4ju 2JsJGhTxLs8LcKdZ30LD972MbyPLy/x+yKl+6Q8wx8XGZWs7W6dsWk9bTQp7uUlzW+BLcT By8x0Eue6+Oi5HULfvp0P21yEKZubR4nVZbWbi+MxZaX7nlhOJyjivvwPyf2C5jIW8x1C9 8q+VSqZIjNC4/+dYNJsLPhxRmsWpC7b4OBSgrTNdUFQzKjWW1TA3vYdD9F7IDw== ARC-Authentication-Results: i=1; rspamd-7f66b7b68c-zjhh9; auth=pass smtp.auth=dreamhost smtp.mailfrom=dave@stgolabs.net X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dave@stgolabs.net X-MailChannels-Auth-Id: dreamhost X-Arch-Turn: 7d8e6e43170ce28d_1682359882951_2513165092 X-MC-Loop-Signature: 1682359882951:845671132 X-MC-Ingress-Time: 1682359882951 Received: from pdx1-sub0-mail-a216.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.114.243.17 (trex/6.7.2); Mon, 24 Apr 2023 18:11:22 +0000 Received: from offworld (ip72-199-50-187.sd.sd.cox.net [72.199.50.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dave@stgolabs.net) by pdx1-sub0-mail-a216.dreamhost.com (Postfix) with ESMTPSA id 4Q4tVd6Qtmz3K; Mon, 24 Apr 2023 11:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stgolabs.net; s=dreamhost; t=1682359882; bh=2wxLkBR71Y0DyWkZH4ju2khClaI45CxuGX8RryJuv6w=; h=Date:From:To:Cc:Subject:Content-Type; b=i7g6EhAUdC28M8k6dmzTcZex8+SkB3kSq4XU78hRl7xv0Drfzi68GmLhm6osQdeLg eM4+1s2fDlxBYGVpcVl6U75u+AID/zqwlE2GV96K3mjC3aVqs23KwFnHVsMVCRjfTp rNHlIm3ApoYQg6QrJJhL3kTuI04EW7ta4biRw8FkOhA9H9CWnQpCT3PeTARNoNNeJD CtwOpLSSwNVx7zMFipvoe56dKPsyL4hT17zHK9fDvGbDyKIq+lYzF6aolz/k5rucpt P5/bVvoUTcYq7t45ROQ7WrBeMQI1ZwrmIVhEbIO/bQu7HvSfV2sYnVKzIgi/hq5BXc EyaB94lm2qxpg== Date: Mon, 24 Apr 2023 10:39:41 -0700 From: Davidlohr Bueso To: Vishal Verma Cc: Alison Schofield , Ira Weiny , Dave Jiang , Ben Widawsky , Dan Williams , linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, Russ Weight Subject: Re: [PATCH 0/4] cxl: Add a firmware update mechanism and cxl_test emulation Message-ID: References: <20230421-vv-fw_update-v1-0-22468747d72f@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20230421-vv-fw_update-v1-0-22468747d72f@intel.com> User-Agent: NeoMutt/20230407 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Fri, 21 Apr 2023, Vishal Verma wrote: >The poll interval for the Transfer FW command is arbitrarily set at 1 >second, and a poll count of 300, giving us a total wait time of five >minutes before which each slice of the transfer times out. This seems >like a good mix of responsiveness and a total wait - the spec doesn't >have any guidance on any upper or lower bounds for this. This likely >does not need to be user-configurable, so for now it is just hard-coded >in the driver. Nothing against this, just thinking that in general, but we should probably limit the poll interval to CXL_MAILBOX_TIMEOUT_MS. I'm not sure, however, what would be a proper value across all commands. Or would having this limit be per-cmd make more sense instead? Thanks, Davidlohr