Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp175587ybh; Fri, 17 Jul 2020 23:49:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwW5odXhXzUsmhqp19ZPHrySnUvnQFT4/+FNJRRM0q337RxfKMdCYaMZNhv59+/QjEnmglk X-Received: by 2002:a17:906:b0d5:: with SMTP id bk21mr11468835ejb.93.1595054962048; Fri, 17 Jul 2020 23:49:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595054962; cv=none; d=google.com; s=arc-20160816; b=H7xl40tW0QHUYkCWLOW/tIh0SuUfQ4sX4IBizn6gbx998tFA76+5UJZCUE8ln1hqOz 7v/QPD7h6i5mm/no/N+eI2RLJvvyZQYvmRRNEKe0F/hb75R/Kh+epNCRPv3OgmykKtUI D4Un05lmhzmXl3fhVXLQEdq8PPrY2swDZfunxSszKEQnX7HfpFee4FL6gT9WmuHcFaoK YCimvJ3A+oXMDhbfCORE9ehEA0Dsz2WAodWJHrDEpq96DFUrs3soqc7CSjxg7GdLCpVj VjKL8kTp1JjiVAF28r+s86IPIUJmDJv1ppaB+8zwUp2BYtPhRCZHD7oaJ14q/YA9I5t5 S/+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=O0i9K3lU+Ff+Z6Mo7bZuu9Zfg6Farx3qcy55SNDw4Dc=; b=v1+ZNeVhPdo/EZeGwSe+P/BlRgLsNiu2bZacSAoEJf1L47GDVbaaFm4hVtZEuPvNbA NrRp7wnoQj3n6PTHC5OVBFWmvq7xnHMbfYNBo2SgrqWb0couo1K62UXNh5QUZrpa+1iB bSX2xnDq09i20IIC9/qmNv9r3ym8kKGvgsWDRXulx3woot4yhpRRRKj1MPrzffRplaIz U3bIExhsG3PDCGGHbf6WercZ7Zf5eRlm9MfBK7hdwtxyqD+5yTnappLyopnLbr7MPXPy +rmTu7KS5rkGJSfq4w21m/ND0F6HX1e1e8UegxMABYdEFsYh2gbebvDsgpwOX1d71uXY KD4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mf59OVyr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n16si6268227edt.25.2020.07.17.23.48.58; Fri, 17 Jul 2020 23:49:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mf59OVyr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727042AbgGRGq1 (ORCPT + 99 others); Sat, 18 Jul 2020 02:46:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:60130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725983AbgGRGq0 (ORCPT ); Sat, 18 Jul 2020 02:46:26 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7B20D2074B; Sat, 18 Jul 2020 06:46:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595054786; bh=cQVAtXCp05Y5pu1NLBnjCDHoEK5RO8u7KrRXc0+x69c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mf59OVyrh5LrVxT/XtprL0bF7QFKAHLsXz9/fCDE8J4du6gB/aXFEklFa6DZF5ecV 8rFLE06B20SmX68R5WXeY9fNJ5cHq396D5HoGnNLHVCG6spSqz3CzbTzc8SxjdmzyU VHxNXHH6P0pl31Uy2TgfQwjEBeL95hpB4yiudHEc= Date: Sat, 18 Jul 2020 08:46:23 +0200 From: Greg KH To: "Eads, Gage" Cc: "linux-kernel@vger.kernel.org" , "arnd@arndb.de" , "Karlsson, Magnus" , "Topel, Bjorn" Subject: Re: [PATCH 01/20] dlb2: add skeleton for DLB 2.0 driver Message-ID: <20200718064623.GA245355@kroah.com> References: <20200712134331.8169-1-gage.eads@intel.com> <20200712134331.8169-2-gage.eads@intel.com> <20200712155631.GB186665@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 17, 2020 at 06:19:14PM +0000, Eads, Gage wrote: > > > > -----Original Message----- > > From: Greg KH > > Sent: Sunday, July 12, 2020 10:57 AM > > To: Eads, Gage > > Cc: linux-kernel@vger.kernel.org; arnd@arndb.de; Karlsson, Magnus > > ; Topel, Bjorn > > Subject: Re: [PATCH 01/20] dlb2: add skeleton for DLB 2.0 driver > > > > On Sun, Jul 12, 2020 at 08:43:12AM -0500, Gage Eads wrote: > > > +config INTEL_DLB2 > > > + tristate "Intel(R) Dynamic Load Balancer 2.0 Driver" > > > + depends on 64BIT && PCI && X86 > > > > Why just that platform? What about CONFIG_TEST for everything else? > > This device will only appear on an x86 platform. CONFIG_COMPILE_TEST won't work, since the driver uses the x86-only function iosubmit_cmds512(). Please wrap your lines correctly... Anyway, there is no config option for that function that you can trigger off of? > > > + help > > > + This driver supports the Intel(R) Dynamic Load Balancer 2.0 (DLB 2.0) > > > + device. > > > > Are you sure you need the (R) in Kconfig texts everywhere? > > The second is probably overkill. Just the first one is required. Really? I would just drop it. Unless you get a signed-off-by from a lawyer saying it is required :) > > And a bit more info here would be nice, as no one knows if they have this or > > not, right? > > Intel hasn't yet announced more information that I can include here. For now, "lspci -d 8086:2710" will tell the user if this device is present. That's fine, but we can't take a 1 sentance help text, that means nothing. > > > --- /dev/null > > > +++ b/drivers/misc/dlb2/dlb2_hw_types.h > > > @@ -0,0 +1,29 @@ > > > +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) > > > > Why dual licensed? I thought that Intel told me they were not going to do > > that anymore for any kernel code going forward as it was just such a pain and > > never actually helped anything. Has that changed? > > > > The driver is mostly GPLv2-only, but a subset constitutes a "hardware access library" that is almost completely OS-independent. "almost" because it has calls to non-GPL symbols like kmalloc() and kfree(). This dual-licensed portion can be ported to other environments that need the more permissive BSD license. Then put that "OS independant" part as a separate file, with a separate license. You all know how to do this properly, don't mix this stuff up. But even then, I would drop such a library as that's not going to make a good Linux driver, we do not like, or need, such things in the kernel. > For the broader policy question, Intel's open source team will get back to you on this. Wonderful, when will that happen? thanks, greg k-h