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=-7.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_ADSP_ALL, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable 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 6617EC47254 for ; Tue, 5 May 2020 10:45:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2FAA9206A5 for ; Tue, 5 May 2020 10:45:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="plLAM3tP"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="c6tFCqpp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FAA9206A5 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cu90nV6AIWhmvC5g1XgMCTcCY4hXQxMmQaZg/06pJAI=; b=plLAM3tPGAxVfkzygdrg8KqBG as+NOKGCAf0Gwjtb2RAY5iMFRh9oqxgacNXKgoVmzkjyzbutPUVqYMScBhfk6/KQ7FEnzwM/+jwgd tCJQmGxsbpLWPKkk5gfCBueoFzDJv+D3TZUxes6BXlzspQZLZ80wYf2sfjzIYG2qawJ+BrCPdfrJ3 PxX0apzzITerhMA7KLb3W2IEYR0gHFCMgKkrixqKcC2vzSI+wDvJN+XPDRrOPUi88Rs9WO9w2obVn ApGFGNN89ttZqOBQMA/CiRSyIKoqBHQ016COfuDQcLQwx/zZ1B2B0qlhzuelXqgb5THp76PbwL7KS HfqtFwTTw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jVv4t-0002Du-Sb; Tue, 05 May 2020 10:45:31 +0000 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jVv4Z-0007yW-Pq for linux-arm-kernel@lists.infradead.org; Tue, 05 May 2020 10:45:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1588675512; x=1620211512; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=XBSflEuWAde/CeVgwd1MVyCQIVmkLdJKa2kWwWmS9Qc=; b=c6tFCqppgnbtvi02SO6HRk9lCz0n8TAWqN/ENC8VMiJG1WoGBWnwag+U ZbrYwe5QkJ5DaRSAdGA1/5aH0xG0hT6GF6tW+t7CUEskUVY2b0t6m0DS3 XqljHB3hUPynOqDimNa8ZHAbUpd9WMKZL4LPhln0sO5PuFeDFPncV3mx/ Y=; IronPort-SDR: /zcmW88pk2aPTxCJdquuhy1OAS8pv2KZcoSP/u09BnfoQaUg8JxdjY2lqJSRaREoBcNIJ3WsQF +6613ajzi/Cw== X-IronPort-AV: E=Sophos;i="5.73,354,1583193600"; d="scan'208";a="42749270" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1d-f273de60.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP; 05 May 2020 10:45:04 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1d-f273de60.us-east-1.amazon.com (Postfix) with ESMTPS id C2F85A26F7; Tue, 5 May 2020 10:44:58 +0000 (UTC) Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 5 May 2020 10:44:58 +0000 Received: from [192.168.13.172] (10.43.162.38) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 5 May 2020 10:44:48 +0000 Subject: [PATCH v6 1/2] dt-bindings: edac: al-mc-edac: Amazon's Annapurna Labs Memory Controller EDAC To: Borislav Petkov , References: <20200224134132.23924-1-talel@amazon.com> <20200224134132.23924-2-talel@amazon.com> <20200428110659.GA11272@zn.tnic> From: "Shenhar, Talel" Message-ID: <5e2c5119-52e9-2c3c-e205-e661ba218fcb@amazon.com> Date: Tue, 5 May 2020 13:44:43 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200428110659.GA11272@zn.tnic> Content-Language: en-GB X-Originating-IP: [10.43.162.38] X-ClientProxiedBy: EX13D37UWC004.ant.amazon.com (10.43.162.212) To EX13D01EUB001.ant.amazon.com (10.43.166.194) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200505_034511_914138_762527D5 X-CRM114-Status: GOOD ( 12.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, benh@kernel.crashing.org, hhhawa@amazon.com, gregkh@linuxfoundation.org, eitan@amazon.com, jonnyc@amazon.com, hanochu@amazon.com, linux-kernel@vger.kernel.org, james.morse@arm.com, dwmw@amazon.co.uk, catalin.marinas@arm.com, ronenk@amazon.com, mchehab@kernel.org, will@kernel.org, davem@davemloft.net, linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rob and other DT folks, Can you please help with below query? On 4/28/2020 2:06 PM, Borislav Petkov wrote: > On Mon, Feb 24, 2020 at 03:41:31PM +0200, Talel Shenhar wrote: >> Document Amazon's Annapurna Labs Memory Controller EDAC SoC binding. >> >> Signed-off-by: Talel Shenhar >> Reviewed-by: Rob Herring >> --- >> .../bindings/edac/amazon,al-mc-edac.yaml | 52 +++++++++++++++++++ >> 1 file changed, 52 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml >> >> diff --git a/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml b/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml >> new file mode 100644 >> index 000000000000..20505f37c9f8 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml >> @@ -0,0 +1,52 @@ >> +# SPDX-License-Identifier: GPL-2.0-only > WARNING: DT binding documents should be licensed (GPL-2.0-only OR BSD-2-Clause) > #36: FILE: Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml:1: > +# SPDX-License-Identifier: GPL-2.0-only > > Hi Rob, should I listen to checkpatch or ignore it? Rob and other dt folks, In continue to disscussion with Boris below, Looking at the checkpatch check: if ($realfile =~ m@^Documentation/devicetree/bindings/@ && not $spdx_license =~/GPL-2\.0.*BSD-2-Clause/) { It wants the whole string "GPL-2.0-only OR BSD-2-Clause" and my oatch has only "GPL-2.0-only". Now, looking at a bunch of .yaml DT files, there are all kinds of formatting: $ git grep -h SPDX *.yaml | sort | uniq -c 3 1:# SPDX-License-Identifier: (GPL-2.0) 313 1:# SPDX-License-Identifier: GPL-2.0 9 1:# SPDX-License-Identifier: GPL-2.0+ 1 1:# SPDX-License-Identifier: (GPL-2.0-only) 43 1:# SPDX-License-Identifier: GPL-2.0-only 4 1:# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) 1 1:# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 148 1:# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25 1:# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 104 1:# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 1:# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 2 1:# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 1 1:# SPDX-License-Identifier: (GPL-2.0-or-later) 5 1:# SPDX-License-Identifier: GPL-2.0-or-later 3 1:# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 2 1:# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause 3 1:# SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 1:# SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 1:# SPDX-License-Identifier: (GPL-2.0+ OR X11) And the patch which did rule is: commit 50c92900214dd9a55bcecc3c53e90d072aff6560 Author: Lubomir Rintel Date: Mon Apr 6 20:11:13 2020 -0700 checkpatch: check proper licensing of Devicetree bindings According to Devicetree maintainers (see Link: below), the Devicetree binding documents are preferrably licensed (GPL-2.0-only OR BSD-2-Clause). Let's check that. The actual check is a bit more relaxed, to allow more liberal but compatible licensing (e.g. GPL-2.0-or-later OR BSD-2-Clause). Will love your help. This patch already have your (Rob) Reviewed-by so Boris and myself are unsure what is the right thing to do now. Thanks, Talel. > > -- > Regards/Gruss, > Boris. > > https://people.kernel.org/tglx/notes-about-netiquette _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel