.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * fam15h_power.c - AMD Family 15h processor power monitoring |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2011-2016 Advanced Micro Devices, Inc. |
---|
5 | 6 | * Author: Andreas Herrmann <herrmann.der.user@googlemail.com> |
---|
6 | | - * |
---|
7 | | - * |
---|
8 | | - * This driver is free software; you can redistribute it and/or |
---|
9 | | - * modify it under the terms of the GNU General Public License; either |
---|
10 | | - * version 2 of the License, or (at your option) any later version. |
---|
11 | | - * |
---|
12 | | - * This driver is distributed in the hope that it will be useful, |
---|
13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
15 | | - * See the GNU General Public License for more details. |
---|
16 | | - * |
---|
17 | | - * You should have received a copy of the GNU General Public License |
---|
18 | | - * along with this driver; if not, see <http://www.gnu.org/licenses/>. |
---|
19 | 7 | */ |
---|
20 | 8 | |
---|
21 | 9 | #include <linux/err.h> |
---|
.. | .. |
---|
52 | 40 | |
---|
53 | 41 | /* set maximum interval as 1 second */ |
---|
54 | 42 | #define MAX_INTERVAL 1000 |
---|
55 | | - |
---|
56 | | -#define MSR_F15H_CU_PWR_ACCUMULATOR 0xc001007a |
---|
57 | | -#define MSR_F15H_CU_MAX_PWR_ACCUMULATOR 0xc001007b |
---|
58 | | -#define MSR_F15H_PTSC 0xc0010280 |
---|
59 | 43 | |
---|
60 | 44 | #define PCI_DEVICE_ID_AMD_15H_M70H_NB_F4 0x15b4 |
---|
61 | 45 | |
---|