diff options
| -rw-r--r-- | drivers/ntb/hw/idt/Kconfig | 4 | ||||
| -rw-r--r-- | drivers/ntb/hw/idt/ntb_hw_idt.c | 11 | ||||
| -rw-r--r-- | drivers/ntb/hw/idt/ntb_hw_idt.h | 2 |
3 files changed, 8 insertions, 9 deletions
diff --git a/drivers/ntb/hw/idt/Kconfig b/drivers/ntb/hw/idt/Kconfig index 2ed147368fa8..f8948cf515ce 100644 --- a/drivers/ntb/hw/idt/Kconfig +++ b/drivers/ntb/hw/idt/Kconfig | |||
| @@ -24,9 +24,7 @@ config NTB_IDT | |||
| 24 | BAR settings of peer NT-functions, the BAR setups can't be done over | 24 | BAR settings of peer NT-functions, the BAR setups can't be done over |
| 25 | kernel PCI fixups. That's why the alternative pre-initialization | 25 | kernel PCI fixups. That's why the alternative pre-initialization |
| 26 | techniques like BIOS using SMBus interface or EEPROM should be | 26 | techniques like BIOS using SMBus interface or EEPROM should be |
| 27 | utilized. Additionally if one needs to have temperature sensor | 27 | utilized. |
| 28 | information printed to system log, the corresponding registers must | ||
| 29 | be initialized within BIOS/EEPROM as well. | ||
| 30 | 28 | ||
| 31 | If unsure, say N. | 29 | If unsure, say N. |
| 32 | 30 | ||
diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c index c4594a708b48..1dede87dd54f 100644 --- a/drivers/ntb/hw/idt/ntb_hw_idt.c +++ b/drivers/ntb/hw/idt/ntb_hw_idt.c | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | * | 4 | * |
| 5 | * GPL LICENSE SUMMARY | 5 | * GPL LICENSE SUMMARY |
| 6 | * | 6 | * |
| 7 | * Copyright (C) 2016 T-Platforms All Rights Reserved. | 7 | * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved. |
| 8 | * | 8 | * |
| 9 | * This program is free software; you can redistribute it and/or modify it | 9 | * This program is free software; you can redistribute it and/or modify it |
| 10 | * under the terms and conditions of the GNU General Public License, | 10 | * under the terms and conditions of the GNU General Public License, |
| @@ -1824,10 +1824,11 @@ static int idt_ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, | |||
| 1824 | * 7. Temperature sensor operations | 1824 | * 7. Temperature sensor operations |
| 1825 | * | 1825 | * |
| 1826 | * IDT PCIe-switch has an embedded temperature sensor, which can be used to | 1826 | * IDT PCIe-switch has an embedded temperature sensor, which can be used to |
| 1827 | * warn a user-space of possible chip overheating. Since workload temperature | 1827 | * check current chip core temperature. Since a workload environment can be |
| 1828 | * can be different on different platforms, temperature thresholds as well as | 1828 | * different on different platforms, an offset and ADC/filter settings can be |
| 1829 | * general sensor settings must be setup in the framework of BIOS/EEPROM | 1829 | * specified. Although the offset configuration is only exposed to the sysfs |
| 1830 | * initializations. It includes the actual sensor enabling as well. | 1830 | * hwmon interface at the moment. The rest of the settings can be adjusted |
| 1831 | * for instance by the BIOS/EEPROM firmware. | ||
| 1831 | *============================================================================= | 1832 | *============================================================================= |
| 1832 | */ | 1833 | */ |
| 1833 | 1834 | ||
diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.h b/drivers/ntb/hw/idt/ntb_hw_idt.h index 3517cd2e2baa..2f1aa121b0cf 100644 --- a/drivers/ntb/hw/idt/ntb_hw_idt.h +++ b/drivers/ntb/hw/idt/ntb_hw_idt.h | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | * | 4 | * |
| 5 | * GPL LICENSE SUMMARY | 5 | * GPL LICENSE SUMMARY |
| 6 | * | 6 | * |
| 7 | * Copyright (C) 2016 T-Platforms All Rights Reserved. | 7 | * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved. |
| 8 | * | 8 | * |
| 9 | * This program is free software; you can redistribute it and/or modify it | 9 | * This program is free software; you can redistribute it and/or modify it |
| 10 | * under the terms and conditions of the GNU General Public License, | 10 | * under the terms and conditions of the GNU General Public License, |
