All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH 0/3] Update license information
@ 2017-05-03 11:50 Thomas Huth
  2017-05-03 11:50 ` [kvm-unit-tests PATCH 1/3] Add LGPL information to some ARM and PPC specific library files Thomas Huth
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Thomas Huth @ 2017-05-03 11:50 UTC (permalink / raw)
  To: kvm, rkrcmar; +Cc: pbonzini, drjones, david, lvivier

The COPYRIGHT file claims that the kvm-unit-tests is licensed
under the LGPL. But effectively, the license for the whole
package should be GPL nowadays instead, since some GPL code
crept in over the years. So let's update the COPYRIGHT text
accordingly and add some more license information to the files
that are still missing an explicit license statement.

Thomas Huth (3):
  Add LGPL information to some ARM and PPC specific library files
  COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays
  Add a copyright/license header for the ARM spinlock test

 COPYRIGHT               | 10 ++++++++--
 arm/spinlock-test.c     | 12 ++++++++++++
 lib/arm/spinlock.c      |  6 ++++++
 lib/powerpc/processor.c |  3 +++
 lib/ppc64/spinlock.c    |  7 +++++++
 5 files changed, 36 insertions(+), 2 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [kvm-unit-tests PATCH 1/3] Add LGPL information to some ARM and PPC specific library files
  2017-05-03 11:50 [kvm-unit-tests PATCH 0/3] Update license information Thomas Huth
@ 2017-05-03 11:50 ` Thomas Huth
  2017-05-03 12:33   ` Laurent Vivier
  2017-05-03 11:50 ` [kvm-unit-tests PATCH 2/3] COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays Thomas Huth
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Thomas Huth @ 2017-05-03 11:50 UTC (permalink / raw)
  To: kvm, rkrcmar; +Cc: pbonzini, drjones, david, lvivier

Some files are still lacking license information, so add the default LGPL
statement here to make it clear under which conditions the code can be used.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 lib/arm/spinlock.c      | 6 ++++++
 lib/powerpc/processor.c | 3 +++
 lib/ppc64/spinlock.c    | 7 +++++++
 3 files changed, 16 insertions(+)

