Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp703532rdf; Tue, 21 Nov 2023 14:13:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFkludqs5duEeZNNV/gK267FhzLjO6DpxHEv/GTBt87dATTayTdukPTRTOHkQLTqrA2zvZi X-Received: by 2002:a05:6a20:d388:b0:185:445d:d81e with SMTP id iq8-20020a056a20d38800b00185445dd81emr477481pzb.55.1700604787968; Tue, 21 Nov 2023 14:13:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700604787; cv=none; d=google.com; s=arc-20160816; b=JiqdEdgOG7rNzW9HY6eTgit3lpwX+sLOjzMBcWGraWEDcJ1eazWOdEW82iGfT0ZP2R ADt00YEoU6fRZsFHTzrQ0WEBMWVw0JQp6uLm5n9jyC2aJA4Usuukoqo1Tjfqu/Q9IYM+ jUWqmEj20huH4JCltK/NwIDgL/kEV5YfYVclm4sW2ACKlXA8q0kzzD25xbLCih2+ER0V Hs6fLmcGxnfwgmlAlfJYY4Hm63uvJaWdc5PYhxV6P+GHHGx6J5ttW+W8OVB5WQgLzulQ 1Fy/5kTYHmGENXsprh3jZR/mgNY700Pa7y84I17FhHU7Yj54mviHZmzo76B+XUeunIyB dAwQ== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=eS6HrFa4lny50lD2zRCNL6vB1RUoe1ZNhSc3yD48ZHM=; fh=6oND5U3CdLBW70Ve0rJmqAxciYb0eVHQwlbnFEv4jfQ=; b=NE3ebdZU+q9qkIDrRa34t2al4e3M1spf2RVDUjXx7M+hl/J9aD4vGK2CDdRppH+hcA 8v7PE8OeZbfh3GABOBjhxbnG8l3NXxFOyCTRQPDfdlB6JGrv0SX2zrWzFfQ2kmHy7/EK /rX7l/R1qBHKby0eTD/0yLdcf0MppxJv9JpZInyyahuSXSsCY8vDDNP9kqU/nVOxoNQD sIC8LjXly54uXJpAcrqgqYmncJPVPqFgg2W4BEErIe3AGaYrsrFetcUZAd4A9zIC2b92 L/reZALk8mMD4WsT5C5tUwA/bKYllNaqhDM60R5jl5YLq4vogtRVOt0GC+ojHMCEgsAh 495g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JJI997Rn; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id a17-20020a056a000c9100b006bec127d3e5si11206658pfv.316.2023.11.21.14.13.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 14:13:07 -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=@kernel.org header.s=k20201202 header.b=JJI997Rn; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3923580984A9; Tue, 21 Nov 2023 14:11:10 -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 S232592AbjKUWLA (ORCPT + 99 others); Tue, 21 Nov 2023 17:11:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229704AbjKUWK6 (ORCPT ); Tue, 21 Nov 2023 17:10:58 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81D92113 for ; Tue, 21 Nov 2023 14:10:55 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BFB2C433C8; Tue, 21 Nov 2023 22:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700604655; bh=J/W5EGd0OsyI7D9gEbE2ntrabvODRH0rgEAh9iseBdg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JJI997RnOpQ30CdBHbSydQSyotpSkcfllhLASAeoy4UJEBx4sdEJGP/yTCi0r4ku7 cdA3ABDw82oW9shYafjxTk4goQCu+GlX8+LVzOTE+7xQGf18B1nzbs/ItBEBLApqfF 4V0GRKiMg7qHCEY3HGRMQbQufUB7KQf36Lre+DhBrSUdkvc33QhF9DyK9e6n/U5kk0 TiRjt8LYq3ZuqtaoU4Lpx4lyi/VGt9ySlLs80/JJzph4xud3NT8zKdsXc3WfR/Y6K4 s/thaocQwmyaDQgtrp7FXl/6jIOebcc80GpBaWuXJjakLJ48uwJRRIN1Crv3TOQI8j mTHSgWoEsayog== Date: Tue, 21 Nov 2023 14:10:53 -0800 From: Jakub Kicinski To: Saeed Mahameed Cc: Saeed Mahameed , Arnd Bergmann , Greg Kroah-Hartman , Jason Gunthorpe , Leon Romanovsky , Jiri Pirko , Leonid Bloch , Itay Avraham , linux-kernel@vger.kernel.org, David Ahern Subject: Re: [PATCH V3 5/5] misc: mlx5ctl: Add umem reg/unreg ioctl Message-ID: <20231121141053.6133e069@kernel.org> In-Reply-To: References: <20231121070619.9836-1-saeed@kernel.org> <20231121070619.9836-6-saeed@kernel.org> <20231121124456.7a6388c6@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 14:11:10 -0800 (PST) On Tue, 21 Nov 2023 13:04:06 -0800 Saeed Mahameed wrote: > On 21 Nov 12:44, Jakub Kicinski wrote: >> On Mon, 20 Nov 2023 23:06:19 -0800 Saeed Mahameed wrote: >>> high frequency diagnostic counters >> >> So is it a debug driver or not a debug driver? > > High frequency _diagnostic_ counters are a very useful tool for > debugging a high performance chip. So yes this is for diagnostics/debug. You keep saying debugging but if it's expected to run on all servers in the fleet _monitoring_ performance, then it's a very different thing. To me it certainly moves this driver from "debug thing loaded when things fail" to the "always loaded in production" category.