[PATCH] data: klog.json: lower the level of the failure when the _S1 and _S2 not implemented (LP: #1279714)
Ivan Hu
ivan.hu at canonical.com
Thu Feb 13 09:57:28 UTC 2014
Many machines don't implement the sleep state objects _S1 and _S2 on their firmware
due to these two sleep states are seldom used.
And it will cause the fwts klog test high failure as below:
klog: HIGH Kernel message: [ 0.291430] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20130517/hwxface-571)
klog: HIGH Kernel message: [ 0.291435] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20130517/hwxface-571)
Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
data/klog.json | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/data/klog.json b/data/klog.json
index da08962..ae447e8 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -1053,6 +1053,20 @@
},
{
"compare_mode": "string",
+ "log_level": "LOG_LEVEL_LOW",
+ "pattern": "While evaluating Sleep State [\\_S1_]",
+ "advice": "Failed to evaluate _Sx namespace object that contains the register values for the sleep state.",
+ "label": "KlogAcpiSleepStateEvalFailed"
+ },
+ {
+ "compare_mode": "string",
+ "log_level": "LOG_LEVEL_LOW",
+ "pattern": "While evaluating Sleep State [\\_S2_]",
+ "advice": "Failed to evaluate _Sx namespace object that contains the register values for the sleep state.",
+ "label": "KlogAcpiSleepStateEvalFailed"
+ },
+ {
+ "compare_mode": "string",
"log_level": "LOG_LEVEL_HIGH",
"pattern": "While evaluating Sleep State",
"advice": "Failed to evaluate _Sx namespace object that contains the register values for the sleep state.",
--
1.8.3.2
More information about the fwts-devel
mailing list