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 166

Based on 1 normalized pattern(s):

licensed under the terms of the gnu gpl license 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 62 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Allison Randal <allison@lohutok.net>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Richard Fontana <rfontana@redhat.com>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190527070033.929121379@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Thomas Gleixner and committed by
Greg Kroah-Hartman
4f19048f 4a27fd15

+52 -98
+1 -1
drivers/cpufreq/cpufreq-nforce2.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2004-2006 Sebastian Witt <se.witt@gmx.net> 3 4 * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 5 * Based upon reverse engineered information 6 6 * 7 7 * BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
+1 -2
drivers/cpufreq/e_powersaver.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Based on documentation provided by Dave Jones. Thanks! 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous* 7 6 */
+1 -1
drivers/cpufreq/longhaul.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2001-2004 Dave Jones. 3 4 * (C) 2002 Padraig Brady. <padraig@antefacto.com> 4 5 * 5 - * Licensed under the terms of the GNU GPL License version 2. 6 6 * Based upon datasheets & sample CPUs kindly provided by VIA. 7 7 * 8 8 * VIA have currently 3 different versions of Longhaul.
+1 -2
drivers/cpufreq/longhaul.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * longhaul.h 3 4 * (C) 2003 Dave Jones. 4 - * 5 - * Licensed under the terms of the GNU GPL License version 2. 6 5 * 7 6 * VIA-specific information 8 7 */
+1 -2
drivers/cpufreq/longrun.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de> 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous* 7 6 */
+1 -2
drivers/cpufreq/powernow-k6.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * This file was based upon code in Powertweak Linux (http://powertweak.sf.net) 3 4 * (C) 2000-2003 Dave Jones, Arjan van de Ven, Janne Pänkälä, 4 5 * Dominik Brodowski. 5 - * 6 - * Licensed under the terms of the GNU GPL License version 2. 7 6 * 8 7 * BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous* 9 8 */
+1 -1
drivers/cpufreq/powernow-k7.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * AMD K7 Powernow driver. 3 4 * (C) 2003 Dave Jones on behalf of SuSE Labs. 4 5 * 5 - * Licensed under the terms of the GNU GPL License version 2. 6 6 * Based upon datasheets & sample CPUs kindly provided by AMD. 7 7 * 8 8 * Errata 5:
+1 -3
drivers/cpufreq/powernow-k7.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * (C) 2003 Dave Jones. 3 4 * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 - * 6 5 * AMD-specific information 7 - * 8 6 */ 9 7 10 8 union msr_fidvidctl {
+1 -4
drivers/cpufreq/powernow-k8.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (c) 2003-2012 Advanced Micro Devices, Inc. 3 - * Your use of this code is subject to the terms and conditions of the 4 - * GNU general public license version 2. See "COPYING" or 5 - * http://www.gnu.org/licenses/gpl.html 6 4 * 7 5 * Maintainer: 8 6 * Andreas Herrmann <herrmann.der.user@googlemail.com> ··· 9 11 * (C) 2003 Dave Jones on behalf of SuSE Labs 10 12 * (C) 2004 Dominik Brodowski <linux@brodo.de> 11 13 * (C) 2004 Pavel Machek <pavel@ucw.cz> 12 - * Licensed under the terms of the GNU GPL License version 2. 13 14 * Based upon datasheets & sample CPUs kindly provided by AMD. 14 15 * 15 16 * Valuable input gratefully received from Dave Jones, Pavel Machek,
+1 -1
drivers/cpufreq/speedstep-ich.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2001 Dave Jones, Arjan van de ven. 3 4 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de> 4 5 * 5 - * Licensed under the terms of the GNU GPL License version 2. 6 6 * Based upon reverse engineered information, and on Intel documentation 7 7 * for chipsets ICH2-M and ICH3-M. 8 8 *
+1 -2
drivers/cpufreq/speedstep-lib.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de> 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * Library for common functions for Intel SpeedStep v.1 and v.2 support 7 6 *
+1 -2
drivers/cpufreq/speedstep-lib.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de> 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * Library for common functions for Intel SpeedStep v.1 and v.2 support 7 6 *
+1 -3
drivers/cpufreq/speedstep-smi.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Intel SpeedStep SMI driver. 3 4 * 4 5 * (C) 2003 Hiroshi Miura <miura@da-cha.org> 5 - * 6 - * Licensed under the terms of the GNU GPL License version 2. 7 - * 8 6 */ 9 7 10 8
+1 -1
scripts/checkkconfigsymbols.py
··· 1 1 #!/usr/bin/env python3 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 3 4 """Find Kconfig symbols that are referenced but not defined.""" 4 5 5 6 # (c) 2014-2017 Valentin Rothberg <valentinrothberg@gmail.com> 6 7 # (c) 2014 Stefan Hengelein <stefan.hengelein@fau.de> 7 8 # 8 - # Licensed under the terms of the GNU GPL License version 2 9 9 10 10 11 11 import argparse
+1 -1
scripts/gfp-translate
··· 1 1 #!/bin/bash 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 # Translate the bits making up a GFP mask 3 4 # (c) 2009, Mel Gorman <mel@csn.ul.ie> 4 - # Licensed under the terms of the GNU GPL License version 2 5 5 SOURCE= 6 6 GFPMASK=none 7 7
+1 -1
scripts/leaking_addresses.pl
··· 1 1 #!/usr/bin/env perl 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 # 3 4 # (c) 2017 Tobin C. Harding <me@tobin.cc> 4 - # Licensed under the terms of the GNU GPL License version 2 5 5 # 6 6 # leaking_addresses.pl: Scan the kernel for potential leaking addresses. 7 7 # - Scans dmesg output.
+1 -1
scripts/recordmcount.pl
··· 1 1 #!/usr/bin/env perl 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 # (c) 2008, Steven Rostedt <srostedt@redhat.com> 3 - # Licensed under the terms of the GNU GPL License version 2 4 4 # 5 5 # recordmcount.pl - makes a section called __mcount_loc that holds 6 6 # all the offsets to the calls to mcount.
+1 -1
scripts/tracing/draw_functrace.py
··· 1 1 #!/usr/bin/python 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 3 4 """ 4 5 Copyright 2008 (c) Frederic Weisbecker <fweisbec@gmail.com> 5 - Licensed under the terms of the GNU GPL License version 2 6 6 7 7 This script parses a trace provided by the function tracer in 8 8 kernel/trace/trace_functions.c
+1 -1
tools/perf/scripts/perl/rw-by-file.pl
··· 1 1 #!/usr/bin/perl -w 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 # (c) 2009, Tom Zanussi <tzanussi@gmail.com> 3 - # Licensed under the terms of the GNU GPL License version 2 4 4 5 5 # Display r/w activity for files read/written to for a given program 6 6
+1 -1
tools/perf/scripts/perl/rw-by-pid.pl
··· 1 1 #!/usr/bin/perl -w 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 # (c) 2009, Tom Zanussi <tzanussi@gmail.com> 3 - # Licensed under the terms of the GNU GPL License version 2 4 4 5 5 # Display r/w activity for all processes 6 6
+1 -1
tools/perf/scripts/perl/rwtop.pl
··· 1 1 #!/usr/bin/perl -w 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 # (c) 2010, Tom Zanussi <tzanussi@gmail.com> 3 - # Licensed under the terms of the GNU GPL License version 2 4 4 5 5 # read/write top 6 6 #
+1 -1
tools/perf/scripts/perl/wakeup-latency.pl
··· 1 1 #!/usr/bin/perl -w 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 # (c) 2009, Tom Zanussi <tzanussi@gmail.com> 3 - # Licensed under the terms of the GNU GPL License version 2 4 4 5 5 # Display avg/min/max wakeup latency 6 6
+1 -2
tools/power/cpupower/debug/i386/centrino-decode.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2003 - 2004 Dominik Brodowski <linux@dominikbrodowski.de> 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * Based on code found in 7 6 * linux/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
+1 -2
tools/power/cpupower/debug/i386/intel_gsic.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2003 Bruno Ducrot 3 4 * (C) 2004 Dominik Brodowski <linux@dominikbrodowski.de> 4 - * 5 - * Licensed under the terms of the GNU GPL License version 2. 6 5 * 7 6 * Based on code found in 8 7 * linux/include/asm-i386/ist.h and linux/arch/i386/kernel/setup.c
+1 -2
tools/power/cpupower/debug/i386/powernow-k8-decode.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2004 Bruno Ducrot <ducrot@poupinou.org> 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * Based on code found in 7 6 * linux/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
+1 -2
tools/power/cpupower/lib/cpufreq.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 */ 6 5 7 6
+1 -2
tools/power/cpupower/lib/cpuidle.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 3 4 * (C) 2011 Thomas Renninger <trenn@novell.com> Novell Inc. 4 - * 5 - * Licensed under the terms of the GNU GPL License version 2. 6 5 */ 7 6 8 7 #include <stdio.h>
+1 -2
tools/power/cpupower/lib/cpupower.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 */ 6 5 7 6 #include <sys/types.h>
+1 -2
tools/power/cpupower/utils/cpufreq-info.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 */ 6 5 7 6
+1 -2
tools/power/cpupower/utils/cpufreq-set.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 */ 6 5 7 6
+1 -2
tools/power/cpupower/utils/cpuidle-info.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 3 4 * (C) 2010 Thomas Renninger <trenn@suse.de> 4 - * 5 - * Licensed under the terms of the GNU GPL License version 2. 6 5 */ 7 6 8 7
+1 -2
tools/power/cpupower/utils/cpupower-info.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 */ 6 5 7 6
+1 -2
tools/power/cpupower/utils/cpupower-set.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 */ 6 5 7 6
+1 -2
tools/power/cpupower/utils/cpupower.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * Ideas taken over from the perf userspace tool (included in the Linus 7 6 * kernel git repo): subcommand builtins and param parsing.
+1 -2
tools/power/cpupower/utils/helpers/helpers.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * Miscellaneous helpers which do not fit or are worth 7 6 * to put into separate headers
+1 -2
tools/power/cpupower/utils/helpers/sysfs.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 3 4 * (C) 2011 Thomas Renninger <trenn@novell.com> Novell Inc. 4 - * 5 - * Licensed under the terms of the GNU GPL License version 2. 6 5 */ 7 6 8 7 #include <stdio.h>
+1 -2
tools/power/cpupower/utils/helpers/topology.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * ToDo: Needs to be done more properly for AMD/Intel specifics 7 6 */
+1 -2
tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * PCI initialization based on example code from: 7 6 * Andreas Herrmann <andreas.herrmann3@amd.com>
+1 -3
tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 - * 6 4 */ 7 5 8 6 #include <stdio.h>
+1 -3
tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 4 * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 - * 6 5 * Output format inspired by Len Brown's <lenb@kernel.org> turbostat tool. 7 - * 8 6 */ 9 7 10 8
+1 -3
tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 - * 6 4 */ 7 5 8 6 #ifndef __CPUIDLE_INFO_HW__
+1 -2
tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * Based on SandyBridge monitor. Implements the new package C-states 7 6 * (PC8, PC9, PC10) coming with a specific Haswell (family 0x45) CPU.
+1 -3
tools/power/cpupower/utils/idle_monitor/idle_monitors.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 4 * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 - * 6 5 * Based on the idea from Michael Matz <matz@suse.de> 7 - * 8 6 */ 9 7 10 8 #ifndef _CPUIDLE_IDLE_MONITORS_H_
+1 -2
tools/power/cpupower/utils/idle_monitor/mperf_monitor.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 */ 6 5 7 6 #if defined(__i386__) || defined(__x86_64__)
+1 -2
tools/power/cpupower/utils/idle_monitor/nhm_idle.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * Based on Len Brown's <lenb@kernel.org> turbostat tool. 7 6 */
+1 -2
tools/power/cpupower/utils/idle_monitor/snb_idle.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2. 5 4 * 6 5 * Based on Len Brown's <lenb@kernel.org> turbostat tool. 7 6 */
+1 -2
tools/testing/ktest/config-bisect.pl
··· 1 1 #!/usr/bin/perl -w 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 # 3 4 # Copyright 2015 - Steven Rostedt, Red Hat Inc. 4 5 # Copyright 2017 - Steven Rostedt, VMware, Inc. 5 - # 6 - # Licensed under the terms of the GNU GPL License version 2 7 6 # 8 7 9 8 # usage:
+1 -1
tools/testing/ktest/ktest.pl
··· 1 1 #!/usr/bin/perl -w 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 # 3 4 # Copyright 2010 - Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 4 - # Licensed under the terms of the GNU GPL License version 2 5 5 # 6 6 7 7 use strict;
+1 -2
tools/testing/selftests/breakpoints/breakpoint_test.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (C) 2011 Red Hat, Inc., Frederic Weisbecker <fweisbec@redhat.com> 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2 5 4 * 6 5 * Selftests for breakpoints (and more generally the do_debug() path) in x86. 7 6 */
+1 -2
tools/testing/selftests/exec/execveat.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (c) 2014 Google, Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2 5 4 * 6 5 * Selftests for execveat(2). 7 6 */
+1 -2
tools/testing/selftests/size/get_size.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright 2014 Sony Mobile Communications Inc. 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2 5 4 * 6 5 * Selftest for runtime system size 7 6 *
+1 -2
tools/testing/selftests/timers/posix_timers.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (C) 2013 Red Hat, Inc., Frederic Weisbecker <fweisbec@redhat.com> 3 - * 4 - * Licensed under the terms of the GNU GPL License version 2 5 4 * 6 5 * Selftests for a few posix timers interface. 7 6 *