Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1631466ybi; Thu, 20 Jun 2019 00:52:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKjgDgPK9ATRx1bhd3OdOxhOXRLibJmE5AagcN9tyQSqlMc+3Mx63yXudLBSmlRsuwPK1f X-Received: by 2002:a17:902:7887:: with SMTP id q7mr38226686pll.129.1561017139309; Thu, 20 Jun 2019 00:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561017139; cv=none; d=google.com; s=arc-20160816; b=k6a2X1pVQXYJNM0NY56j1GMdUtJlKXGCTA/+wahhHFM/4opaNiJt2KrgJDPSdm5zPr Sfha4HGGiLqzcKK+2AkoyUB5aUI06Sf09KjAc8DA0gqa/BO0ZBUvgRC22vVRwvnsfJiQ wbW5WZlZJ0tXAu5KFBnQoGbH+juYrqKctf01XUMLIscpBApWN/vMDE9ljUMq6YEt0MZf AJoxhyVTaZdOrGaf1l3qBrZljyvfZpCE/MVMjCf5NOaXzV/j8zuzj1PNrxc8VkczQVpM bvoqvFIoCR/BFqpgoMzcInxmZN4AvEcjiajPJwbx16DdL78Sr/oQXhSDXf0DZWsygb4D qGUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=t5c7eXDMIpUsRegG3/dD+ZrV5Pahm1CSZuKYFbZTzWY=; b=yLVaNVBRpGCNfJrsA2mDGrJf500yl63NL0YUGsi6onkzsh4fqISS+VWgP9uRk+UyAR 7HuH6W/B7pSECCuTJ8DP8t32ONoRp4B67KIBlwBNA0ikB43UVASweEKP3Fl4FEM4Pho0 /wifQyVBsJdKQERLFn3ef7rzNZfFO6nIZR4x8xGvvt7jzwOlb7Z3OQpPwIwr7TxgawFp 0msf9a49B8QZLAmFGYOCvliBL18uYj4/9kqVMmEw2dr4r1y/VHaLIv1GoJA6FGXWhOMB WlkfKmpfjnGV8TPGdaSiQqrd4ri45K72JvDXhRMFS1chvkb6AO/wgxZ6IZ2KWxkxClSk mwew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gibson.dropbear.id.au header.s=201602 header.b=Sha4u42Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s29si5127332pgn.5.2019.06.20.00.52.03; Thu, 20 Jun 2019 00:52:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gibson.dropbear.id.au header.s=201602 header.b=Sha4u42Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726392AbfFTHvz (ORCPT + 99 others); Thu, 20 Jun 2019 03:51:55 -0400 Received: from ozlabs.org ([203.11.71.1]:41009 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725953AbfFTHvy (ORCPT ); Thu, 20 Jun 2019 03:51:54 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 45TvCn4f3jz9sBr; Thu, 20 Jun 2019 17:51:49 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1561017109; bh=KY2I3dC1Px56+CQotFXwYFAvhLT69NhbHKJ1Ta4T1+Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Sha4u42YfDlRkYyVdHB+7UMxiKsSZOusC0WbZTwuwnE6jAKyBBTpF4VPpHzYTPEtf fR8fgbrFr8gql9u7+f6oGqb9NBj9GsSH1lDcxIXx6YDqa+5B8Xx20rm1cPOapz0uy2 5TyrJ6kflvOgpok2aWwB5UoydscA5nQ2tjyRqRoM= Date: Thu, 20 Jun 2019 17:45:17 +1000 From: David Gibson To: Rob Herring Cc: Greg Kroah-Hartman , Masahiro Yamada , linux-spdx@vger.kernel.org, Devicetree Compiler , DTML , Linux Kernel Mailing List , Thomas Gleixner , Frank Rowand Subject: Re: SPDX conversion under scripts/dtc/ of Linux Kernel Message-ID: <20190620074517.GA2066@umbus.BigPond> References: <20190619125948.GA27090@kroah.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 19, 2019 at 09:39:13AM -0600, Rob Herring wrote: > On Wed, Jun 19, 2019 at 6:59 AM Greg Kroah-Hartman > wrote: > > > > On Wed, Jun 19, 2019 at 07:23:19PM +0900, Masahiro Yamada wrote: > > > Hi. > > > > > > In this development cycle of Linux kernel, > > > lots of files were converted to use SPDX > > > instead of the license boilerplate. > > > > > > However. > > > > > > Some files were imported from a different project, > > > and are periodically synchronized with the upstream. > > > Have we discussed what to do about this case? > > > > > > > > > For example, scripts/dtc/ is the case. > > > > > > The files in scripts/dtc/ are synced with the upstream > > > device tree compiler. > > > > > > Rob Herring periodically runs scripts/dtc/update-dtc-source.sh > > > to import outcome from the upstream. > > > > > > > > > The upstream DTC has not adopted SPDX yet. > > > > > > Some files in Linux (e.g. scripts/dtc/dtc.c) > > > have been converted to SPDX. > > > > > > So, they are out of sync now. > > > > > > The license boilerplate will come back > > > when Rob runs scripts/dtc/update-dtc-source.sh > > > next time. >=20 > Already has. It just happened and is in next. The policy is everything > is upstream first and any changes to dtc in the kernel are rejected. >=20 > > > > > > What shall we do? > > > > > > [1] Convert upstream DTC to SPDX > > > > > > This will be a happy solution if it is acceptable in DTC. > > > Since we cannot push the decision of the kernel to a different > > > project, this is totally up to David Gibson. > > > > That's fine with me :) >=20 > I'll do the work if David is okay with it. I have no objection. > > > [2] Change scripts/dtc/update-dtc-source.sh to > > > take care of the license block somehow > > > > That would also be good. > > > > > [3] Go back to license boilerplate, and keep the files > > > synced with the upstream > > > (and scripts/dtc/ should be excluded from the > > > SPDX conversion tool.) > > > > nothing is being excluded from the SPDX conversions, sorry. The goal is > > to do this for every file in the kernel tree. Otherwise it's pointless. > > > > > Or, what else? > > > > Rob remembers to keep those first lines of the files intact when doing > > the next sync? >=20 > Patches to the import script are welcome. The only thing I have to > remember running the script is to add any new files. Otherwise, it's > scripted so I don't have to remember anything. >=20 > Rob >=20 --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdfRlhq5hpmzETofcbDjKyiDZs5IFAl0LOYoACgkQbDjKyiDZ s5JO2Q//Qnvu8CIqR9v1DPhq1I1K6wFUT3RxjlX+pE03rujjRcwTv7K7d19AWqdL 3lwaWAc8faWWg8/ceC8hBN/yXzNwtN1nnPyeeULgVUPWoPPPg4LzWjDFfuy+6M51 CdS8lSkiCYNR52jEkirsDW6pd6NIwbaAsSgtYxd7EB39HGWwPk6xq726aPKqD6Vo ae70uJsDOH3tSbeXwFIx8//wvI1VtylMxROJU6MoKcs7c538jddrJSRQHjI1V0PY 2Git/vQSI92xIkVc4ZrDCPhZ3TGUUuK+caYaxssLdK2lxd/lrQjL3fUCIoSykzOr u5vaBrxoYoP4GbZX9VxCZrwocXgAYn7Qf2ihw3Xs2/StrhdNsLVkrsuzP4A9pDbZ 73Fr7FIw6UFarugBtKahlDV0yI3mQG42Awk6Is5SxLwFheyhrGMzkk8P33pV4ffb RYZ++8GwzVFl3ko0vf7tZIhNnLZLY4/MT+efPfmu+0+YF67oZ/TsdtHu1rHz+cJz tDj4hEzPXBRaj3jB3pEw3Xvs9EZvd6a3WeBEBoV8WtJWioS9cqHTvYtq5YQfOqzc qg82KlJpZg74ukamcHEmwfooC9AjfKFek/7ecqlBI5fBviEMM6fI7MfyTHAErVya ctngxdwSqxU/9DSCo5oRoSS7vgJkaaLo5rgNkd8M2DbmU9EM1ok= =vqV0 -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--