Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3063287rdh; Mon, 27 Nov 2023 05:55:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkwH2LEj/txC4uIBgmai+xHLlUyFxINHqG/RNk1yuKfQQ59JlOtOFahtbEaf81sfKCU8/W X-Received: by 2002:a17:90a:1910:b0:285:7f4b:2a91 with SMTP id 16-20020a17090a191000b002857f4b2a91mr9478708pjg.6.1701093307455; Mon, 27 Nov 2023 05:55:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701093307; cv=none; d=google.com; s=arc-20160816; b=FSkuE+3cGU4GBN3bkXgQwD3u7/+Q3/Ef2x6CPmBMuGBk+QvnLMEhu6YiaVmQzXg8yN o52BW7QFDjiH+SpMs54MsNiIxi+D586caxUHVqu7s0PYSKzbWymefl4kz2KvtwMDV/gP qh/X5a1B/PMh/gLuJ26J+WLBwVEu4lv26IiEqZ5tn6YjLeMQDNKd/S6rSqr6XvU3a9TH WbwHquq0w67VZWi9zP6auBIffhDNKzYNxBuu8Spm2e1KsUG4ri9u2LXk+OXn/SLwHJ+F qz8VhD6f8nnJKqn7N8KFO01yvs3/ZeN2ajgL+clE5AZ88MKVvC18cH0dK4a+8F8VfEs4 VvaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ksqHgEQhjt/QPvhgvIcA/2GntKNqIB28Zyk2t5PZ6n0=; fh=t1/wBvH0J1wYXNrhWqzQpvWtRxLuRJys96wSoU/cY8E=; b=DKrcltgzEmO0y6MgUyuBboGKNsX6Qc5KlO8n+zF/XPXVS0y2jHaJHrUkyJye+MKqsW l0ijfhI9L+hNc+Lv5o3YByFcwQdA2Cf3DZK0uaZwuvQ5e060S3IHWDTcRECaaeXep9cu ccBUNtieDVrEW+QFEZHpnXavjsYyqoAa6PuxRAvkZoDK14nRywFb8RehbOBfW544+wbJ ypNQcFchbi01w9GWIYK44b5/hCNOZjPb/lFEZzDEaNeAxNe8dVyqZ1rXF9kqME1GVYA9 FUivnIXrdh4iS9TOZ3eEtfLjI7zsqH7P3f8gO5xiDStBnLWxoIehufNitqS47dEwL7nL PsbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UCRachjw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id nd16-20020a17090b4cd000b00285be1801d8si3175020pjb.101.2023.11.27.05.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 05:55:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UCRachjw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 0A91A809ADCE; Mon, 27 Nov 2023 05:55:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233610AbjK0Nyp (ORCPT + 99 others); Mon, 27 Nov 2023 08:54:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233543AbjK0NyU (ORCPT ); Mon, 27 Nov 2023 08:54:20 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B36201735 for ; Mon, 27 Nov 2023 05:54:21 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C2B7C433C8; Mon, 27 Nov 2023 13:54:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1701093260; bh=oDW0HUte73CGTj6ucIxHY1GvItq32GGhO5CvsULBL18=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UCRachjwHH8u5UQpXm/o6+3Wf1F8cFZ5Ek+ILYDbWoirmVvKfzyIlAVFKX8g2YgwA HodXj5nCajqiwUj+yaKtKN5+giy6XGR8Cyk3Vj89Z3VjCZ+k50H4stdbCKI3wP2AJy k02yXrLSXRKnzd7km1wYwyv1uUhDKrJkUPg+GVoc= Date: Mon, 27 Nov 2023 13:36:54 +0000 From: Greg Kroah-Hartman To: Saeed Mahameed Cc: Arnd Bergmann , Jason Gunthorpe , Leon Romanovsky , Jiri Pirko , Leonid Bloch , Itay Avraham , Jakub Kicinski , linux-kernel@vger.kernel.org, Saeed Mahameed Subject: Re: [PATCH V3 2/5] misc: mlx5ctl: Add mlx5ctl misc driver Message-ID: <2023112702-postal-rumbling-003f@gregkh> References: <20231121070619.9836-1-saeed@kernel.org> <20231121070619.9836-3-saeed@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231121070619.9836-3-saeed@kernel.org> 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 27 Nov 2023 05:55:03 -0800 (PST) On Mon, Nov 20, 2023 at 11:06:16PM -0800, Saeed Mahameed wrote: > +config MLX5CTL > + tristate "mlx5 ConnectX control misc driver" > + depends on MLX5_CORE > + help > + MLX5CTL provides interface for the user process to access the debug and > + configuration registers of the ConnectX hardware family > + (NICs, PCI switches and SmartNIC SoCs). > + This will allow configuration and debug tools to work out of the box on > + mainstream kernel. Did you run checkpatch.pl on this? You lost the tabs :( > --- /dev/null > +++ b/drivers/misc/mlx5ctl/main.c > @@ -0,0 +1,314 @@ > +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 Why is this dual licensed? Again, you are using a GPL-only api for this driver, how would that even be possible to make this code be BSD? I thought we already discussed this, AND I talked to someone who discussed this with a nvidia lawyer already and I thought this was going to get changed. What happened to that? thanks, greg k-h