diff --git a/src/arm/linux/cpuinfo.c b/src/arm/linux/cpuinfo.c index 3f477e77..8bdd0b0f 100644 --- a/src/arm/linux/cpuinfo.c +++ b/src/arm/linux/cpuinfo.c @@ -742,7 +742,7 @@ static bool parse_line( } /* Skip line if no ':' separator was found. */ if (separator == line_end) { - cpuinfo_log_info( + cpuinfo_log_debug( "Line %.*s in /proc/cpuinfo is ignored: key/value separator ':' not found", (int)(line_end - line_start), line_start); @@ -758,7 +758,7 @@ static bool parse_line( } /* Skip line if key contains nothing but spaces. */ if (key_end == line_start) { - cpuinfo_log_info( + cpuinfo_log_debug( "Line %.*s in /proc/cpuinfo is ignored: key contains only spaces", (int)(line_end - line_start), line_start); @@ -774,7 +774,7 @@ static bool parse_line( } /* Value part contains nothing but spaces. Skip line. */ if (value_start == line_end) { - cpuinfo_log_info( + cpuinfo_log_debug( "Line %.*s in /proc/cpuinfo is ignored: value contains only spaces", (int)(line_end - line_start), line_start); @@ -873,7 +873,7 @@ static bool parse_line( } else if (memcmp(line_start, "Hardware", key_length) == 0) { size_t value_length = value_end - value_start; if (value_length > CPUINFO_HARDWARE_VALUE_MAX) { - cpuinfo_log_info( + cpuinfo_log_debug( "length of Hardware value \"%.*s\" in /proc/cpuinfo exceeds limit (%d): truncating to the limit", (int)value_length, value_start, @@ -888,7 +888,7 @@ static bool parse_line( } else if (memcmp(line_start, "Revision", key_length) == 0) { size_t value_length = value_end - value_start; if (value_length > CPUINFO_REVISION_VALUE_MAX) { - cpuinfo_log_info( + cpuinfo_log_debug( "length of Revision value \"%.*s\" in /proc/cpuinfo exceeds limit (%d): truncating to the limit", (int)value_length, value_start, @@ -918,7 +918,7 @@ static bool parse_line( } else if (new_processor_index > processor_index + 1) { /* Strange, but common: skipped * processor $(processor_index + 1) */ - cpuinfo_log_info( + cpuinfo_log_warning( "unexpectedly high processor number %" PRIu32 " following processor %" PRIu32 " in /proc/cpuinfo", new_processor_index, diff --git a/src/x86/linux/cpuinfo.c b/src/x86/linux/cpuinfo.c index ff90884e..7df72aba 100644 --- a/src/x86/linux/cpuinfo.c +++ b/src/x86/linux/cpuinfo.c @@ -99,7 +99,7 @@ static bool parse_line( } /* Skip line if no ':' separator was found. */ if (separator == line_end) { - cpuinfo_log_info( + cpuinfo_log_debug( "Line %.*s in /proc/cpuinfo is ignored: key/value separator ':' not found", (int)(line_end - line_start), line_start); @@ -115,7 +115,7 @@ static bool parse_line( } /* Skip line if key contains nothing but spaces. */ if (key_end == line_start) { - cpuinfo_log_info( + cpuinfo_log_debug( "Line %.*s in /proc/cpuinfo is ignored: key contains only spaces", (int)(line_end - line_start), line_start); @@ -131,7 +131,7 @@ static bool parse_line( } /* Value part contains nothing but spaces. Skip line. */ if (value_start == line_end) { - cpuinfo_log_info( + cpuinfo_log_debug( "Line %.*s in /proc/cpuinfo is ignored: value contains only spaces", (int)(line_end - line_start), line_start); @@ -177,7 +177,7 @@ static bool parse_line( } else if (new_processor_index > processor_index + 1) { /* Strange, but common: skipped * processor $(processor_index + 1) */ - cpuinfo_log_info( + cpuinfo_log_warning( "unexpectedly high processor number %" PRIu32 " following processor %" PRIu32 " in /proc/cpuinfo", new_processor_index,