From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B44B8C433E7 for ; Fri, 9 Oct 2020 07:10:53 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 03FCE22260 for ; Fri, 9 Oct 2020 07:10:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 03FCE22260 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 2B8656B0068; Fri, 9 Oct 2020 03:10:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 269D16B006C; Fri, 9 Oct 2020 03:10:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 133DF6B006E; Fri, 9 Oct 2020 03:10:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0158.hostedemail.com [216.40.44.158]) by kanga.kvack.org (Postfix) with ESMTP id DA44F6B0068 for ; Fri, 9 Oct 2020 03:10:51 -0400 (EDT) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 8643B181AC1F5 for ; Fri, 9 Oct 2020 07:10:51 +0000 (UTC) X-FDA: 77351514702.02.toes93_3e100d4271de Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin02.hostedemail.com (Postfix) with ESMTP id 62B15100C49CF for ; Fri, 9 Oct 2020 07:10:51 +0000 (UTC) X-HE-Tag: toes93_3e100d4271de X-Filterd-Recvd-Size: 3412 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by imf32.hostedemail.com (Postfix) with ESMTP for ; Fri, 9 Oct 2020 07:10:50 +0000 (UTC) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id E0D061C0B88; Fri, 9 Oct 2020 09:10:45 +0200 (CEST) Date: Fri, 9 Oct 2020 09:10:45 +0200 From: Pavel Machek To: Greg KH Cc: Jarkko Sakkinen , x86@kernel.org, linux-sgx@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Matthew Wilcox , Jethro Beekman , Haitao Huang , Chunyang Hui , Jordan Hand , Nathaniel McCallum , Seth Moore , Darren Kenny , Sean Christopherson , Suresh Siddha , andriy.shevchenko@linux.intel.com, asapek@google.com, bp@alien8.de, cedric.xing@intel.com, chenalexchen@google.com, conradparker@google.com, cyhanish@google.com, dave.hansen@intel.com, haitao.huang@intel.com, kai.huang@intel.com, kai.svahn@intel.com, kmoy@google.com, ludloff@google.com, luto@kernel.org, nhorman@redhat.com, puiterwijk@redhat.com, rientjes@google.com, tglx@linutronix.de, yaozhangx@google.com, mikko.ylinen@intel.com Subject: Re: [PATCH v39 11/24] x86/sgx: Add SGX enclave driver Message-ID: <20201009071045.GA10335@amd> References: <20201003045059.665934-1-jarkko.sakkinen@linux.intel.com> <20201003045059.665934-12-jarkko.sakkinen@linux.intel.com> <20201003143925.GB800720@kroah.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <20201003143925.GB800720@kroah.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > new file mode 100644 > > index 000000000000..f54da5f19c2b > > --- /dev/null > > +++ b/arch/x86/kernel/cpu/sgx/driver.c > > @@ -0,0 +1,173 @@ > > +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) >=20 > You use gpl-only header files in this file, so how in the world can it > be bsd-3 licensed? >=20 > Please get your legal department to agree with this, after you explain > to them how you are mixing gpl2-only code in with this file. This specifies license of driver.c, not of the headers included. Are you saying that it is impossible to have a kernel driver with anything else than GPL-2? That would be news to many, and that's not what current consensus is. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl+ADPQACgkQMOfwapXb+vKVEwCfY+JReb343qegPAGFFXefdckX DF4An0yKi+RyYbyEpzz/Me/hS45KZ+gP =5FhP -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--