diff --git a/lib/arm/spinlock.c b/lib/arm/spinlock.c
index 116ea5d..ea7e02b 100644
--- a/lib/arm/spinlock.c
+++ b/lib/arm/spinlock.c
@@ -1,3 +1,9 @@
+/*
+ * ARM spinlock implementation
+ *
+ * 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 <asm/spinlock.h>
 #include <asm/barrier.h>
diff --git a/lib/powerpc/processor.c b/lib/powerpc/processor.c
index 056a61f..8910f24 100644
--- a/lib/powerpc/processor.c
+++ b/lib/powerpc/processor.c
@@ -1,5 +1,8 @@
 /*
  * processor control and status function
+ *
+ * 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>
diff --git a/lib/ppc64/spinlock.c b/lib/ppc64/spinlock.c
index 522f8d0..1b26ee1 100644
--- a/lib/ppc64/spinlock.c
+++ b/lib/ppc64/spinlock.c
@@ -1,3 +1,10 @@
+/*
+ * ppc64 (dummy) spinlock implementation
+ *
+ * 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 <asm/spinlock.h>
 
 void spin_lock(struct spinlock *lock)
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [kvm-unit-tests PATCH 2/3] COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays
  2017-05-03 11:50 [kvm-unit-tests PATCH 0/3] Update license information Thomas Huth
  2017-05-03 11:50 ` [kvm-unit-tests PATCH 1/3] Add LGPL information to some ARM and PPC specific library files Thomas Huth
@ 2017-05-03 11:50 ` Thomas Huth
  2017-05-03 12:34   ` Laurent Vivier
  2017-05-03 11:50 ` [kvm-unit-tests PATCH 3/3] Add a copyright/license header for the ARM spinlock test Thomas Huth
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Thomas Huth @ 2017-05-03 11:50 UTC (permalink / raw)
  To: kvm, rkrcmar; +Cc: pbonzini, drjones, david, lvivier

Some GPL2 code is already in the repository, so this should be
taken into account in the COPYRIGHT file, too.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 COPYRIGHT | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/COPYRIGHT b/COPYRIGHT
index d35649c..b9d975f 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,4 +1,10 @@
 Copyright (C) 2006 Qumranet.
+Copyright (C) 2007-2017 by various contributors (see source files for details)
 
-The files in this directory and its subdirectories are licensed under the
-GNU LGPL, version 2.
+The kvm-unit-tests are free software; the whole package can be redistributed
+and/or modified under the terms of the GNU General Public License version 2
+as published by the Free Software Foundation.
+
+Many files in this directory and its subdirectories are also licensed under
+the less restrictive GNU LGPL, version 2, or other compatible licenses. See
+the individual files for details.
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [kvm-unit-tests PATCH 3/3] Add a copyright/license header for the ARM spinlock test
  2017-05-03 11:50 [kvm-unit-tests PATCH 0/3] Update license information Thomas Huth
  2017-05-03 11:50 ` [kvm-unit-tests PATCH 1/3] Add LGPL information to some ARM and PPC specific library files Thomas Huth
  2017-05-03 11:50 ` [kvm-unit-tests PATCH 2/3] COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays Thomas Huth
@ 2017-05-03 11:50 ` Thomas Huth
  2017-05-03 12:35   ` Laurent Vivier
  2017-05-03 12:11 ` [kvm-unit-tests PATCH 0/3] Update license information Andrew Jones
  2017-05-03 12:45 ` Paolo Bonzini
  4 siblings, 1 reply; 9+ messages in thread
From: Thomas Huth @ 2017-05-03 11:50 UTC (permalink / raw)
  To: kvm, rkrcmar; +Cc: pbonzini, drjones, david, lvivier

According to the changelog, the code has been taken from the
tcg_baremetal_tests from Virtual Open Systems, so we should
include the original copyright notice here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 arm/spinlock-test.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arm/spinlock-test.c b/arm/spinlock-test.c
index 7676a15..b2fdbab 100644
--- a/arm/spinlock-test.c
+++ b/arm/spinlock-test.c
@@ -1,3 +1,15 @@
+/*
+ * Spinlock test
+ *
+ * This code is based on code from the tcg_baremetal_tests.
+ *
+ * Copyright (C) 2015 Virtual Open Systems SAS
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
 #include <libcflat.h>
 #include <asm/smp.h>
 #include <asm/cpumask.h>
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [kvm-unit-tests PATCH 0/3] Update license information
  2017-05-03 11:50 [kvm-unit-tests PATCH 0/3] Update license information Thomas Huth
                   ` (2 preceding siblings ...)
  2017-05-03 11:50 ` [kvm-unit-tests PATCH 3/3] Add a copyright/license header for the ARM spinlock test Thomas Huth
@ 2017-05-03 12:11 ` Andrew Jones
  2017-05-03 12:45 ` Paolo Bonzini
  4 siblings, 0 replies; 9+ messages in thread
From: Andrew Jones @ 2017-05-03 12:11 UTC (permalink / raw)
  To: Thomas Huth; +Cc: kvm, rkrcmar, pbonzini, david, lvivier

On Wed, May 03, 2017 at 01:50:26PM +0200, Thomas Huth wrote:
> The COPYRIGHT file claims that the kvm-unit-tests is licensed
> under the LGPL. But effectively, the license for the whole
> package should be GPL nowadays instead, since some GPL code
> crept in over the years. So let's update the COPYRIGHT text
> accordingly and add some more license information to the files
> that are still missing an explicit license statement.
> 
> Thomas Huth (3):
>   Add LGPL information to some ARM and PPC specific library files
>   COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays
>   Add a copyright/license header for the ARM spinlock test
> 
>  COPYRIGHT               | 10 ++++++++--
>  arm/spinlock-test.c     | 12 ++++++++++++
>  lib/arm/spinlock.c      |  6 ++++++
>  lib/powerpc/processor.c |  3 +++
>  lib/ppc64/spinlock.c    |  7 +++++++
>  5 files changed, 36 insertions(+), 2 deletions(-)
> 
> -- 
> 1.8.3.1
> 

For the series
Acked-by: Andrew Jones <drjones@redhat.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [kvm-unit-tests PATCH 1/3] Add LGPL information to some ARM and PPC specific library files
  2017-05-03 11:50 ` [kvm-unit-tests PATCH 1/3] Add LGPL information to some ARM and PPC specific library files Thomas Huth
@ 2017-05-03 12:33   ` Laurent Vivier
  0 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2017-05-03 12:33 UTC (permalink / raw)
  To: Thomas Huth, kvm, rkrcmar; +Cc: pbonzini, drjones, david

On 03/05/2017 13:50, Thomas Huth wrote:
> Some files are still lacking license information, so add the default LGPL
> statement here to make it clear under which conditions the code can be used.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  lib/arm/spinlock.c      | 6 ++++++
>  lib/powerpc/processor.c | 3 +++
>  lib/ppc64/spinlock.c    | 7 +++++++
>  3 files changed, 16 insertions(+)
> 
> diff --git a/lib/arm/spinlock.c b/lib/arm/spinlock.c
> index 116ea5d..ea7e02b 100644
> --- a/lib/arm/spinlock.c
> +++ b/lib/arm/spinlock.c
> @@ -1,3 +1,9 @@
> +/*
> + * ARM spinlock implementation
> + *
> + * 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 <asm/spinlock.h>
>  #include <asm/barrier.h>
> diff --git a/lib/powerpc/processor.c b/lib/powerpc/processor.c
> index 056a61f..8910f24 100644
> --- a/lib/powerpc/processor.c
> +++ b/lib/powerpc/processor.c
> @@ -1,5 +1,8 @@
>  /*
>   * processor control and status function
> + *
> + * 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>
> diff --git a/lib/ppc64/spinlock.c b/lib/ppc64/spinlock.c
> index 522f8d0..1b26ee1 100644
> --- a/lib/ppc64/spinlock.c
> +++ b/lib/ppc64/spinlock.c
> @@ -1,3 +1,10 @@
> +/*
> + * ppc64 (dummy) spinlock implementation
> + *
> + * 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 <asm/spinlock.h>
>  
>  void spin_lock(struct spinlock *lock)
> 
Reviewed-by: Laurent Vivier <lvivier@redhat.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [kvm-unit-tests PATCH 2/3] COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays
  2017-05-03 11:50 ` [kvm-unit-tests PATCH 2/3] COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays Thomas Huth
@ 2017-05-03 12:34   ` Laurent Vivier
  0 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2017-05-03 12:34 UTC (permalink / raw)
  To: Thomas Huth, kvm, rkrcmar; +Cc: pbonzini, drjones, david

On 03/05/2017 13:50, Thomas Huth wrote:
> Some GPL2 code is already in the repository, so this should be
> taken into account in the COPYRIGHT file, too.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  COPYRIGHT | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/COPYRIGHT b/COPYRIGHT
> index d35649c..b9d975f 100644
> --- a/COPYRIGHT
> +++ b/COPYRIGHT
> @@ -1,4 +1,10 @@
>  Copyright (C) 2006 Qumranet.
> +Copyright (C) 2007-2017 by various contributors (see source files for details)
>  
> -The files in this directory and its subdirectories are licensed under the
> -GNU LGPL, version 2.
> +The kvm-unit-tests are free software; the whole package can be redistributed
> +and/or modified under the terms of the GNU General Public License version 2
> +as published by the Free Software Foundation.
> +
> +Many files in this directory and its subdirectories are also licensed under
> +the less restrictive GNU LGPL, version 2, or other compatible licenses. See
> +the individual files for details.
> 
Reviewed-by: Laurent Vivier <lvivier@redhat.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [kvm-unit-tests PATCH 3/3] Add a copyright/license header for the ARM spinlock test
  2017-05-03 11:50 ` [kvm-unit-tests PATCH 3/3] Add a copyright/license header for the ARM spinlock test Thomas Huth
@ 2017-05-03 12:35   ` Laurent Vivier
  0 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2017-05-03 12:35 UTC (permalink / raw)
  To: Thomas Huth, kvm, rkrcmar; +Cc: pbonzini, drjones, david

On 03/05/2017 13:50, Thomas Huth wrote:
> According to the changelog, the code has been taken from the
> tcg_baremetal_tests from Virtual Open Systems, so we should
> include the original copyright notice here.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  arm/spinlock-test.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arm/spinlock-test.c b/arm/spinlock-test.c
> index 7676a15..b2fdbab 100644
> --- a/arm/spinlock-test.c
> +++ b/arm/spinlock-test.c
> @@ -1,3 +1,15 @@
> +/*
> + * Spinlock test
> + *
> + * This code is based on code from the tcg_baremetal_tests.
> + *
> + * Copyright (C) 2015 Virtual Open Systems SAS
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + */
> +
>  #include <libcflat.h>
>  #include <asm/smp.h>
>  #include <asm/cpumask.h>
> 
Reviewed-by: Laurent Vivier <lvivier@redhat.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [kvm-unit-tests PATCH 0/3] Update license information
  2017-05-03 11:50 [kvm-unit-tests PATCH 0/3] Update license information Thomas Huth
                   ` (3 preceding siblings ...)
  2017-05-03 12:11 ` [kvm-unit-tests PATCH 0/3] Update license information Andrew Jones
