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

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

Based on 1 normalized pattern(s):

this work is licensed under the terms of the gnu gpl version 2 see
the copying file in the top level directory

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

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

authored by

Thomas Gleixner and committed by
Greg Kroah-Hartman
20c8ccb1 0c94efab

+35 -119
+1 -4
arch/x86/include/asm/kvm_host.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Kernel-based Virtual Machine driver for Linux 3 4 * 4 5 * This header defines architecture specific interfaces, x86 version 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. See 7 - * the COPYING file in the top-level directory. 8 - * 9 6 */ 10 7 11 8 #ifndef _ASM_X86_KVM_HOST_H
+1 -3
arch/x86/include/asm/virtext.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* CPU virtualization extensions handling 2 3 * 3 4 * This should carry the code for handling CPU virtualization extensions ··· 9 8 * Copyright (C) 2008, Red Hat Inc. 10 9 * 11 10 * Contains code from KVM, Copyright (C) 2006 Qumranet, Inc. 12 - * 13 - * This work is licensed under the terms of the GNU GPL, version 2. See 14 - * the COPYING file in the top-level directory. 15 11 */ 16 12 #ifndef _ASM_X86_VIRTEX_H 17 13 #define _ASM_X86_VIRTEX_H
+1 -4
arch/x86/kvm/cpuid.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Kernel-based Virtual Machine driver for Linux 3 4 * cpuid support routines ··· 7 6 * 8 7 * Copyright 2011 Red Hat, Inc. and/or its affiliates. 9 8 * Copyright IBM Corporation, 2008 10 - * 11 - * This work is licensed under the terms of the GNU GPL, version 2. See 12 - * the COPYING file in the top-level directory. 13 - * 14 9 */ 15 10 16 11 #include <linux/kvm_host.h>
+1 -4
arch/x86/kvm/debugfs.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Kernel-based Virtual Machine driver for Linux 3 4 * 4 5 * Copyright 2016 Red Hat, Inc. and/or its affiliates. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. See 7 - * the COPYING file in the top-level directory. 8 - * 9 6 */ 10 7 #include <linux/kvm_host.h> 11 8 #include <linux/debugfs.h>
+1 -3
arch/x86/kvm/emulate.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /****************************************************************************** 2 3 * emulate.c 3 4 * ··· 14 13 * 15 14 * Avi Kivity <avi@qumranet.com> 16 15 * Yaniv Kamay <yaniv@qumranet.com> 17 - * 18 - * This work is licensed under the terms of the GNU GPL, version 2. See 19 - * the COPYING file in the top-level directory. 20 16 * 21 17 * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4 22 18 */
+1 -4
arch/x86/kvm/hyperv.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * KVM Microsoft Hyper-V emulation 3 4 * ··· 16 15 * Amit Shah <amit.shah@qumranet.com> 17 16 * Ben-Ami Yassour <benami@il.ibm.com> 18 17 * Andrey Smetanin <asmetanin@virtuozzo.com> 19 - * 20 - * This work is licensed under the terms of the GNU GPL, version 2. See 21 - * the COPYING file in the top-level directory. 22 - * 23 18 */ 24 19 25 20 #include "x86.h"
+1 -4
arch/x86/kvm/hyperv.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * KVM Microsoft Hyper-V emulation 3 4 * ··· 16 15 * Amit Shah <amit.shah@qumranet.com> 17 16 * Ben-Ami Yassour <benami@il.ibm.com> 18 17 * Andrey Smetanin <asmetanin@virtuozzo.com> 19 - * 20 - * This work is licensed under the terms of the GNU GPL, version 2. See 21 - * the COPYING file in the top-level directory. 22 - * 23 18 */ 24 19 25 20 #ifndef __ARCH_X86_KVM_HYPERV_H__
+1 -3
arch/x86/kvm/lapic.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 2 3 /* 3 4 * Local APIC virtualization ··· 14 13 * Yaozu (Eddie) Dong <eddie.dong@intel.com> 15 14 * 16 15 * Based on Xen 3.1 code, Copyright (c) 2004, Intel Corporation. 17 - * 18 - * This work is licensed under the terms of the GNU GPL, version 2. See 19 - * the COPYING file in the top-level directory. 20 16 */ 21 17 22 18 #include <linux/kvm_host.h>
+1 -4
arch/x86/kvm/mmu.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Kernel-based Virtual Machine driver for Linux 3 4 * ··· 13 12 * Authors: 14 13 * Yaniv Kamay <yaniv@qumranet.com> 15 14 * Avi Kivity <avi@qumranet.com> 16 - * 17 - * This work is licensed under the terms of the GNU GPL, version 2. See 18 - * the COPYING file in the top-level directory. 19 - * 20 15 */ 21 16 22 17 #include "irq.h"
+1 -4
arch/x86/kvm/mmu_audit.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * mmu_audit.c: 3 4 * ··· 12 11 * Avi Kivity <avi@qumranet.com> 13 12 * Marcelo Tosatti <mtosatti@redhat.com> 14 13 * Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> 15 - * 16 - * This work is licensed under the terms of the GNU GPL, version 2. See 17 - * the COPYING file in the top-level directory. 18 - * 19 14 */ 20 15 21 16 #include <linux/ratelimit.h>
+1 -3
arch/x86/kvm/mtrr.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * vMTRR implementation 3 4 * ··· 12 11 * Marcelo Tosatti <mtosatti@redhat.com> 13 12 * Paolo Bonzini <pbonzini@redhat.com> 14 13 * Xiao Guangrong <guangrong.xiao@linux.intel.com> 15 - * 16 - * This work is licensed under the terms of the GNU GPL, version 2. See 17 - * the COPYING file in the top-level directory. 18 14 */ 19 15 20 16 #include <linux/kvm_host.h>
+1 -3
arch/x86/kvm/page_track.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Support KVM gust page tracking 3 4 * ··· 9 8 * 10 9 * Author: 11 10 * Xiao Guangrong <guangrong.xiao@linux.intel.com> 12 - * 13 - * This work is licensed under the terms of the GNU GPL, version 2. See 14 - * the COPYING file in the top-level directory. 15 11 */ 16 12 17 13 #include <linux/kvm_host.h>
+1 -4
arch/x86/kvm/paging_tmpl.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Kernel-based Virtual Machine driver for Linux 3 4 * ··· 13 12 * Authors: 14 13 * Yaniv Kamay <yaniv@qumranet.com> 15 14 * Avi Kivity <avi@qumranet.com> 16 - * 17 - * This work is licensed under the terms of the GNU GPL, version 2. See 18 - * the COPYING file in the top-level directory. 19 - * 20 15 */ 21 16 22 17 /*
+1 -4
arch/x86/kvm/pmu.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Kernel-based Virtual Machine -- Performance Monitoring Unit support 3 4 * ··· 8 7 * Avi Kivity <avi@redhat.com> 9 8 * Gleb Natapov <gleb@redhat.com> 10 9 * Wei Huang <wei@redhat.com> 11 - * 12 - * This work is licensed under the terms of the GNU GPL, version 2. See 13 - * the COPYING file in the top-level directory. 14 - * 15 10 */ 16 11 17 12 #include <linux/types.h>
+1 -3
arch/x86/kvm/pmu_amd.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * KVM PMU support for AMD 3 4 * ··· 6 5 * 7 6 * Author: 8 7 * Wei Huang <wei@redhat.com> 9 - * 10 - * This work is licensed under the terms of the GNU GPL, version 2. See 11 - * the COPYING file in the top-level directory. 12 8 * 13 9 * Implementation is based on pmu_intel.c file 14 10 */
+1 -4
arch/x86/kvm/svm.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Kernel-based Virtual Machine driver for Linux 3 4 * ··· 10 9 * Authors: 11 10 * Yaniv Kamay <yaniv@qumranet.com> 12 11 * Avi Kivity <avi@qumranet.com> 13 - * 14 - * This work is licensed under the terms of the GNU GPL, version 2. See 15 - * the COPYING file in the top-level directory. 16 - * 17 12 */ 18 13 19 14 #define pr_fmt(fmt) "SVM: " fmt
+1 -4
arch/x86/kvm/vmx/pmu_intel.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * KVM PMU support for Intel CPUs 3 4 * ··· 7 6 * Authors: 8 7 * Avi Kivity <avi@redhat.com> 9 8 * Gleb Natapov <gleb@redhat.com> 10 - * 11 - * This work is licensed under the terms of the GNU GPL, version 2. See 12 - * the COPYING file in the top-level directory. 13 - * 14 9 */ 15 10 #include <linux/types.h> 16 11 #include <linux/kvm_host.h>
+1 -4
arch/x86/kvm/vmx/vmx.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Kernel-based Virtual Machine driver for Linux 3 4 * ··· 11 10 * Authors: 12 11 * Avi Kivity <avi@qumranet.com> 13 12 * Yaniv Kamay <yaniv@qumranet.com> 14 - * 15 - * This work is licensed under the terms of the GNU GPL, version 2. See 16 - * the COPYING file in the top-level directory. 17 - * 18 13 */ 19 14 20 15 #include <linux/frame.h>
+1 -4
arch/x86/kvm/x86.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Kernel-based Virtual Machine driver for Linux 3 4 * ··· 14 13 * Yaniv Kamay <yaniv@qumranet.com> 15 14 * Amit Shah <amit.shah@qumranet.com> 16 15 * Ben-Ami Yassour <benami@il.ibm.com> 17 - * 18 - * This work is licensed under the terms of the GNU GPL, version 2. See 19 - * the COPYING file in the top-level directory. 20 - * 21 16 */ 22 17 23 18 #include <linux/kvm_host.h>
+1 -3
fs/squashfs/decompressor_multi.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (c) 2013 3 4 * Minchan Kim <minchan@kernel.org> 4 - * 5 - * This work is licensed under the terms of the GNU GPL, version 2. See 6 - * the COPYING file in the top-level directory. 7 5 */ 8 6 #include <linux/types.h> 9 7 #include <linux/mutex.h>
+1 -3
fs/squashfs/decompressor_multi_percpu.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (c) 2013 3 4 * Phillip Lougher <phillip@squashfs.org.uk> 4 - * 5 - * This work is licensed under the terms of the GNU GPL, version 2. See 6 - * the COPYING file in the top-level directory. 7 5 */ 8 6 9 7 #include <linux/types.h>
+1 -3
fs/squashfs/decompressor_single.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (c) 2013 3 4 * Phillip Lougher <phillip@squashfs.org.uk> 4 - * 5 - * This work is licensed under the terms of the GNU GPL, version 2. See 6 - * the COPYING file in the top-level directory. 7 5 */ 8 6 9 7 #include <linux/types.h>
+1 -3
fs/squashfs/file_cache.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (c) 2013 3 4 * Phillip Lougher <phillip@squashfs.org.uk> 4 - * 5 - * This work is licensed under the terms of the GNU GPL, version 2. See 6 - * the COPYING file in the top-level directory. 7 5 */ 8 6 9 7 #include <linux/fs.h>
+1 -3
fs/squashfs/file_direct.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (c) 2013 3 4 * Phillip Lougher <phillip@squashfs.org.uk> 4 - * 5 - * This work is licensed under the terms of the GNU GPL, version 2. See 6 - * the COPYING file in the top-level directory. 7 5 */ 8 6 9 7 #include <linux/fs.h>
+1 -3
fs/squashfs/lz4_wrapper.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (c) 2013, 2014 3 4 * Phillip Lougher <phillip@squashfs.org.uk> 4 - * 5 - * This work is licensed under the terms of the GNU GPL, version 2. See 6 - * the COPYING file in the top-level directory. 7 5 */ 8 6 9 7 #include <linux/buffer_head.h>
+1 -3
fs/squashfs/page_actor.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (c) 2013 3 4 * Phillip Lougher <phillip@squashfs.org.uk> 4 - * 5 - * This work is licensed under the terms of the GNU GPL, version 2. See 6 - * the COPYING file in the top-level directory. 7 5 */ 8 6 9 7 #include <linux/kernel.h>
+1 -3
fs/squashfs/page_actor.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 #ifndef PAGE_ACTOR_H 2 3 #define PAGE_ACTOR_H 3 4 /* 4 5 * Copyright (c) 2013 5 6 * Phillip Lougher <phillip@squashfs.org.uk> 6 - * 7 - * This work is licensed under the terms of the GNU GPL, version 2. See 8 - * the COPYING file in the top-level directory. 9 7 */ 10 8 11 9 #ifndef CONFIG_SQUASHFS_FILE_DIRECT
+1 -3
fs/userfaultfd.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * fs/userfaultfd.c 3 4 * 4 5 * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org> 5 6 * Copyright (C) 2008-2009 Red Hat, Inc. 6 7 * Copyright (C) 2015 Red Hat, Inc. 7 - * 8 - * This work is licensed under the terms of the GNU GPL, version 2. See 9 - * the COPYING file in the top-level directory. 10 8 * 11 9 * Some part derived from fs/eventfd.c (anon inode setup) and 12 10 * mm/ksm.c (mm hashing).
+1 -4
include/linux/kvm_host.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 #ifndef __KVM_HOST_H 2 3 #define __KVM_HOST_H 3 4 4 - /* 5 - * This work is licensed under the terms of the GNU GPL, version 2. See 6 - * the COPYING file in the top-level directory. 7 - */ 8 5 9 6 #include <linux/types.h> 10 7 #include <linux/hardirq.h>
+1 -3
mm/huge_memory.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (C) 2009 Red Hat, Inc. 3 - * 4 - * This work is licensed under the terms of the GNU GPL, version 2. See 5 - * the COPYING file in the top-level directory. 6 4 */ 7 5 8 6 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+1 -3
mm/mmu_notifier.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * linux/mm/mmu_notifier.c 3 4 * 4 5 * Copyright (C) 2008 Qumranet, Inc. 5 6 * Copyright (C) 2008 SGI 6 7 * Christoph Lameter <cl@linux.com> 7 - * 8 - * This work is licensed under the terms of the GNU GPL, version 2. See 9 - * the COPYING file in the top-level directory. 10 8 */ 11 9 12 10 #include <linux/rculist.h>
+1 -3
mm/userfaultfd.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * mm/userfaultfd.c 3 4 * 4 5 * Copyright (C) 2015 Red Hat, Inc. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. See 7 - * the COPYING file in the top-level directory. 8 6 */ 9 7 10 8 #include <linux/mm.h>
+1 -2
tools/kvm/kvm_stat/kvm_stat
··· 1 1 #!/usr/bin/env python3 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 # 3 4 # top-like utility for displaying kvm statistics 4 5 # ··· 9 8 # Authors: 10 9 # Avi Kivity <avi@redhat.com> 11 10 # 12 - # This work is licensed under the terms of the GNU GPL, version 2. See 13 - # the COPYING file in the top-level directory. 14 11 """The kvm_stat module outputs statistics about running KVM VMs 15 12 16 13 Three different ways of output formatting are available:
+1 -3
tools/testing/selftests/vm/userfaultfd.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Stress userfaultfd syscall. 3 4 * 4 5 * Copyright (C) 2015 Red Hat, Inc. 5 - * 6 - * This work is licensed under the terms of the GNU GPL, version 2. See 7 - * the COPYING file in the top-level directory. 8 6 * 9 7 * This test allocates two virtual areas and bounces the physical 10 8 * memory across the two virtual areas (from area_src to area_dst)
+1 -4
virt/kvm/kvm_main.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Kernel-based Virtual Machine driver for Linux 3 4 * ··· 11 10 * Authors: 12 11 * Avi Kivity <avi@qumranet.com> 13 12 * Yaniv Kamay <yaniv@qumranet.com> 14 - * 15 - * This work is licensed under the terms of the GNU GPL, version 2. See 16 - * the COPYING file in the top-level directory. 17 - * 18 13 */ 19 14 20 15 #include <kvm/iodev.h>