Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1934534pxu; Fri, 9 Oct 2020 03:48:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIIjVHK3ZBcfm6sjUBIjsTtER8Hp7Lp3qydkV55gPxev8D7u6wzPTrOWVwqk3pMr7QIHtV X-Received: by 2002:a05:6402:1a56:: with SMTP id bf22mr5153822edb.216.1602240482626; Fri, 09 Oct 2020 03:48:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602240482; cv=none; d=google.com; s=arc-20160816; b=kbiN0u0J6TWiXKoUnct3Mutl52e0iqPeLhs1yzc/sSyW5LKgyHl2Wx0XB9LeWaRjml zdcTdAnImmdlR+h4PvefhzLHSO1bnckKE4PQIXaT9ARcqpKKudR7QlLWOLXUY8sgp9EA iwc9VqHEXr0bVdcYw5h2BCI+oM0tHx6o5b0aoI6T3S3BriGiHoeccVmRF7MpN68e4sPj n5cW1QHP6dvRdvbQbduQwjpXAxTVV9ju4nqX/HPcE03acGnLT0XCD4OGDb71e15HAwYY wWxkoqn7dehbOqXqeogB4zrrpwspls/6pJqy2rrtjvNYS8LjwdWq6yNT/qbj+3dvrImt FH+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=z2ToZ2Xz7qLL1xOqGAmhmykTaIhX/ph2fCHVIqQ/VwE=; b=TR3T47s7H+wugoEA1KWzHoZqhH06qleWA7Xpl9W3kqUFgKwykO8+TKcCTtU9CW9qWO Jy4q0ojjpMy/KAeLEpYXp0p1Fvh1lV7Vpblm+S+cqI49BG8ozj+q0zmG8t+yKuM7P6pX r91FS4m1Rn3QYZE0E91e2O1sItBwIpgBEbgs0V7vm/W1nA2yNDkgZ/6urT9zv4IaKpYN 4G/wOuG1m5BYOVjsuexZyjh1inB2I/tQvEMImLm/OrlOvceEEP56tL9dajq03J/iBfjA 1fLIu+6ywD8VWrmX4tiOnf5iIFwIZwWbo41YPo3iV5AFIkxXx1G/Fc44jYJqhnnFWZAE y29g== ARC-Authentication-Results: i=1; mx.google.com; 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 f6si5803784edy.198.2020.10.09.03.47.38; Fri, 09 Oct 2020 03:48:02 -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; 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 S1731809AbgJIHKu (ORCPT + 99 others); Fri, 9 Oct 2020 03:10:50 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:48494 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725908AbgJIHKt (ORCPT ); Fri, 9 Oct 2020 03:10:49 -0400 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --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/--