@ 2017-05-03 12:45 ` Paolo Bonzini
  4 siblings, 0 replies; 9+ messages in thread
From: Paolo Bonzini @ 2017-05-03 12:45 UTC (permalink / raw)
  To: Thomas Huth, kvm, rkrcmar; +Cc: drjones, david, lvivier



On 03/05/2017 13:50, Thomas Huth wrote:
> The COPYRIGHT file claims that the kvm-unit-tests is licensed
> under the LGPL. But effectively, the license for the whole
> package should be GPL nowadays instead, since some GPL code
> crept in over the years. So let's update the COPYRIGHT text
> accordingly and add some more license information to the files
> that are still missing an explicit license statement.
> 
> Thomas Huth (3):
>   Add LGPL information to some ARM and PPC specific library files
>   COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays
>   Add a copyright/license header for the ARM spinlock test
> 
>  COPYRIGHT               | 10 ++++++++--
>  arm/spinlock-test.c     | 12 ++++++++++++
>  lib/arm/spinlock.c      |  6 ++++++
>  lib/powerpc/processor.c |  3 +++
>  lib/ppc64/spinlock.c    |  7 +++++++
>  5 files changed, 36 insertions(+), 2 deletions(-)
> 


Applied, thanks.

Paolo

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-05-03 12:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03 11:50 [kvm-unit-tests PATCH 0/3] Update license information Thomas Huth
2017-05-03 11:50 ` [kvm-unit-tests PATCH 1/3] Add LGPL information to some ARM and PPC specific library files Thomas Huth
2017-05-03 12:33   ` Laurent Vivier
2017-05-03 11:50 ` [kvm-unit-tests PATCH 2/3] COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays Thomas Huth
2017-05-03 12:34   ` Laurent Vivier
2017-05-03 11:50 ` [kvm-unit-tests PATCH 3/3] Add a copyright/license header for the ARM spinlock test Thomas Huth
2017-05-03 12:35   ` Laurent Vivier
2017-05-03 12:11 ` [kvm-unit-tests PATCH 0/3] Update license information Andrew Jones
2017-05-03 12:45 ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.