-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BFN] Reworked BFN platform thermals plugin (#11723)
* [BFN] Updated platform.json for wedge100bf_65x Signed-off-by: Andriy Kokhan <andriyx.kokhan@intel.com> * Reworked BFN platform thermal logic * Implemented PSU thermal APIs * Updated platform.json for accton_wedge100bf_32x Signed-off-by: Andriy Kokhan <andriyx.kokhan@intel.com> * Updated BFN platform plugins initialization flow Signed-off-by: Andriy Kokhan <andriyx.kokhan@intel.com> Signed-off-by: Andriy Kokhan <andriyx.kokhan@intel.com>
Andriy Kokhan
authored
Oct 11, 2022
1 parent
df93a1b
commit 304c6c8
Showing
10 changed files
with
851 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
471 changes: 442 additions & 29 deletions
471
device/barefoot/x86_64-accton_wedge100bf_65x-r0/platform.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,9 @@ | |
"chassis": { | ||
"Wedge100BF-65X-O-AC-F-BF": { | ||
"component": { | ||
"BIOS": { }, | ||
"BMC": { } | ||
} | ||
} | ||
} | ||
} | ||
} |
79 changes: 79 additions & 0 deletions
79
device/barefoot/x86_64-accton_wedge100bf_65x-r0/thermal_thresholds.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"thermals": [ | ||
{ | ||
"com_e_driver-i2c-4-33:cpu-temp" : [99.0, 89.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"com_e_driver-i2c-4-33:memory-temp" : [85.0, 75.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"coretemp-isa-0000:core-0" : [99.0, 89.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"coretemp-isa-0000:core-1" : [99.0, 89.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"coretemp-isa-0000:core-2" : [99.0, 89.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"coretemp-isa-0000:core-3" : [99.0, 89.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"coretemp-isa-0000:package-id-0" : [80.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"max6658-i2c-9-4c:come-board-temp" : [85.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"max6658-i2c-9-4c:max6658-chip-temp" : [85.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"pch_haswell-virtual-0:temp1" : [80.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"psu_driver-i2c-7-5a:psu1-temp1" : [60.0, 40.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"psu_driver-i2c-7-5a:psu1-temp2" : [80.0, 60.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"psu_driver-i2c-7-59:psu2-temp1" : [60.0, 40.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"psu_driver-i2c-7-59:psu2-temp2" : [80.0, 60.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"tmp75-i2c-3-4a:exhaust-temp" : [90.0, 80.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"tmp75-i2c-3-4b:intake-temp" : [90.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"tmp75-i2c-3-4c:intake2-temp" : [90.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"tmp75-i2c-3-48:chip-temp" : [90.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"tmp75-i2c-3-49:exhaust2-temp" : [90.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"tmp75-i2c-8-48:fan-board-outlet-right-temp" : [90.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"tmp75-i2c-8-49:fan-board-outlet-left-temp" : [90.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"tmp75-i2c-9-4a:upper-board-intake-temp" : [90.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"tmp75-i2c-9-4b:upper-board-tofino-temp" : [90.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"tmp75-i2c-9-48:upper-board-intake2-temp" : [90.0, 70.0, 11.0, 1.0] | ||
}, | ||
{ | ||
"tmp75-i2c-9-49:server-board-temp" : [90.0, 70.0, 11.0, 1.0] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters