mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 17:23:25 -05:00
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 246
Based on 1 normalized pattern(s): released under the term of the gnu gpl v2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 16 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190602204654.922331175@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d82444d2a9
commit
2c162f9b41
16 changed files with 16 additions and 45 deletions
|
@ -1,18 +1,16 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* RackMac vu-meter driver
|
* RackMac vu-meter driver
|
||||||
*
|
*
|
||||||
* (c) Copyright 2006 Benjamin Herrenschmidt, IBM Corp.
|
* (c) Copyright 2006 Benjamin Herrenschmidt, IBM Corp.
|
||||||
* <benh@kernel.crashing.org>
|
* <benh@kernel.crashing.org>
|
||||||
*
|
*
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*
|
|
||||||
* Support the CPU-meter LEDs of the Xserve G5
|
* Support the CPU-meter LEDs of the Xserve G5
|
||||||
*
|
*
|
||||||
* TODO: Implement PWM to do variable intensity and provide userland
|
* TODO: Implement PWM to do variable intensity and provide userland
|
||||||
* interface for fun. Also, the CPU-meter could be made nicer by being
|
* interface for fun. Also, the CPU-meter could be made nicer by being
|
||||||
* a bit less "immediate" but giving instead a more average load over
|
* a bit less "immediate" but giving instead a more average load over
|
||||||
* time. Patches welcome :-)
|
* time. Patches welcome :-)
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* PowerMac G5 SMU driver
|
* PowerMac G5 SMU driver
|
||||||
*
|
*
|
||||||
* Copyright 2004 J. Mayer <l_indien@magic.fr>
|
* Copyright 2004 J. Mayer <l_indien@magic.fr>
|
||||||
* Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
* Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
||||||
*
|
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control.
|
* Windfarm PowerMac thermal control.
|
||||||
*
|
*
|
||||||
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
||||||
* <benh@kernel.crashing.org>
|
* <benh@kernel.crashing.org>
|
||||||
*
|
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __WINDFARM_H__
|
#ifndef __WINDFARM_H__
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. AD7417 sensors
|
* Windfarm PowerMac thermal control. AD7417 sensors
|
||||||
*
|
*
|
||||||
* Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
|
* Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
|
||||||
*
|
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. Core
|
* Windfarm PowerMac thermal control. Core
|
||||||
*
|
*
|
||||||
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
||||||
* <benh@kernel.crashing.org>
|
* <benh@kernel.crashing.org>
|
||||||
*
|
*
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*
|
|
||||||
* This core code tracks the list of sensors & controls, register
|
* This core code tracks the list of sensors & controls, register
|
||||||
* clients, and holds the kernel thread used for control.
|
* clients, and holds the kernel thread used for control.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. FCU fan control
|
* Windfarm PowerMac thermal control. FCU fan control
|
||||||
*
|
*
|
||||||
* Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
|
* Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
|
||||||
*
|
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*/
|
*/
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. LM75 sensor
|
* Windfarm PowerMac thermal control. LM75 sensor
|
||||||
*
|
*
|
||||||
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
||||||
* <benh@kernel.crashing.org>
|
* <benh@kernel.crashing.org>
|
||||||
*
|
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. LM87 sensor
|
* Windfarm PowerMac thermal control. LM87 sensor
|
||||||
*
|
*
|
||||||
* Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
|
* Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
|
||||||
*
|
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control
|
* Windfarm PowerMac thermal control
|
||||||
*
|
*
|
||||||
* Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
|
* Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
|
||||||
*
|
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __WINDFARM_MPU_H
|
#ifndef __WINDFARM_MPU_H
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. Generic PID helpers
|
* Windfarm PowerMac thermal control. Generic PID helpers
|
||||||
*
|
*
|
||||||
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
||||||
* <benh@kernel.crashing.org>
|
* <benh@kernel.crashing.org>
|
||||||
*
|
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. Generic PID helpers
|
* Windfarm PowerMac thermal control. Generic PID helpers
|
||||||
*
|
*
|
||||||
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
||||||
* <benh@kernel.crashing.org>
|
* <benh@kernel.crashing.org>
|
||||||
*
|
*
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*
|
|
||||||
* This is a pair of generic PID helpers that can be used by
|
* This is a pair of generic PID helpers that can be used by
|
||||||
* control loops. One is the basic PID implementation, the
|
* control loops. One is the basic PID implementation, the
|
||||||
* other one is more specifically tailored to the loops used
|
* other one is more specifically tailored to the loops used
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. iMac G5 iSight
|
* Windfarm PowerMac thermal control. iMac G5 iSight
|
||||||
*
|
*
|
||||||
|
@ -6,14 +7,9 @@
|
||||||
* Bits & pieces from windfarm_pm81.c by (c) Copyright 2005 Benjamin
|
* Bits & pieces from windfarm_pm81.c by (c) Copyright 2005 Benjamin
|
||||||
* Herrenschmidt, IBM Corp. <benh@kernel.crashing.org>
|
* Herrenschmidt, IBM Corp. <benh@kernel.crashing.org>
|
||||||
*
|
*
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* PowerMac12,1
|
* PowerMac12,1
|
||||||
* ============
|
* ============
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* The algorithm used is the PID control algorithm, used the same way
|
* The algorithm used is the PID control algorithm, used the same way
|
||||||
* the published Darwin code does, using the same values that are
|
* the published Darwin code does, using the same values that are
|
||||||
* present in the Darwin 8.10 snapshot property lists (note however
|
* present in the Darwin 8.10 snapshot property lists (note however
|
||||||
|
@ -25,7 +21,6 @@
|
||||||
* controls with a tiny difference. The control-ids of hard-drive-fan
|
* controls with a tiny difference. The control-ids of hard-drive-fan
|
||||||
* and cpu-fan is swapped.
|
* and cpu-fan is swapped.
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* Target Correction :
|
* Target Correction :
|
||||||
*
|
*
|
||||||
* controls have a target correction calculated as :
|
* controls have a target correction calculated as :
|
||||||
|
@ -63,7 +58,6 @@
|
||||||
* offset : -15650652
|
* offset : -15650652
|
||||||
* slope : 1565065
|
* slope : 1565065
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* Target rubber-banding :
|
* Target rubber-banding :
|
||||||
*
|
*
|
||||||
* Some controls have a target correction which depends on another
|
* Some controls have a target correction which depends on another
|
||||||
|
@ -76,7 +70,6 @@
|
||||||
*
|
*
|
||||||
* new_target = max (new_target, new_min >> 16)
|
* new_target = max (new_target, new_min >> 16)
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* # model_id : 2
|
* # model_id : 2
|
||||||
* control : cpu-fan
|
* control : cpu-fan
|
||||||
* ref : optical-drive-fan
|
* ref : optical-drive-fan
|
||||||
|
@ -89,12 +82,10 @@
|
||||||
* offset : -32768000
|
* offset : -32768000
|
||||||
* slope : 65536
|
* slope : 65536
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* In order to have the moste efficient correction with those
|
* In order to have the moste efficient correction with those
|
||||||
* dependencies, we must trigger HD loop before OD loop before CPU
|
* dependencies, we must trigger HD loop before OD loop before CPU
|
||||||
* loop.
|
* loop.
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* The various control loops found in Darwin config file are:
|
* The various control loops found in Darwin config file are:
|
||||||
*
|
*
|
||||||
* HD Fan control loop.
|
* HD Fan control loop.
|
||||||
|
@ -191,12 +182,10 @@
|
||||||
* sensors : cpu-temp, cpu-power
|
* sensors : cpu-temp, cpu-power
|
||||||
* PID params : from SDB partition
|
* PID params : from SDB partition
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* CPU Slew control loop.
|
* CPU Slew control loop.
|
||||||
*
|
*
|
||||||
* control : cpufreq-clamp
|
* control : cpufreq-clamp
|
||||||
* sensor : cpu-temp
|
* sensor : cpu-temp
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. iMac G5
|
* Windfarm PowerMac thermal control. iMac G5
|
||||||
*
|
*
|
||||||
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
||||||
* <benh@kernel.crashing.org>
|
* <benh@kernel.crashing.org>
|
||||||
*
|
*
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*
|
|
||||||
* The algorithm used is the PID control algorithm, used the same
|
* The algorithm used is the PID control algorithm, used the same
|
||||||
* way the published Darwin code does, using the same values that
|
* way the published Darwin code does, using the same values that
|
||||||
* are present in the Darwin 8.2 snapshot property lists (note however
|
* are present in the Darwin 8.2 snapshot property lists (note however
|
||||||
|
@ -90,7 +89,6 @@
|
||||||
* from the SDB partition. If we ever end up with actually slewing the system
|
* from the SDB partition. If we ever end up with actually slewing the system
|
||||||
* clock and thus changing operating points, we'll have to find a way to
|
* clock and thus changing operating points, we'll have to find a way to
|
||||||
* communicate with the CPU freq driver;
|
* communicate with the CPU freq driver;
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. SMU based 1 CPU desktop control loops
|
* Windfarm PowerMac thermal control. SMU based 1 CPU desktop control loops
|
||||||
*
|
*
|
||||||
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
||||||
* <benh@kernel.crashing.org>
|
* <benh@kernel.crashing.org>
|
||||||
*
|
*
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*
|
|
||||||
* The algorithm used is the PID control algorithm, used the same
|
* The algorithm used is the PID control algorithm, used the same
|
||||||
* way the published Darwin code does, using the same values that
|
* way the published Darwin code does, using the same values that
|
||||||
* are present in the Darwin 8.2 snapshot property lists (note however
|
* are present in the Darwin 8.2 snapshot property lists (note however
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. SMU based controls
|
* Windfarm PowerMac thermal control. SMU based controls
|
||||||
*
|
*
|
||||||
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
||||||
* <benh@kernel.crashing.org>
|
* <benh@kernel.crashing.org>
|
||||||
*
|
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Windfarm PowerMac thermal control. SMU based sensors
|
* Windfarm PowerMac thermal control. SMU based sensors
|
||||||
*
|
*
|
||||||
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
|
||||||
* <benh@kernel.crashing.org>
|
* <benh@kernel.crashing.org>
|
||||||
*
|
|
||||||
* Released under the term of the GNU GPL v2.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue