mirror of https://gitee.com/openkylin/linux.git
ACPICA: Namespace: Eliminate dot...dot output during initialization.
This feature no longer serves any good purpose and also confuses any error messages during ACPICA initialization. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
e3ab8e42ff
commit
2fae3e56ca
|
@ -86,7 +86,7 @@ acpi_status acpi_ns_initialize_objects(void)
|
||||||
ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
|
ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
|
||||||
"**** Starting initialization of namespace objects ****\n"));
|
"**** Starting initialization of namespace objects ****\n"));
|
||||||
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
|
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
|
||||||
"Completing Region/Field/Buffer/Package initialization:"));
|
"Completing Region/Field/Buffer/Package initialization:\n"));
|
||||||
|
|
||||||
/* Set all init info to zero */
|
/* Set all init info to zero */
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ acpi_status acpi_ns_initialize_objects(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
|
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
|
||||||
"\nInitialized %u/%u Regions %u/%u Fields %u/%u "
|
"Initialized %u/%u Regions %u/%u Fields %u/%u "
|
||||||
"Buffers %u/%u Packages (%u nodes)\n",
|
"Buffers %u/%u Packages (%u nodes)\n",
|
||||||
info.op_region_init, info.op_region_count,
|
info.op_region_init, info.op_region_count,
|
||||||
info.field_init, info.field_count,
|
info.field_init, info.field_count,
|
||||||
|
@ -149,7 +149,7 @@ acpi_status acpi_ns_initialize_devices(void)
|
||||||
|
|
||||||
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
|
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
|
||||||
"Initializing Device/Processor/Thermal objects "
|
"Initializing Device/Processor/Thermal objects "
|
||||||
"by executing _INI methods:"));
|
"and executing _INI methods:\n"));
|
||||||
|
|
||||||
/* Tree analysis: find all subtrees that contain _INI methods */
|
/* Tree analysis: find all subtrees that contain _INI methods */
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ acpi_status acpi_ns_initialize_devices(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
|
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
|
||||||
"\nExecuted %u _INI methods requiring %u _STA executions "
|
"Executed %u _INI methods requiring %u _STA executions "
|
||||||
"(examined %u objects)\n",
|
"(examined %u objects)\n",
|
||||||
info.num_INI, info.num_STA, info.device_count));
|
info.num_INI, info.num_STA, info.device_count));
|
||||||
|
|
||||||
|
@ -348,14 +348,6 @@ acpi_ns_init_one_object(acpi_handle obj_handle,
|
||||||
acpi_ut_get_type_name(type)));
|
acpi_ut_get_type_name(type)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Print a dot for each object unless we are going to print the entire
|
|
||||||
* pathname
|
|
||||||
*/
|
|
||||||
if (!(acpi_dbg_level & ACPI_LV_INIT_NAMES)) {
|
|
||||||
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, "."));
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We ignore errors from above, and always return OK, since we don't want
|
* We ignore errors from above, and always return OK, since we don't want
|
||||||
* to abort the walk on any single error.
|
* to abort the walk on any single error.
|
||||||
|
@ -575,11 +567,6 @@ acpi_ns_init_one_device(acpi_handle obj_handle,
|
||||||
|
|
||||||
if (ACPI_SUCCESS(status)) {
|
if (ACPI_SUCCESS(status)) {
|
||||||
walk_info->num_INI++;
|
walk_info->num_INI++;
|
||||||
|
|
||||||
if ((acpi_dbg_level <= ACPI_LV_ALL_EXCEPTIONS) &&
|
|
||||||
(!(acpi_dbg_level & ACPI_LV_INFO))) {
|
|
||||||
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, "."));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#ifdef ACPI_DEBUG_OUTPUT
|
#ifdef ACPI_DEBUG_OUTPUT
|
||||||
else if (status != AE_NOT_FOUND) {
|
else if (status != AE_NOT_FOUND) {
|
||||||
|
|
Loading…
Reference in New Issue