Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3970225rdh; Tue, 28 Nov 2023 08:24:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZhFKNu9iIbAjAJAjhxojN2BiGOW6tY/2cLO8ruoz0E+UDIKAVaBuSLjkVZtfz2933AhR9 X-Received: by 2002:a05:6a20:841e:b0:18b:4f8b:5a05 with SMTP id c30-20020a056a20841e00b0018b4f8b5a05mr23064041pzd.30.1701188673443; Tue, 28 Nov 2023 08:24:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701188673; cv=pass; d=google.com; s=arc-20160816; b=L9SdASAtUW7XPwKdMA7EzNVOnHe/e+R1pj6rvmgf0AzlchX0r55zeiW/tdLXszoIJg 259vK+rD7z4xefEIFirq2a8ktBvkKNhKBfaALZITYPtH72t5hsKPLyBMKiM+iO1IhTdm 5TzWwTIbA6NPKJXlph1VISiSIhdydXBOSDY6T2tmi/WUL5l8Aojw73cbphHd8AJkcyQE lbJvfFZ6dsFiHj86XbtSZpdiYheuODZA9ylzphrjZ7+bNSp8QXUtScGuWgT1TPhnflSg ZCmV3RX6poUaX23AeylsF5FaKM0XDre0HPHogxd3Rl98BmMrthN7hlBeM6NEAjsngAJx qVPQ== 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=zvYZFrKZ7wo9PpBh3uipQUarHpQDe6izt2EDTpRapYI=; fh=vZ/H310TIeC306SMgXqRPpvUA3IohHGvMUTK0bMerNg=; b=Tr2GPV9RaHEtFVwtU4f0NfkWwJDDewUqvq6nhSkpY54wzpaeomW09b3xfywWI1P5CU 5+E7njKcTLIznwTxQyzWS9MUHKhfzziTBxpW9Ri75hYmiBwiVilPBJcOhcoJJllzfzn7 Cj7lubX4PtvtM1+xFWXftNm981TFT+2eZXsWu3VyvjIH1ZJd0TfnIGqLMYLTu50CcCE4 4CTuVbkqtuPK0/ikzaGGNfYE8N8X9pnvaoHBd5Nvhws0VUUzKeWL9AVVxa0Vsk6Eltem djX7PTyFLU+7gGmLUfuUbZuTnKXnMkaijO1Sy3cyDPr3+1edTJ+xBlbJonN6WA7izY/U Pt2A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=sF06XL06; 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 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id e15-20020a631e0f000000b005ab6142f1besi12590470pge.169.2023.11.28.08.24.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 08:24:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=sF06XL06; 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 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 9D0AA80658DF; Tue, 28 Nov 2023 08:24:30 -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 S1343995AbjK1QYO (ORCPT + 99 others); Tue, 28 Nov 2023 11:24:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232688AbjK1QYN (ORCPT ); Tue, 28 Nov 2023 11:24:13 -0500 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12hn2243.outbound.protection.outlook.com [52.100.167.243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD223AB for ; Tue, 28 Nov 2023 08:24:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kTKgAQHzmc/wJ5zI6wWoEBTF/kngF74aAztOhNGc1QiLozC4WF2UOa4Qr7YfGyYTD9v6H8klMkhtMm18J1UgbSxoakBG5VHkFHkU/gjhPHNmrK45OydF7QJxeld5Yigk0pBSKCOkEbkHULnDdKG7bOgvkKYXMhPPAhQJtlJZoEu1IBDmwpIQF8D71v5cxIQRwlwGd0KAK7l6aAnaIjtDNKUH6tGvOS6uabAtz4iJ29JaW+f78ZFEMnlk5RCa1VXAGFvUMz9jsVnKxBBKBrdskg+t0pyiEyFki7mHEEIp2ScGD5PlB1JuGEghB8fTIXunBH3s6RPy7GwrKLGzDKPHVA== 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=zvYZFrKZ7wo9PpBh3uipQUarHpQDe6izt2EDTpRapYI=; b=BVYFdbdahdHAEX4X7872Im7LPAM4knDJ0xM/JoZZ9QbCbvehjyrmWjZHbjFS/GtU64jCpHvNhfSa3Jdmhp34pYuXR7M96Ay3CceO+B5Lx4YFaIKVESVQdjp4SUj5CGq+/6Qks+/d0A6TBojJivqgQEbdzgdNsZwTFm9md3hXQt1eaYOf62R1ZqbdI2ofCnb5dpCw4ziIHehCS8Oa5M5V522uS5fBysPn0rUMOgCFj3lj0vRZ2TXOzeDKTo+2kxponZKFOxAwfUpQOHoZcXROj96NtHSEiAuD/j3DeUIS6nZd7yj55NwlnzUkwjEI3PjDWc0dRbJdnOuD0P+RoDnOiw== 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=zvYZFrKZ7wo9PpBh3uipQUarHpQDe6izt2EDTpRapYI=; b=sF06XL06CsgrSXkDhBDGKWg5+QVEFarSQJE9SZFkDabSavqG9/KmK1mHSpsr9xertccOmTM00pVb1r16TTNdBu+K++Q8JiBes5fvlB4Q8OM8TDebtzNE/q9qMxa8ydfllNnWQNshuTa1q/a0Wsp1PRI5q5/lrhMNnIuHT3gNaCYpzGwXhcsgw3jwP0NQUzB4vA/Hmk21zuBZIfB+Lm1IfJQjDGl75Fss/J6HlRTVjJeMMCUGjz8AzL96VquvyLiD/q+ADCLCzQcidSyPwVx5uDj4RT2MszzBA/mKR/dshtcyL8ipWN8JNo2Q2vxeff0djb88BytQLge6IJTA/J0S5w== 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 PH0PR12MB8100.namprd12.prod.outlook.com (2603:10b6:510:29b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.29; Tue, 28 Nov 2023 16:24:15 +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 16:24:15 +0000 Date: Tue, 28 Nov 2023 12:24:13 -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: <20231128162413.GP436702@nvidia.com> References: <20231121070619.9836-3-saeed@kernel.org> <2023112702-postal-rumbling-003f@gregkh> <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> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231128065321.53d4d5bb@kernel.org> X-ClientProxiedBy: DM6PR02CA0049.namprd02.prod.outlook.com (2603:10b6:5:177::26) To LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV2PR12MB5869:EE_|PH0PR12MB8100:EE_ X-MS-Office365-Filtering-Correlation-Id: 6575d196-417a-4efd-c669-08dbf02e7675 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?9OIpdomYH11436pditcQgePg+Q/Ky/DQvKcky9nVcy4nkWfMRuAtYQx+ZaSn?= =?us-ascii?Q?ZywKarE73Ef6PG40Lx1XhozVXdkwoeNyTUnlqlgFWOKnWSHepMX8vLul5XoK?= =?us-ascii?Q?vS/xI1q2vBEYm3EiT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L+Sd1OTeT7t?= =?us-ascii?Q?+89frRKPbwqd2pVi6S6THuDMPZHwMOvM66/G8qpx/An00oIGI7uBkIKWtAaK?= =?us-ascii?Q?sRLQV8Xm?= 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)(366004)(376002)(396003)(346002)(136003)(39860400002)(230922051799003)(1800799012)(186009)(64100799003)(451199024)(2906002)(66556008)(6916009)(316002)(54906003)(66476007)(66946007)(6512007)(8936002)(8676002)(4326008)(41300700001)(6486002)(478600001)(6506007)(5660300002)(966005)(2616005)(26005)(1076003)(83380400001)(107886003)(66899024)(38100700002)(86362001)(33656002)(36756003)(27376004)(42413004);DIR:OUT;SFP:1501; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?O1hDI6kiqAEZhy7bIU9iQMwP6K8pvq6NJicsl1XZEZBnQmLqpBdRDg6n8Aky?= =?us-ascii?Q?SArER0Hq+6L1wLTxuziZY4i/i5+QMhP6ZtXWnMAHFxPk1wzFYx4ty4tLM89s?= =?us-ascii?Q?LJiYst8EcE74BglCHmWVPCUHbKzMIkfTb7knv/hswGhbIFwguVmu53Yo0ryn?= =?us-ascii?Q?76GAaO9OWwZx2b3xVVG2hbfQrVKfp55kavsxvSwIfGzCfw5+hyFvYZTlqbfz?= =?us-ascii?Q?yO6z4JJa9CAOBaha/me23U4HXmx26ezvIobHqORh+x+a5Np4Il8cSgNojyAO?= =?us-ascii?Q?b1nVcOQITqQ/taG9xjvP/nbNHClt6iT3GviHg/sZ6iVIA2ImsWqORvG3UB+w?= =?us-ascii?Q?nIGdXYAcdqOaJV2AZhL7IcXLKW3P/hFuGvTn2irpU65NTuNvvg2hF65SksAg?= =?us-ascii?Q?4Qwf+rgw/EJz1aNcP9f6Ibmh8b7fV0uc2zRb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ii?Q?d+CY/0nPDCnmz4E99CiHaIKu69QqhHT/i7DKPblDRXznXQbGFVO94jK4q/uZ?= =?us-ascii?Q?5ZO62E/FM5HRnNHpth5MJ4dVtbW9sSTYVWAyZb3Eo1eL76OwyyzvR1bCPzHl?= =?us-ascii?Q?62ABWv82llAYLX6wYdEAq2xeB+icbDPQs+l1xRKdjLJwtjOIMNC2oNvTksJZ?= =?us-ascii?Q?6bLrsuCpz+9Qt0lRK8KKgId2M331cTG1hG1tz/D2Dq6hV4mLGvvydQnY+0t/?= =?us-ascii?Q?jjCGy7M6xlkdBeX/Or3p4nbrE1LEtFU7qzDudH++?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6575d196-417a-4efd-c669-08dbf02e7675 X-MS-Exchange-CrossTenant-AuthSource: LV2PR12MB5869.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2023 16:24:15.0980 (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: NPUwWI4fqUG6YCrAJyo6AMRtxCVzLoSv1IneKybljp6Mhv62JQw5jTqsLPfNZhlJ X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB8100 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 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]); Tue, 28 Nov 2023 08:24:30 -0800 (PST) On Tue, Nov 28, 2023 at 06:53:21AM -0800, Jakub Kicinski wrote: > > You said no to the devlink parameters as a way to tune an ASIC. > > What? When? 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 discussion starts at time index 22:11. Dave (IIRC? sorry) is talking about unique things and suggesting devlink. Many people in the audiance seem to support this idea 27:00 -> 28:00 you repeated this thread's argument about said NO "occasionally you are allowed to use [devlink parameters] them" At 29 you said just keep it all out of tree. Oh, I chimed in around 30:00 saying it is not the kernel maintainers job to force standardization. This is a user problem. 31:25 you said again "nothing" 31:30 S390 teams would like this and pushed back against "keep it all out of tree" describing the situation as a "deadlock". 33:00 you said need two implementors for device specific parameters, which misses the point of the discussion, IMHO. And this was at the Dublin LPC, so over a year ago. I second Dave's question - if you do not like mlx5ctl, then what is your vision to solve all these user problems? Jason