Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp837395ybi; Wed, 19 Jun 2019 08:39:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCaCWK2Kemazg0BzAMp8+mmkjjnI6n9ZxChSsTgNhG50gUCTcY/tY+tLJinRPLaltsMOxu X-Received: by 2002:a63:fd50:: with SMTP id m16mr8259531pgj.192.1560958794626; Wed, 19 Jun 2019 08:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560958794; cv=none; d=google.com; s=arc-20160816; b=YYwkz/he85LAuO6eMnzNRBBQkaUIQXALFJjBYmwiUPjDRW9rkcvGcGB+93Vl37VPNt 2YKrD2nbeIm974MG1vCNYVqA3j+QlDZTP+iJejdCHpTXi4d4sqd4XRUfNyYe5qN/h3at sRUBsap8rbWR1BTq1oGeDugUQ13bRdZ+HCDTsT1DkaNxgNUKtk/PcC3C+/jGIYh3wKnt Q0QvqvMm8aH9KzIMjiqbvSskO+bXPdZpJoYOGyo+wCgdwA1VE9KCjnDYE+FM6n0fSRhf vgQ8W9Op1b80MKggnw2WpcrP2DycSAZbJA4g4aEn6rEoyofNRMfttCzWsgSivfdyFwVN BUaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=RUgStMk+jwlJvxt6ZtR1/4qJBkc3C7wCiQUib4Twfnk=; b=BJiNr8Zmw/zgSIOYzFrzurgiSPWj8seo1YynM+RV3SoSFd1c5eW7pIzjwZWEGYyf6K DJEgJso+t2xhaXr/J1IT+/+7jCm53zSgkQ/nZ+A+FjJupiZMRAjH3J7yHBuPZbogQekX fan1Fl8K8H7hyACamMT3cwipxU4F0g97vIYuUMRLrn5khSGOBpmPt9N90wKLCwhCFnzb ecCCFxDI4gScGO5LndBvXfYlodAgSwf2LLI15t41yUCGz9RmqmwVT+7H4s4Fzpg/MU9k cYezth8qh6jT+ydN+gTCNDEAT4HvtpbhMgaZExMuC3z8KpEdAeM3kbqUAiKbtsBlEYjW tlnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ec2qSgJP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c22si15127844pls.388.2019.06.19.08.39.38; Wed, 19 Jun 2019 08:39:54 -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=@kernel.org header.s=default header.b=ec2qSgJP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729371AbfFSPj2 (ORCPT + 99 others); Wed, 19 Jun 2019 11:39:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:33638 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725899AbfFSPj2 (ORCPT ); Wed, 19 Jun 2019 11:39:28 -0400 Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C9C7F2189D; Wed, 19 Jun 2019 15:39:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560958766; bh=WaYHEYR24dBvpFriPb85xlubTWnDsx57kJGx1C0IQfU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ec2qSgJPEitHCtwxZQj8xBNYbdAsg9rd5kyiYDY/25svddOyHLDUc2iWFnO+wW05Y cfMMzD9r0VBTisATyKEYC8cFXi36WbEfBoC8cD6m7OU/Ix6ofv6cn4VSTfLVohnStM pGxX7BYCAAHBgVSNQl6qJvQ610ZT/W4xr0/LEOwo= Received: by mail-qt1-f182.google.com with SMTP id x2so20465822qtr.0; Wed, 19 Jun 2019 08:39:26 -0700 (PDT) X-Gm-Message-State: APjAAAUcyHrh8zWNCy00Xg5z3254PJi94ldtp8RhPl7ArTeyN0l9CJYm RMc68YPpmBSHdUJeqOlpLrIW0axRZSrF3FrYsw== X-Received: by 2002:ac8:3908:: with SMTP id s8mr105351232qtb.224.1560958766037; Wed, 19 Jun 2019 08:39:26 -0700 (PDT) MIME-Version: 1.0 References: <20190619125948.GA27090@kroah.com> In-Reply-To: <20190619125948.GA27090@kroah.com> From: Rob Herring Date: Wed, 19 Jun 2019 09:39:13 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: SPDX conversion under scripts/dtc/ of Linux Kernel To: Greg Kroah-Hartman Cc: Masahiro Yamada , David Gibson , linux-spdx@vger.kernel.org, Devicetree Compiler , DTML , Linux Kernel Mailing List , Thomas Gleixner , Frank Rowand Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. > > > > 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 :) I'll do the work if David is okay with it. > > [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? 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. Rob