tests/tcg: update licenses to GPLv2 as intended
RFC PATCH 1/1 tests/tcg: update licenses to GPLv2 as intended
My default header template is GPLv3 but for QEMU code we really should stick to GPLv2-or-later (allowing others to up-license it if they wish). While this is test code we should still be consistent on the source distribution.
I wrote all of this code so its not a problem. However there remains one GPLv3 file left which is the crt0-tc2x.S for TriCore.
--- tests/tcg/aarch64/semicall.h | 4 ++-- tests/tcg/arm/semicall.h | 4 ++-- tests/tcg/multiarch/float_helpers.h | 4 ++-- tests/tcg/riscv64/semicall.h | 4 ++-- tests/tcg/multiarch/arm-compat-semi/semiconsole.c | 4 ++-- tests/tcg/multiarch/arm-compat-semi/semihosting.c | 4 ++-- tests/tcg/multiarch/float_convd.c | 4 ++-- tests/tcg/multiarch/float_convs.c | 4 ++-- tests/tcg/multiarch/float_madds.c | 4 ++-- tests/tcg/multiarch/libs/float_helpers.c | 4 ++-- tests/tcg/i386/system/boot.S | 6 +++--- tests/tcg/x86_64/system/boot.S | 6 +++--- 12 files changed, 26 insertions(+), 26 deletions(-)
tests/tcg/aarch64/semicall.h +2 -2
@@ -1,10 +1,10 @@/* * Semihosting Tests - AArch64 helper * -* Copyright (c) 2019 +* Copyright (c) 2019, 2024 * Written by Alex Bennée <[email protected]> * -* SPDX-License-Identifier: GPL-3.0-or-later +* SPDX-License-Identifier: GPL-2.0-or-later */ uintptr_t __semi_call (uintptr_t type,uintptr_t arg0)
tests/tcg/arm/semicall.h +2 -2
@@ -1,10 +1,10 @@/* * Semihosting Tests - ARM Helper * -* Copyright (c) 2019 +* Copyright (c) 2019, 2024 * Written by Alex Bennée <[email protected]> * -* SPDX-License-Identifier: GPL-3.0-or-later +* SPDX-License-Identifier: GPL-2.0-or-later */ uintptr_t __semi_call (uintptr_t type,uintptr_t arg0)
tests/tcg/multiarch/float_helpers.h +2 -2
@@ -1,9 +1,9 @@/* * Common Float Helpers * -* Copyright (c) 2019 Linaro +* Copyright (c) 2019, 2024 Linaro * -* SPDX-License-Identifier: GPL-3.0-or-later +* SPDX-License-Identifier: GPL-2.0-or-later */ #include <inttypes.h>
tests/tcg/riscv64/semicall.h +2 -2
@@ -1,10 +1,10 @@/* * Semihosting Tests - RiscV64 Helper * -* Copyright (c) 2021 +* Copyright (c) 2021, 2024 * Written by Alex Bennée <[email protected]> * -* SPDX-License-Identifier: GPL-3.0-or-later +* SPDX-License-Identifier: GPL-2.0-or-later */ uintptr_t __semi_call (uintptr_t type,uintptr_t arg0)
tests/tcg/multiarch/arm-compat-semi/semiconsole.c +2 -2
@@ -1,10 +1,10 @@/* * linux-user semihosting console * -* Copyright (c) 2019 +* Copyright (c) 2024 * Written by Alex Bennée <[email protected]> * -* SPDX-License-Identifier: GPL-3.0-or-later +* SPDX-License-Identifier: GPL-2.0-or-later */ #define SYS_READC 0x07
tests/tcg/multiarch/arm-compat-semi/semihosting.c +2 -2
@@ -1,10 +1,10 @@/* * linux-user semihosting checks * -* Copyright (c) 2019 +* Copyright (c) 2019, 2024 * Written by Alex Bennée <[email protected]> * -* SPDX-License-Identifier: GPL-3.0-or-later +* SPDX-License-Identifier: GPL-2.0-or-later */ #define SYS_WRITE0 0x04
tests/tcg/multiarch/float_convd.c +2 -2
@@ -1,9 +1,9 @@/* * Floating Point Convert Doubles to Various * -* Copyright (c) 2019 Linaro +* Copyright (c) 2019, 2024 Linaro * -* SPDX-License-Identifier: GPL-3.0-or-later +* SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h>
tests/tcg/multiarch/float_convs.c +2 -2
@@ -1,9 +1,9 @@/* * Floating Point Convert Single to Various * -* Copyright (c) 2019 Linaro +* Copyright (c) 2019, 2024 Linaro * -* SPDX-License-Identifier: GPL-3.0-or-later +* SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h>
tests/tcg/multiarch/float_madds.c +2 -2
@@ -1,9 +1,9 @@/* * Fused Multiply Add (Single) * -* Copyright (c) 2019 Linaro +* Copyright (c) 2019, 2024 Linaro * -* SPDX-License-Identifier: GPL-3.0-or-later +* SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h>
tests/tcg/multiarch/libs/float_helpers.c +2 -2
@@ -5,9 +5,9 @@* floating point constants useful for exercising the edge cases in * floating point tests. * -* Copyright (c) 2019 Linaro +* Copyright (c) 2019, 2024 Linaro * -* SPDX-License-Identifier: GPL-3.0-or-later +* SPDX-License-Identifier: GPL-2.0-or-later */ /* we want additional float type definitions */
tests/tcg/i386/system/boot.S +3 -3
@@ -2,12 +2,12 @@ * i386 boot code, based on qemu-bmibug. * * Copyright 2019 Doug Gale - * Copyright 2019 Linaro + * Copyright 2019, 2024 Linaro * - * This work is licensed under the terms of the GNU GPL, version 3 or later. + * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * - * SPDX-License-Identifier: GPL-3.0-or-later + * SPDX-License-Identifier: GPL-2.0-or-later */ .section .head
tests/tcg/x86_64/system/boot.S +3 -3
@@ -1,16 +1,16 @@ /* * x86_64 boot and support code * - * Copyright 2019 Linaro + * Copyright 2019, 2024 Linaro * - * This work is licensed under the terms of the GNU GPL, version 3 or later. + * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * * Unlike the i386 version we instead use Xen's PVHVM booting header * which should drop us automatically into 32 bit mode ready to go. I've * nabbed bits of the Linux kernel setup to achieve this. * - * SPDX-License-Identifier: GPL-3.0-or-later + * SPDX-License-Identifier: GPL-2.0-or-later */ .section .head
Signature · 1 line
2.39.2
Quoted 5 lines · Alex Bennée
My default header template is GPLv3 but for QEMU code we really should stick to GPLv2-or-later (allowing others to up-license it if they wish). While this is test code we should still be consistent on the source distribution.
Test code, and more importantly not linked against QEMU proper -- it's all standalone guest binaries, so we don't link this code with any GPL-v2-only code.
Quoted 4 lines
I wrote all of this code so its not a problem. However there remains one GPLv3 file left which is the
crt0-tc2x.Sfor TriCore.Signed-off-by Alex Bennée <[email protected]>
Quoted 14 lines
--- tests/tcg/aarch64/semicall.h | 4 ++-- tests/tcg/arm/semicall.h | 4 ++-- tests/tcg/multiarch/float_helpers.h | 4 ++-- tests/tcg/riscv64/semicall.h | 4 ++-- tests/tcg/multiarch/arm-compat-semi/semiconsole.c | 4 ++-- tests/tcg/multiarch/arm-compat-semi/semihosting.c | 4 ++-- tests/tcg/multiarch/float_convd.c | 4 ++-- tests/tcg/multiarch/float_convs.c | 4 ++-- tests/tcg/multiarch/float_madds.c | 4 ++-- tests/tcg/multiarch/libs/float_helpers.c | 4 ++-- tests/tcg/i386/system/boot.S | 6 +++--- tests/tcg/x86_64/system/boot.S | 6 +++--- 12 files changed, 26 insertions(+), 26 deletions(-)
Of these files, contributions by somebody other than Alex:
tests/tcg/multiarch/float_convd.c tests/tcg/multiarch/float_convs.c tests/tcg/multiarch/float_helpers.h tests/tcg/multiarch/float_madds.c
Richard Henderson <[email protected]>
which is all Linaro copyright.
tests/tcg/multiarch/libs/float_helpers.c
Taylor Simpson <[email protected]>
...but this was exclusively deleting lines
plus a couple of typo/spelling fixes from Michael Tokarev <[email protected]> which I don't think rise to the level of being relicensable contributions.
So I don't think we need anybody else's signoff for this relicensing.
thanks
-- PMM
Quoted 9 lines · Alex Bennée
My default header template is GPLv3 but for QEMU code we really should stick to GPLv2-or-later (allowing others to up-license it if they wish). While this is test code we should still be consistent on the source distribution.
I wrote all of this code so its not a problem. However there remains one GPLv3 file left which is the
crt0-tc2x.Sfor TriCore.Signed-off-by Alex Bennée <[email protected]>
Quoted 14 lines
--- tests/tcg/aarch64/semicall.h | 4 ++-- tests/tcg/arm/semicall.h | 4 ++-- tests/tcg/multiarch/float_helpers.h | 4 ++-- tests/tcg/riscv64/semicall.h | 4 ++-- tests/tcg/multiarch/arm-compat-semi/semiconsole.c | 4 ++-- tests/tcg/multiarch/arm-compat-semi/semihosting.c | 4 ++-- tests/tcg/multiarch/float_convd.c | 4 ++-- tests/tcg/multiarch/float_convs.c | 4 ++-- tests/tcg/multiarch/float_madds.c | 4 ++-- tests/tcg/multiarch/libs/float_helpers.c | 4 ++-- tests/tcg/i386/system/boot.S | 6 +++--- tests/tcg/x86_64/system/boot.S | 6 +++--- 12 files changed, 26 insertions(+), 26 deletions(-)