Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1771348rdb; Thu, 7 Dec 2023 08:21:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IG0QZnaHc9RjW468eAqarrrUwXGK4rIpOAZJ8x7g7VibKugHvqFcsWA7lyz0E/HgMHdVc32 X-Received: by 2002:a17:902:c60c:b0:1cf:d19e:fae with SMTP id r12-20020a170902c60c00b001cfd19e0faemr5033503plr.34.1701966085128; Thu, 07 Dec 2023 08:21:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701966085; cv=none; d=google.com; s=arc-20160816; b=xOGZlUmwNm6KEgGvo6saR5gNtc66wUY17ll2svBRpPXWhNz6jQMPUJUC/JZwyjn5pm VoMV/J8WfceSYWK+htyVDsWZ2CuTo12KlEH1qwHZM3+UPn/5DHQnLGYfxibHv5osgxyT uefhikd7kGTWpYZBL0Pd3lqXXJTBFE0kWb+MMBpFwdLwWQhHC6EwOCKEadhkwoYv4A3u q0hnAum7mcpDyllL4Rl6AHXyUR/2aY0TUsa4F7udd24rJcsCz/4ZZspP0WpV8hfcPquM YCVeLINv4NKcmeMwlD6AgDeGgse0b+JlDZISz5IbCqt58qhw5xaCVN1ruUsizkJ9p7Mh jFtw== 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=KYE965cR/BDZBxBrEK/mdAq1sqclk6r6/QyqPfMhPwE=; fh=fjuOAxXBq0PPFJNHo4tSZJCds7R1rSn2c7rnJbAiGdg=; b=JVoY1uYidGiM8sKYCyRn+Z5UnmyUziFN+jxTqMkmjBLQoN/FNHHEgPc/i045TjToKe olk3a4SCYr3NY4d5fKt/NC30Rz2xew2DesmbWe/AH8jdtwq9c6nED3MQrNm+JKgPmZFY VkT48GlAo6R8qM4m92d1YymMsPR0fXkqkBZKv0cJ2A3ladG1t+h8OC2HSjHruqyIfLPU v7etLsD4brtr/0IDlQKjRyL5GaJIEkq6BsKKRt89VZbXmYBUe4/XPHSxzf8ZsQuYXg23 h3ZfCJNxPnnx/Yd1lJXEMujkWPbrZcFoEdxbnUbzy/d2He1nkBiUnRsUJU8d3PUAhGqW nFyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nfSVX9gx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id n186-20020a6327c3000000b005c1cc7273bcsi1456443pgn.731.2023.12.07.08.21.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 08:21:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nfSVX9gx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 6206A80BA679; Thu, 7 Dec 2023 08:21:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232743AbjLGQUw (ORCPT + 99 others); Thu, 7 Dec 2023 11:20:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232532AbjLGQUi (ORCPT ); Thu, 7 Dec 2023 11:20:38 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 042E411B for ; Thu, 7 Dec 2023 08:20:45 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01601C433CA; Thu, 7 Dec 2023 16:20:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701966044; bh=w7Xd+/OSbJk+99OQ/CNyt9RR9EvA1R1smLyRfv0wPeE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nfSVX9gxMKlehSViXQ3Klw264+i4ncJhVTZy87Mh4ZIbSNzXPeL0KoMtmdkWwbzdB waxbbpkx0NWueh/RiOuR9A9mF2arnZO5XrFIAWQkQUVsIwuvTJjlDtT/0z6WpBQrkS 9Jql4vR9VfjRK4ARm5uqMq5ljy4gz8Ma/j9kWobmEF0q8ofJEnX4hqgDeeLKoOXMY5 jnstQlGdVAO1WbJLP/mL+xEsmbONzyqsKZ89ym8emLxnPokoE0GoAwXqditx9lBEB1 9gNeIT0DOBbli1/KWaRazG9m9NmaN/pcc6a2WzS2/TESeFMtyMCnAMqr9pv2Gw210O JuufPwAB2toow== Date: Thu, 7 Dec 2023 08:20:42 -0800 From: Jakub Kicinski To: David Ahern Cc: Aron Silverton , Greg Kroah-Hartman , Saeed Mahameed , Jason Gunthorpe , Arnd Bergmann , Leon Romanovsky , Jiri Pirko , Leonid Bloch , Itay Avraham , linux-kernel@vger.kernel.org, Saeed Mahameed Subject: Re: [PATCH V3 2/5] misc: mlx5ctl: Add mlx5ctl misc driver Message-ID: <20231207082042.6229868e@kernel.org> In-Reply-To: <2bbc4c40-ff8b-4243-9987-dc7d5502a37c@kernel.org> References: <20231128044628.GA8901@u2004-local> <20231128065321.53d4d5bb@kernel.org> <20231128162413.GP436702@nvidia.com> <20231128084421.6321b9b2@kernel.org> <20231128175224.GR436702@nvidia.com> <20231128103304.25c2c642@kernel.org> <2023112922-lyricist-unclip-8e78@gregkh> <20231204185210.030a72ca@kernel.org> <20231205204855.52fa5cc1@kernel.org> <2bbc4c40-ff8b-4243-9987-dc7d5502a37c@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Thu, 07 Dec 2023 08:21:22 -0800 (PST) David, I agree with your points. I think you're misreading what I said. On Thu, 7 Dec 2023 08:54:51 -0700 David Ahern wrote: > You rail against out of tree drivers and vendor proprietary tools, and > now you argue for just that. I don't rail against out of tree drivers, very much the opposite. Linux supports out of tree modules, and I agree that's 100% the correct thing to do. I'd encourage more people to take advantage of that. The problem is quite the opposite, all the "security hardening" is making it almost impossible for users to take advantage of OOT modules. > There is no reason debugging capabilities > can not be built into the OS and used when needed. That means anything > needed - from kernel modules to userspace tools. > > The Meta data point is not representative of the world at large - > different scale, different needs, different expertise on staff (OS and > H/W). Getting S/W installed (especially anything requiring a compiler) > in a production server (and VMs) is not an easy request and in many > cases not even possible. I did not say it's easy. > When a customer hits problem, the standard steps are to run a script, > generate a tar file and ship it to the OS vendor. Engineers at the OS > vendor go through it and may need other data - like getting detailed > dumps from individual pieces of H/W. You say that like this is not _exactly_ what I just said!? > Every time those requests require > going to a vendor web site to pull down vendor tools, get permission to > install them, schedule the run of said tool ... it only serves to drag > out the debugging process. ie., this open-ended stance only serves to > hurt Linux users. Right, exactly. What are you arguing with then? As I said - we have a very open / accommodating policy for extracting all sort of debug and state dumps. You can put whatever read only stuff you want in debugfs** Read-write interfaces must be constrained to a clear set of commands / settings but also very much allowed. As you said users need to be able to extract debug info to share with the vendors, no tools necessary. ** (this will surprise you but you can also put stats there, if they are custom, I don't care if they go into ethtool -S or debugfs)