Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4029262rdh; Tue, 28 Nov 2023 09:52:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IFTPVbz8m6w5AwIOR+6c3gtjY6AYpF1Z84eNLz8F7imL+14noszRaHCsFYEyNU2C5V3Izq2 X-Received: by 2002:a05:6a20:9145:b0:18b:5a8a:4333 with SMTP id x5-20020a056a20914500b0018b5a8a4333mr17010770pzc.19.1701193964826; Tue, 28 Nov 2023 09:52:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701193964; cv=pass; d=google.com; s=arc-20160816; b=G8kRsH2oJ0umUOlcm2J7r707Fse10RdR88ESxjpKhwkiykI8MbbPPVx/OMWLB/1cM2 G/BFjqrtxBSZo88qDuDEQqU38mDhvvxp+kOmkgElk0WQHmwd23Uoahjtwrp1tU4xaxHS BKuofnBR4dbOIW8wFxgNHjpUMNi3Nl2JYu16MwE3T4c1RLzGgIoRKhW8/eOHQH2Lpf+t T3YTqt/dv6loXAxudGMCC5L2EzQW5hsxMjvSAS++ss9jG7BoGCKsOLl/zK/AwLAPUdIA 5ofUpDKMlx6KgvNuYZOt9f6dN6MQ6pIt/2WtkP6MN9yhlosEyXBfg0umSXxGOKofpEmB fiCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yOn2B84+PYWoMYlTmAqEpojDnKX+ATO5lHPhvUcD3Qo=; fh=vZ/H310TIeC306SMgXqRPpvUA3IohHGvMUTK0bMerNg=; b=v5g7791aGx4FCMDJLXtkuAEPD5waScGQXYQ6W0ICxPYStK/kvnN7axloRdMAOzHYjl bvmQlI1ScLJfnPempYjL7ufz4mjki7/Ht6ZhzHnSNKLL6hatpDsc98X7FzDjogxBnwkd SMeRpxGvSpIw09XWhnOeERG4vGrRjF8+WzpP6GcuHUjEXjoaLbcVwmhryKFB0TxKE1dq 06hixzXFYVGjPNPTkuUSkucM9IWMCQ9UklSkbCPDjCFafCCYtEHmDbbJrbWd0v0RZ5Sr YBNqu/vAVCMqwgFsT6t3bP6Sj6iCBaWeyU9c7XyBrdYGLiB8kJCtMbQswoBzEyCFaYa9 brpg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=KIjB6tdm; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id s6-20020a63e806000000b0058afac51c12si13031008pgh.545.2023.11.28.09.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 09:52:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=KIjB6tdm; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 486B680A7F36; Tue, 28 Nov 2023 09:52:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345727AbjK1RwY (ORCPT + 99 others); Tue, 28 Nov 2023 12:52:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234566AbjK1RwW (ORCPT ); Tue, 28 Nov 2023 12:52:22 -0500 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10hn2232.outbound.protection.outlook.com [52.100.156.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0717F1BE for ; Tue, 28 Nov 2023 09:52:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HkOo70mQtck5/pc7bkaKkyu08z7gNocteTefwR2ymCtdEQP8jfDA6XLUB6eNeBtGC2E3i2UHMfSvU3idzijYl/Cs3f2hSQySeBOZ2kLIGcQyXQbF/whSNryc5Zy1LMukoo6zei6AEk5TXOr+4seB5PVk3PBhUnM9+7gZhC9t1swMxCm3S9ZZejl5mtZehzwH/qMemFm498r7C2go7rZvLOQzmz9xfyPfZFy/B5D7gfytZJTbZ5zq0rvvr4s0cbZbbSYkmUO0LKF1RaOJ7Na3Qg7FM8QR2XKzOpmY4ZjaXXi+WbEsVpu+2zVWHLugXfzLbZNvT54DJ97QRhnReA9FEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yOn2B84+PYWoMYlTmAqEpojDnKX+ATO5lHPhvUcD3Qo=; b=jGKV3iUFvLI01cJty08O6yTsotMOdV4uJ178AQNoHERkBFjce/rtei3Nv/bfg0cxYu7x6MBNTfTQ08PGBkXgwL5aCzVYoHx852vsyLRznuh/mKy0VkIQ5DJzLPTAxFlsxGux7Jo+q8AS3T1/qXKOPZa7Ud78HsiW4MoxDsxJGRi2zmfsP7S1L0UaJ09GU7tU5kaG4W8P9U+WrlGL2mxJyb/Yxmgtey1fpbSnfSyNlg9kzdiAJe1lXxjVWKDXbF+AEVD4hW6okXgujJKOgBAr72Kit+VUOJLuAX6KX+BU0RWlSK+Qqsvx/Tq/TValn8E0hHyXT+g9puMmh4olzoOgNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yOn2B84+PYWoMYlTmAqEpojDnKX+ATO5lHPhvUcD3Qo=; b=KIjB6tdmuZZrds7x/BbQPx3L9UZiWFmIhi8eO0ODXiz4ZX/O26AJ4CBKawMbkyecyuY7BPzIpp2INnZL16JVAUtCLVktgBb5FxGLF+WjoZtdBnDrVnish/gHYjRPVK5ABH3WVKiqGKIUQUpFonGVnmFii1q6fcz6s6TrmIHLSFUQij2fwNnxI21DcJqhQHpKCwUBKLp5BF5VSWWP156n99ApBWVsMmgJk76p7b7ooxVzyOSR0Hi6AjBDtMD3XjQFlzIlsR5fXoKt3s10ToKmqwlRy+jvoKb79LXVCwD1PqAmtx+l+1ZNMT9JlAp1tmTs5iK/8y9IyEJMgc/PoygcdA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) by CH0PR12MB5372.namprd12.prod.outlook.com (2603:10b6:610:d7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.27; Tue, 28 Nov 2023 17:52:26 +0000 Received: from LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::60d4:c1e3:e1aa:8f93]) by LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::60d4:c1e3:e1aa:8f93%4]) with mapi id 15.20.7025.022; Tue, 28 Nov 2023 17:52:26 +0000 Date: Tue, 28 Nov 2023 13:52:24 -0400 From: Jason Gunthorpe To: Jakub Kicinski Cc: David Ahern , Saeed Mahameed , Greg Kroah-Hartman , 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: <20231128175224.GR436702@nvidia.com> References: <20231127144017.GK436702@nvidia.com> <2023112752-pastel-unholy-c63d@gregkh> <20231127161732.GL436702@nvidia.com> <2023112707-feline-unselect-692f@gregkh> <20231127160719.4a8b2ad1@kernel.org> <20231128044628.GA8901@u2004-local> <20231128065321.53d4d5bb@kernel.org> <20231128162413.GP436702@nvidia.com> <20231128084421.6321b9b2@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231128084421.6321b9b2@kernel.org> X-ClientProxiedBy: DS7PR03CA0177.namprd03.prod.outlook.com (2603:10b6:5:3b2::32) To LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV2PR12MB5869:EE_|CH0PR12MB5372:EE_ X-MS-Office365-Filtering-Correlation-Id: 62219588-d2cf-4f0b-44f3-08dbf03ac81e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?e22OH89CkAKGc4e7+nl5YR/s25Q+jSj+VTPG8vhdk0WN+nbEZTVj52AqITDx?= =?us-ascii?Q?63AWFXP9xKXOcqcrCJkipikOllq2POJl4bhH66JKGiEzQh1DUWek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OBaq/swVk1VgO9s1qPId4fsONO5NF0h4shpSx3?= =?us-ascii?Q?cIuM4pZvrC5RWuduinEu1dcfu/JIczJOhEYmmy5GcA8uTGdOCf7FXB5hy4ee?= =?us-ascii?Q?QN9cads8?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:5;SRV:;IPV:NLI;SFV:SPM;H:LV2PR12MB5869.namprd12.prod.outlook.com;PTR:;CAT:OSPM;SFS:(13230031)(39860400002)(346002)(136003)(376002)(366004)(396003)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(38100700002)(33656002)(36756003)(86362001)(41300700001)(6512007)(6486002)(966005)(478600001)(6506007)(4326008)(8936002)(5660300002)(8676002)(6916009)(54906003)(316002)(66946007)(66556008)(66476007)(2906002)(26005)(2616005)(107886003)(1076003)(83380400001)(27376004)(42413004);DIR:OUT;SFP:1501; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?jpXboJc9tY6cqpCmM/yxyi+F0l+DXg9Ti3HEAw4/HM0wSM1oJehcRw9jaGob?= =?us-ascii?Q?ZJOjH7fqgDW3JGiC217v1rMQODX2kv6jifYJFs65BevRyaanG+WHYCSkeboE?= =?us-ascii?Q?MejtS4iUOCva9tRYMq/w7eQ3EAT617Bsh63Uz45scB8V3bWbOrhgluUeVP8G?= =?us-ascii?Q?gDKtujS2GDjy5egky5gXcnDH2yTuqTCe2QjRf2jIAS2Zl/15kpU1MMMiXqkX?= =?us-ascii?Q?cyGO6wj9J3D/hEEpTmL3ha++0HbGix1ngkodHb5DjwXSO7H3kx0VmKlH6pMd?= =?us-ascii?Q?mbtp0ID1qGLPkPeiPiqJJDT/Z1d+2dkEeu6p537gQuWMmciuW1wOo3yoN5XH?= =?us-ascii?Q?+yURbpdVsHkQoNZlC+4W4H22CqPNrfCXXL/0ku9JLMkc0Ak6a/gibsup0wU2?= =?us-ascii?Q?Zgr3fiDOHQF1dy2ChsL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?Q?Ws8kmI/x7aXUFSovy4qEDlei0lFmtengDB0bL2IdQUSWfyfiYSIa8lr/HAqg?= =?us-ascii?Q?XH6eY3lCzXsemZWmpJTNFZTtXMJbjHVOlmxtDr+G2eFZDOsyolPuKwMTFvNS?= =?us-ascii?Q?NvsPhP+LrmbZrB/zZ0VvcH6KkZmKLn89cJw5N2/wHbQzA9SKylVSCO94OKrQ?= =?us-ascii?Q?ySbHnBueEI/+gIJMG8P6GhmohMu9+6Ry17zowsLP/TE7LNVeEd/yBFiFGmkv?= =?us-ascii?Q?C23oZcCYL7Vz9Les4fijx0jHE1LAS+FYou1B+yPH?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62219588-d2cf-4f0b-44f3-08dbf03ac81e X-MS-Exchange-CrossTenant-AuthSource: LV2PR12MB5869.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2023 17:52:26.0293 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6wFBPEgquZ0OQ4yyUlJfs6kllUgxtFrX3Wx4cMJcz632aNI2/u9eeO3LUsQl1FpU X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5372 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, 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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 28 Nov 2023 09:52:42 -0800 (PST) On Tue, Nov 28, 2023 at 08:44:21AM -0800, Jakub Kicinski wrote: > On Tue, 28 Nov 2023 12:24:13 -0400 Jason Gunthorpe wrote: > > You said you already rejected it at the very start of this discussion > > and linked to the video recording of the rejection discussion: > > > > https://lore.kernel.org/all/20231019165055.GT3952@nvidia.com/ > > > > This session was specifically on the 600 FW configuration parameters > > that mlx5 has. This is something that is done today on non-secure boot > > systems with direct PCI access on sysfs and would be absorbed into > > this driver on secure-boot systems. Ie nothing really changes from the > > broader ecosystem perspective. > > The question at LPC was about making devlink params completely > transparent to the kernel. Basically added directly from FW. > That what I was not happy about. It is creating a back-porting nightmare for all the enterprise distributions. > You can add as many params at the driver level as you want. > In fact I asked Saeed repeatedly to start posting all those > params instead of complaining. That really isn't what you said in the video. Regardless, configurables are only one part of what mlx5ctl addresses, we still have all the debugability problems, which are arguably more important. > > I second Dave's question - if you do not like mlx5ctl, then what is > > your vision to solve all these user problems? > > Let the users complain about the user problems. Also something > I repeatedly told Saeed. His response was something along the lines > of users are secret, they can't post on the list, blah, blah. You mean like the S390 team at IBM did in the video? This is not a reasonable position. One of the jobs of the vendors is to aggregate the user requests. Even the giant hyperscale customers that do have the capacity to come on this list prefer to delegate these things to us. If you want to get a direct user forum the kernel mailing list is not an appropriate place to do it. > You know one user who is participating in this thread? > *ME* > While the lot of you work for vendors. I'm sick of this vendor bashing. You work for *one* user. You know who talks to *every* user out there? *ME*. User and vendors need debugging of this complex HW. I don't need to bring a parade of a dozen users to this thread to re-enforce that obvious truth. Indeed when debugging is required the vendor usually has to do it, so we are the user in this discussion. You didn't answer the question, what is your alternative debug-ability vision here? Jason