From 2e843cadf806056b7349013f5d89d191ede2ec2b Mon Sep 17 00:00:00 2001 From: YiHo Cheng Date: Wed, 4 Aug 2021 11:16:43 +0800 Subject: [PATCH] thermal: Update thermal table Add hysteresis for bcl sensors to prevent genlink storm. Bug: 191971470 Test: check trip_point_0_hyst is correct Change-Id: I96cae3766544230d3926c2d306ec93dc355223ef --- thermal_info_config_oriole.json | 99 +++++++++++++++++++++++++ thermal_info_config_oriole_WHI_A.json | 103 +++++++++++++++++++++++++- thermal_info_config_raven.json | 99 +++++++++++++++++++++++++ 3 files changed, 299 insertions(+), 2 deletions(-) diff --git a/thermal_info_config_oriole.json b/thermal_info_config_oriole.json index f5a2fd6..b67f5e7 100644 --- a/thermal_info_config_oriole.json +++ b/thermal_info_config_oriole.json @@ -732,6 +732,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -773,6 +782,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -789,6 +807,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -805,6 +832,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -821,6 +857,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -837,6 +882,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -853,6 +907,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -869,6 +932,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -885,6 +957,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -901,6 +982,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -917,6 +1007,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true diff --git a/thermal_info_config_oriole_WHI_A.json b/thermal_info_config_oriole_WHI_A.json index 79f44b0..fad145a 100644 --- a/thermal_info_config_oriole_WHI_A.json +++ b/thermal_info_config_oriole_WHI_A.json @@ -408,6 +408,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -449,6 +458,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -465,6 +483,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -477,12 +504,21 @@ "NAN", "NAN", "NAN", - 7, + 7000, "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", - "Multiplier":0.001, + "Multiplier":1, "Monitor":true }, { @@ -497,6 +533,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -513,6 +558,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -529,6 +583,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -545,6 +608,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -561,6 +633,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -577,6 +658,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -593,6 +683,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true diff --git a/thermal_info_config_raven.json b/thermal_info_config_raven.json index bc94332..2325169 100644 --- a/thermal_info_config_raven.json +++ b/thermal_info_config_raven.json @@ -732,6 +732,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -773,6 +782,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -789,6 +807,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -805,6 +832,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -821,6 +857,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -837,6 +882,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -853,6 +907,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -869,6 +932,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -885,6 +957,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -901,6 +982,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true @@ -917,6 +1007,15 @@ "NAN", "NAN" ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 100, + 0.0, + 0.0 + ], "VrThreshold":"NAN", "Multiplier":1, "Monitor":true