Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482

Based on 1 normalized pattern(s):

this work is licensed under the terms of the gnu gpl version 2

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

has been chosen to replace the boilerplate/reference in 48 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Allison Randal <allison@lohutok.net>
Reviewed-by: Enrico Weigelt <info@metux.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081204.624030236@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Thomas Gleixner and committed by
Greg Kroah-Hartman
7a338472 e500db3f

+38 -79
+1 -2
arch/sparc/include/asm/adi_64.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* adi_64.h: ADI related data structures 2 3 * 3 4 * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved. 4 5 * Author: Khalid Aziz (khalid.aziz@oracle.com) 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 */ 8 7 #ifndef __ASM_SPARC64_ADI_H 9 8 #define __ASM_SPARC64_ADI_H
+1 -2
arch/sparc/kernel/adi_64.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* adi_64.c: support for ADI (Application Data Integrity) feature on 2 3 * sparc m7 and newer processors. This feature is also known as 3 4 * SSM (Silicon Secured Memory). 4 5 * 5 6 * Copyright (C) 2016 Oracle and/or its affiliates. All rights reserved. 6 7 * Author: Khalid Aziz (khalid.aziz@oracle.com) 7 - * 8 - * This work is licensed under the terms of the GNU GPL, version 2. 9 8 */ 10 9 #include <linux/init.h> 11 10 #include <linux/slab.h>
+1 -2
arch/sparc/kernel/sun4v_mcd.S
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* sun4v_mcd.S: Sun4v memory corruption detected precise exception handler 2 3 * 3 4 * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. 4 5 * Authors: Bob Picco <bob.picco@oracle.com>, 5 6 * Khalid Aziz <khalid.aziz@oracle.com> 6 - * 7 - * This work is licensed under the terms of the GNU GPL, version 2. 8 7 */ 9 8 .text 10 9 .align 32
+1 -2
drivers/acpi/ec_sys.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * ec_sys.c 3 4 * 4 5 * Copyright (C) 2010 SUSE Products GmbH/Novell 5 6 * Author: 6 7 * Thomas Renninger <trenn@suse.de> 7 - * 8 - * This work is licensed under the terms of the GNU GPL, version 2. 9 8 */ 10 9 11 10 #include <linux/kernel.h>
+1 -2
drivers/vhost/net.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* Copyright (C) 2009 Red Hat, Inc. 2 3 * Author: Michael S. Tsirkin <mst@redhat.com> 3 - * 4 - * This work is licensed under the terms of the GNU GPL, version 2. 5 4 * 6 5 * virtio-net server in host kernel. 7 6 */
+1 -2
drivers/vhost/test.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* Copyright (C) 2009 Red Hat, Inc. 2 3 * Author: Michael S. Tsirkin <mst@redhat.com> 3 - * 4 - * This work is licensed under the terms of the GNU GPL, version 2. 5 4 * 6 5 * test virtio server in host kernel. 7 6 */
+1 -2
drivers/vhost/vhost.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* Copyright (C) 2009 Red Hat, Inc. 2 3 * Copyright (C) 2006 Rusty Russell IBM Corporation 3 4 * ··· 6 5 * 7 6 * Inspiration, some code, and most witty comments come from 8 7 * Documentation/virtual/lguest/lguest.c, by Rusty Russell 9 - * 10 - * This work is licensed under the terms of the GNU GPL, version 2. 11 8 * 12 9 * Generic code for virtio server in host kernel. 13 10 */
+1 -2
drivers/vhost/vsock.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * vhost transport for vsock 3 4 * 4 5 * Copyright (C) 2013-2015 Red Hat, Inc. 5 6 * Author: Asias He <asias@redhat.com> 6 7 * Stefan Hajnoczi <stefanha@redhat.com> 7 - * 8 - * This work is licensed under the terms of the GNU GPL, version 2. 9 8 */ 10 9 #include <linux/miscdevice.h> 11 10 #include <linux/atomic.h>
+1 -2
mm/cleancache.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Cleancache frontend 3 4 * ··· 8 7 * 9 8 * Copyright (C) 2009-2010 Oracle Corp. All rights reserved. 10 9 * Author: Dan Magenheimer 11 - * 12 - * This work is licensed under the terms of the GNU GPL, version 2. 13 10 */ 14 11 15 12 #include <linux/module.h>
+1 -2
mm/frontswap.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Frontswap frontend 3 4 * ··· 8 7 * 9 8 * Copyright (C) 2009-2012 Oracle Corp. All rights reserved. 10 9 * Author: Dan Magenheimer 11 - * 12 - * This work is licensed under the terms of the GNU GPL, version 2. 13 10 */ 14 11 15 12 #include <linux/mman.h>
+1 -2
mm/ksm.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Memory merging support. 3 4 * ··· 11 10 * Andrea Arcangeli 12 11 * Chris Wright 13 12 * Hugh Dickins 14 - * 15 - * This work is licensed under the terms of the GNU GPL, version 2. 16 13 */ 17 14 18 15 #include <linux/errno.h>
+1 -2
net/vmw_vsock/virtio_transport.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * virtio transport for vsock 3 4 * ··· 8 7 * 9 8 * Some of the code is take from Gerd Hoffmann <kraxel@redhat.com>'s 10 9 * early virtio-vsock proof-of-concept bits. 11 - * 12 - * This work is licensed under the terms of the GNU GPL, version 2. 13 10 */ 14 11 #include <linux/spinlock.h> 15 12 #include <linux/module.h>
+1 -2
net/vmw_vsock/virtio_transport_common.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * common code for virtio vsock 3 4 * 4 5 * Copyright (C) 2013-2015 Red Hat, Inc. 5 6 * Author: Asias He <asias@redhat.com> 6 7 * Stefan Hajnoczi <stefanha@redhat.com> 7 - * 8 - * This work is licensed under the terms of the GNU GPL, version 2. 9 8 */ 10 9 #include <linux/spinlock.h> 11 10 #include <linux/module.h>
+1 -2
tools/power/acpi/tools/ec/ec_access.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * ec_access.c 3 4 * 4 5 * Copyright (C) 2010 SUSE Linux Products GmbH 5 6 * Author: 6 7 * Thomas Renninger <trenn@suse.de> 7 - * 8 - * This work is licensed under the terms of the GNU GPL, version 2. 9 8 */ 10 9 11 10 #include <fcntl.h>
+1 -3
tools/testing/selftests/kvm/include/kvm_util.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * tools/testing/selftests/kvm/include/kvm_util.h 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 - * 8 6 */ 9 7 #ifndef SELFTEST_KVM_UTIL_H 10 8 #define SELFTEST_KVM_UTIL_H
+1 -3
tools/testing/selftests/kvm/include/sparsebit.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * tools/testing/selftests/kvm/include/sparsebit.h 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 - * 8 6 * 9 7 * Header file that describes API to the sparsebit library. 10 8 * This library provides a memory efficient means of storing
+1 -3
tools/testing/selftests/kvm/include/test_util.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * tools/testing/selftests/kvm/include/test_util.h 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 - * 8 6 */ 9 7 10 8 #ifndef SELFTEST_KVM_TEST_UTIL_H
+1 -3
tools/testing/selftests/kvm/include/x86_64/processor.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * tools/testing/selftests/kvm/include/x86_64/processor.h 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 - * 8 6 */ 9 7 10 8 #ifndef SELFTEST_KVM_PROCESSOR_H
+1 -3
tools/testing/selftests/kvm/include/x86_64/vmx.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * tools/testing/selftests/kvm/include/x86_64/vmx.h 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 - * 8 6 */ 9 7 10 8 #ifndef SELFTEST_KVM_VMX_H
+1 -2
tools/testing/selftests/kvm/lib/assert.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * tools/testing/selftests/kvm/lib/assert.c 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 */ 8 7 9 8 #define _GNU_SOURCE /* for getline(3) and strchrnul(3)*/
+1 -2
tools/testing/selftests/kvm/lib/elf.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * tools/testing/selftests/kvm/lib/elf.c 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 */ 8 7 9 8 #include "test_util.h"
+1 -2
tools/testing/selftests/kvm/lib/io.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * tools/testing/selftests/kvm/lib/io.c 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 */ 8 7 9 8 #include "test_util.h"
+1 -2
tools/testing/selftests/kvm/lib/kvm_util.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * tools/testing/selftests/kvm/lib/kvm_util.c 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 */ 8 7 9 8 #include "test_util.h"
+1 -2
tools/testing/selftests/kvm/lib/kvm_util_internal.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * tools/testing/selftests/kvm/lib/kvm_util_internal.h 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 */ 8 7 9 8 #ifndef SELFTEST_KVM_UTIL_INTERNAL_H
+1 -2
tools/testing/selftests/kvm/lib/sparsebit.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Sparse bit array 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 6 * Copyright (C) 2018, Red Hat, Inc. (code style cleanup and fuzzing driver) 6 - * 7 - * This work is licensed under the terms of the GNU GPL, version 2. 8 7 * 9 8 * This library provides functions to support a memory efficient bit array, 10 9 * with an index size of 2^64. A sparsebit array is allocated through
+1 -2
tools/testing/selftests/kvm/lib/x86_64/processor.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * tools/testing/selftests/kvm/lib/x86_64/processor.c 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 */ 8 7 9 8 #define _GNU_SOURCE /* for program_invocation_name */
+1 -2
tools/testing/selftests/kvm/lib/x86_64/vmx.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * tools/testing/selftests/kvm/lib/x86_64/vmx.c 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 */ 8 7 9 8 #define _GNU_SOURCE /* for program_invocation_name */
+1 -2
tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * kvm_create_max_vcpus 3 4 * 4 5 * Copyright (C) 2019, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 * 8 7 * Test for KVM_CAP_MAX_VCPUS and KVM_CAP_MAX_VCPU_ID. 9 8 */
+1 -3
tools/testing/selftests/kvm/x86_64/set_sregs_test.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * KVM_SET_SREGS tests 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 * 8 7 * This is a regression test for the bug fixed by the following commit: 9 8 * d3802286fa0f ("kvm: x86: Disallow illegal IA32_APIC_BASE MSR values") 10 9 * 11 10 * That bug allowed a user-mode program that called the KVM_SET_SREGS 12 11 * ioctl to put a VCPU's local APIC into an invalid state. 13 - * 14 12 */ 15 13 #define _GNU_SOURCE /* for program_invocation_short_name */ 16 14 #include <fcntl.h>
+1 -2
tools/testing/selftests/kvm/x86_64/state_test.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * KVM_GET/SET_* tests 3 4 * 4 5 * Copyright (C) 2018, Red Hat, Inc. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 * 8 7 * Tests for vCPU state save/restore, including nested guest state. 9 8 */
+1 -2
tools/testing/selftests/kvm/x86_64/sync_regs_test.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Test for x86 KVM_CAP_SYNC_REGS 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 * 8 7 * Verifies expected behavior of x86 KVM_CAP_SYNC_REGS functionality, 9 8 * including requesting an invalid register set, updates to/from values
+1 -2
tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * vmx_close_while_nested 3 4 * 4 5 * Copyright (C) 2019, Red Hat, Inc. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 * 8 7 * Verify that nothing bad happens if a KVM user exits with open 9 8 * file descriptors while executing a nested guest.
+1 -2
tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * vmx_set_nested_state_test 3 4 * 4 5 * Copyright (C) 2019, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 6 * 8 7 * This test verifies the integrity of calling the ioctl KVM_SET_NESTED_STATE. 9 8 */
+1 -3
tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * vmx_tsc_adjust_test 3 4 * 4 5 * Copyright (C) 2018, Google LLC. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. 7 - * 8 6 * 9 7 * IA32_TSC_ADJUST test 10 8 *
+1 -1
tools/virtio/ringtest/main.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (C) 2016 Red Hat, Inc. 3 4 * Author: Michael S. Tsirkin <mst@redhat.com> 4 - * This work is licensed under the terms of the GNU GPL, version 2. 5 5 * 6 6 * Command line processing and common functions for ring benchmarking. 7 7 */
+1 -1
tools/virtio/ringtest/main.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright (C) 2016 Red Hat, Inc. 3 4 * Author: Michael S. Tsirkin <mst@redhat.com> 4 - * This work is licensed under the terms of the GNU GPL, version 2. 5 5 * 6 6 * Common macros and functions for ring benchmarking. 7 7 */
+1 -1
tools/virtio/ringtest/ring.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (C) 2016 Red Hat, Inc. 3 4 * Author: Michael S. Tsirkin <mst@redhat.com> 4 - * This work is licensed under the terms of the GNU GPL, version 2. 5 5 * 6 6 * Simple descriptor-based ring. virtio 0.9 compatible event index is used for 7 7 * signalling, unconditionally.
+1 -1
tools/virtio/ringtest/virtio_ring_0_9.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (C) 2016 Red Hat, Inc. 3 4 * Author: Michael S. Tsirkin <mst@redhat.com> 4 - * This work is licensed under the terms of the GNU GPL, version 2. 5 5 * 6 6 * Partial implementation of virtio 0.9. event index is used for signalling, 7 7 * unconditionally. Design roughly follows linux kernel implementation in order