From: Janosch Frank <frankja@linux.ibm.com>
To: David Hildenbrand <david@redhat.com>, kvm@vger.kernel.org
Cc: thuth@redhat.com, cohuck@redhat.com, linux-s390@vger.kernel.org
Subject: Re: [kvm-unit-tests PATCH 2/2] s390x: lib: Move to GPL 2 and SPDX license identifiers
Date: Thu, 10 Dec 2020 17:20:41 +0100 [thread overview]
Message-ID: <72e727b2-1373-64f5-d1cc-c21c36a0eb64@linux.ibm.com> (raw)
In-Reply-To: <bbc41642-028e-aae7-225d-a52eda54add1@redhat.com>
On 12/10/20 5:15 PM, David Hildenbrand wrote:
> On 09.12.20 10:46, Janosch Frank wrote:
>> On 12/9/20 10:15 AM, David Hildenbrand wrote:
>>> On 08.12.20 16:09, Janosch Frank wrote:
>>>> In the past we had some issues when developers wanted to use code
>>>> snippets or constants from the kernel in a test or in the library. To
>>>> remedy that the s390x maintainers decided to move all files to GPL 2
>>>> (if possible).
>>>>
>>>> At the same time let's move to SPDX identifiers as they are much nicer
>>>> to read.
>>>>
>>>> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
>>>> ---
>>>> lib/s390x/asm-offsets.c | 4 +---
>>>> lib/s390x/asm/arch_def.h | 4 +---
>>>> lib/s390x/asm/asm-offsets.h | 4 +---
>>>> lib/s390x/asm/barrier.h | 4 +---
>>>> lib/s390x/asm/cpacf.h | 1 +
>>>> lib/s390x/asm/facility.h | 4 +---
>>>> lib/s390x/asm/float.h | 4 +---
>>>> lib/s390x/asm/interrupt.h | 4 +---
>>>> lib/s390x/asm/io.h | 4 +---
>>>> lib/s390x/asm/mem.h | 4 +---
>>>> lib/s390x/asm/page.h | 4 +---
>>>> lib/s390x/asm/pgtable.h | 4 +---
>>>> lib/s390x/asm/sigp.h | 4 +---
>>>> lib/s390x/asm/spinlock.h | 4 +---
>>>> lib/s390x/asm/stack.h | 4 +---
>>>> lib/s390x/asm/time.h | 4 +---
>>>> lib/s390x/css.h | 4 +---
>>>> lib/s390x/css_dump.c | 4 +---
>>>> lib/s390x/css_lib.c | 4 +---
>>>> lib/s390x/interrupt.c | 4 +---
>>>> lib/s390x/io.c | 4 +---
>>>> lib/s390x/mmu.c | 4 +---
>>>> lib/s390x/mmu.h | 4 +---
>>>> lib/s390x/sclp-console.c | 5 +----
>>>> lib/s390x/sclp.c | 4 +---
>>>> lib/s390x/sclp.h | 5 +----
>>>> lib/s390x/smp.c | 4 +---
>>>> lib/s390x/smp.h | 4 +---
>>>> lib/s390x/stack.c | 4 +---
>>>> lib/s390x/vm.c | 3 +--
>>>> lib/s390x/vm.h | 3 +--
>>>> 31 files changed, 31 insertions(+), 90 deletions(-)
>>>>
>>>> diff --git a/lib/s390x/asm-offsets.c b/lib/s390x/asm-offsets.c
>>>> index 61d2658..ee94ed3 100644
>>>> --- a/lib/s390x/asm-offsets.c
>>>> +++ b/lib/s390x/asm-offsets.c
>>>> @@ -1,11 +1,9 @@
>>>> +/* SPDX-License-Identifier: GPL-2.0-only */
>>>> /*
>>>> * Copyright (c) 2017 Red Hat Inc
>>>> *
>>>> * Authors:
>>>> * David Hildenbrand <david@redhat.com>
>>>> - *
>>>> - * This code is free software; you can redistribute it and/or modify it
>>>> - * under the terms of the GNU Library General Public License version 2.
>>>> */
>>>> #include <libcflat.h>
>>>> #include <kbuild.h>
>>>> diff --git a/lib/s390x/asm/arch_def.h b/lib/s390x/asm/arch_def.h
>>>> index edc06ef..f3ab830 100644
>>>> --- a/lib/s390x/asm/arch_def.h
>>>> +++ b/lib/s390x/asm/arch_def.h
>>>> @@ -1,11 +1,9 @@
>>>> +/* SPDX-License-Identifier: GPL-2.0-only */
>>>> /*
>>>> * Copyright (c) 2017 Red Hat Inc
>>>> *
>>>> * Authors:
>>>> * David Hildenbrand <david@redhat.com>
>>>> - *
>>>> - * This code is free software; you can redistribute it and/or modify it
>>>> - * under the terms of the GNU Library General Public License version 2.
>>>> */
>>>> #ifndef _ASM_S390X_ARCH_DEF_H_
>>>> #define _ASM_S390X_ARCH_DEF_H_
>>>> diff --git a/lib/s390x/asm/asm-offsets.h b/lib/s390x/asm/asm-offsets.h
>>>> index a6d7af8..bed7f8e 100644
>>>> --- a/lib/s390x/asm/asm-offsets.h
>>>> +++ b/lib/s390x/asm/asm-offsets.h
>>>> @@ -1,10 +1,8 @@
>>>> +/* SPDX-License-Identifier: GPL-2.0-only */
>>>> /*
>>>> * Copyright (c) 2017 Red Hat Inc
>>>> *
>>>> * Authors:
>>>> * David Hildenbrand <david@redhat.com>
>>>> - *
>>>> - * This code is free software; you can redistribute it and/or modify it
>>>> - * under the terms of the GNU Library General Public License version 2.
>>>> */
>>>> #include <generated/asm-offsets.h>
>>>> diff --git a/lib/s390x/asm/barrier.h b/lib/s390x/asm/barrier.h
>>>> index d862e78..8e2fd6d 100644
>>>> --- a/lib/s390x/asm/barrier.h
>>>> +++ b/lib/s390x/asm/barrier.h
>>>> @@ -1,12 +1,10 @@
>>>> +/* SPDX-License-Identifier: GPL-2.0-only */
>>>> /*
>>>> * Copyright (c) 2017 Red Hat Inc
>>>> *
>>>> * Authors:
>>>> * Thomas Huth <thuth@redhat.com>
>>>> * David Hildenbrand <david@redhat.com>
>>>> - *
>>>> - * This code is free software; you can redistribute it and/or modify it
>>>> - * under the terms of the GNU Library General Public License version 2.
>>>> */
>>>> #ifndef _ASM_S390X_BARRIER_H_
>>>> #define _ASM_S390X_BARRIER_H_
>>>> diff --git a/lib/s390x/asm/cpacf.h b/lib/s390x/asm/cpacf.h
>>>> index 2146a01..805fcf1 100644
>>>> --- a/lib/s390x/asm/cpacf.h
>>>> +++ b/lib/s390x/asm/cpacf.h
>>>> @@ -1,3 +1,4 @@
>>>> +/* SPDX-License-Identifier: GPL-2.0-only */
>>>> /*
>>>> * CP Assist for Cryptographic Functions (CPACF)
>>>> *
>>>
>>> This file was originally copied from Linux v4.13. So I'm wondering if
>>> this should be
>>>
>>> SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
>>>
>>> instead. Doesn't make a real difference in practice I guess?
>>>
>> Linux's arch/s390/include/asm/cpacf.h has the GPL-2.0 identifier, so why
>> do you want the syscall note?
>
> When we copied it in v4.13, there was no such identifier.
>
> The tag was added in v4.14
>
> commit b24413180f5600bcb3bb70fbed5cf186b60864bd
> Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Date: Wed Nov 1 15:07:57 2017 +0100
>
> License cleanup: add SPDX GPL-2.0 license identifier to files with
> no license
>
>
> So naive me checked COPYING and COPYING.new in v4.13 and spotted
>
> The Linux Kernel is provided under:
> SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
>
>
> But as the tag was added in v4.14, GPL-2.0-only seems to be the right
> thing to do I assume.
It's a bit sad that this is so complicated.
Thanks for looking
>
> Acked-by: David Hildenbrand <david@redhat.com>
>
Great, now we have all Acks together
next prev parent reply other threads:[~2020-12-10 16:21 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-08 15:09 [kvm-unit-tests PATCH 0/2] s390x: Move from LGPL 2 to GPL 2 Janosch Frank
2020-12-08 15:09 ` [kvm-unit-tests PATCH 1/2] s390x: Move to GPL 2 and SPDX license identifiers Janosch Frank
2020-12-08 15:14 ` Thomas Huth
2020-12-09 9:12 ` David Hildenbrand
2020-12-09 9:19 ` David Hildenbrand
2020-12-09 9:49 ` Janosch Frank
2020-12-09 11:01 ` Cornelia Huck
2020-12-09 12:43 ` Pierre Morel
2020-12-08 15:09 ` [kvm-unit-tests PATCH 2/2] s390x: lib: " Janosch Frank
2020-12-08 15:21 ` Thomas Huth
2020-12-09 9:15 ` David Hildenbrand
2020-12-09 9:46 ` Janosch Frank
2020-12-10 16:15 ` David Hildenbrand
2020-12-10 16:20 ` Janosch Frank [this message]
2020-12-09 11:03 ` Cornelia Huck
2020-12-09 12:50 ` Pierre Morel
2020-12-09 9:01 ` [kvm-unit-tests PATCH 0/2] s390x: Move from LGPL 2 to GPL 2 Christian Borntraeger
2020-12-09 10:16 ` Claudio Imbrenda
2020-12-09 16:07 ` Janosch Frank
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=72e727b2-1373-64f5-d1cc-c21c36a0eb64@linux.ibm.com \
--to=frankja@linux.ibm.com \
--cc=cohuck@redhat.com \
--cc=david@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox