Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3952441pxk; Tue, 29 Sep 2020 10:10:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0M8zBtzHn3Lo4LQ9AecuUligfnIJMameGmoDG4ehzFnbUWVu5HnDf5gu4r2sFx7mDf+xh X-Received: by 2002:a17:906:e0c7:: with SMTP id gl7mr4831811ejb.109.1601399450874; Tue, 29 Sep 2020 10:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601399450; cv=none; d=google.com; s=arc-20160816; b=ZiqLOD96tW+tFYd4JSgLfgBoB3nKHI65d5Wplnqujc/lGvgO3Axd4rA5nR6/zP/JPL g7jQJnu8OLUrGPLdCW0MjFAo5gOSvVnS6VuimHnu8Q8esKfCiC4LfmL/BfQPVFUaazVy k7j9C+QSuu4Kk8NJA1ba7L8yadWMFhYADqr8hIDHU7MjDe4pDUztWXvpkikuVuSNJJHV xlP/dEvGevVCfKIJ9rk257ZzyBP29MHoc6Q8JPaFCwO3sHhKijQ7JFoRv8bBuyCQalTB UXtVDVBOoSCQD8BMKslBoq9ROlKy48xVPzu3k0FvTQTyQTqgRPZkY5X1A8Io3HJE3qd8 NUQQ== 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=3NTBCyO5t5Kl41rBIWwQWGds5kM8BXzsEZSVofeFWlc=; b=ns5G03D09/fRktkTWYzdmY4jOBCDJsNmaTr1NFl42ovXatFI02uscSv6WkqTY3lQ+b y3d+tKtqO0fS8fUuHvJBxnTMCxmMmWDId7ZIqp2CiKmFPZehcGY04TRtrjVG+88Y/YhO 4lQGQxpHO+AV9LB5DWz1wzGN3KVo7DPsyaKgFmtB9xHI6AgEhlMAoOMkqj7g7w38KrSB 2zvdUlBaYRxcGTw6/fIYukL3e1kl8qpXTPnN8Q5B78BZT+TfW/JXJYBi4xQ0NepTewdr Ji+8Dw7XihLJAzBj1TRqSMI4jOROxTodTPJ8cRTpUTzZfKH1Y0A1/LuDITYGZyhZuAsl v31A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="HqVhd/Nq"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w7si2997107ejk.390.2020.09.29.10.10.27; Tue, 29 Sep 2020 10:10:50 -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="HqVhd/Nq"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728385AbgI2RIx (ORCPT + 99 others); Tue, 29 Sep 2020 13:08:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:46802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725554AbgI2RIx (ORCPT ); Tue, 29 Sep 2020 13:08:53 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 8F4E6208FE; Tue, 29 Sep 2020 17:08:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601399331; bh=fgF1bJOpcMdDn+jqrGIl64V3t7d9ejP1eI6JcGj14oM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HqVhd/NqT6J6AMhGqXTNwQE6GXaGK+E9I2l7khVps9tQx95AX69Uq9MrN5rCDxFFs KKys+2mZCtdiJU1Y2thDDjVnQVrSiErcvXQmVZMkZiFPxuaDOGKa+SCX5G314J8CMJ zGAkHbAcwIz8m9aO5E1cXeVIobcgmnuJiNntFgu4= Date: Tue, 29 Sep 2020 19:08:56 +0200 From: Greg Kroah-Hartman To: Scott Branden Cc: Arnd Bergmann , Kees Cook , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: Re: [PATCH v4 01/16] bcm-vk: add bcm_vk UAPI Message-ID: <20200929170856.GA1351851@kroah.com> References: <20200929001209.16393-1-scott.branden@broadcom.com> <20200929001209.16393-2-scott.branden@broadcom.com> <20200929102554.GB951772@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 29, 2020 at 09:44:51AM -0700, Scott Branden wrote: > > > On 2020-09-29 3:25 a.m., Greg Kroah-Hartman wrote: > > On Mon, Sep 28, 2020 at 05:11:54PM -0700, Scott Branden wrote: > >> Add user space api for bcm-vk driver. > >> > >> Provide ioctl api to load images and issue reset command to card. > >> FW status registers in PCI BAR space also defined as part > >> of API so that user space is able to interpret these memory locations > >> as needed via direct PCIe access. > >> > >> Signed-off-by: Scott Branden > >> --- > >> include/uapi/linux/misc/bcm_vk.h | 84 ++++++++++++++++++++++++++++++++ > >> 1 file changed, 84 insertions(+) > >> create mode 100644 include/uapi/linux/misc/bcm_vk.h > >> > >> diff --git a/include/uapi/linux/misc/bcm_vk.h b/include/uapi/linux/misc/bcm_vk.h > >> new file mode 100644 > >> index 000000000000..5f1fc403bc67 > >> --- /dev/null > >> +++ b/include/uapi/linux/misc/bcm_vk.h > >> @@ -0,0 +1,84 @@ > >> +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */ > > Why do you need BSD-2 if you already have the syscall-note license? > We include the header file outside of linux user space and use the defines in BSD and other code. > Hence releasing the header as BSD-2 as well. Are you _sure_ you need that extra license? I ask as this is not the "norm" for Linux api .h files. Also note, given that you are the copyright holder, you can provide a version in any other license in any other project, no need to put it here. I recommend going and talking to your license lawyers about this. thanks, greg k-h