]> www.infradead.org Git - linux-platform-drivers-x86.git/commit
ACPI: processor: Get rid of ACPICA message printing
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Feb 2021 18:59:13 +0000 (19:59 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Mar 2021 15:51:19 +0000 (16:51 +0100)
commit52af99c3f55ff0afd815eac0271db2e1751af55c
tree5ffd918939347a7c8422b7223fc295f69f218ba1
parent54e051920726caacc39b331647cdada93ee880da
ACPI: processor: Get rid of ACPICA message printing

The ACPI_DEBUG_PRINT() and ACPI_EXCEPTION() macros are used for
message printing in the ACPICA code and they should not be used
elsewhere.  Special configuration (either kernel command line or
sysfs-based) is needed to see the messages printed by them and
the format of those messages is also special and convoluted.

For this reason, replace all of the ACPI_DEBUG_PRINT() and
ACPI_EXCEPTION() instances in the ACPI processor driver with
corresponding dev_*(), acpi_handle_*() and pr_*() calls depending
on the context in which they appear.

Also drop the ACPI_PROCESSOR_COMPONENT definition that is not going
to be necessary any more.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Documentation/firmware-guide/acpi/debug.rst
drivers/acpi/acpi_processor.c
drivers/acpi/processor_driver.c
drivers/acpi/processor_idle.c
drivers/acpi/processor_pdc.c
drivers/acpi/processor_perflib.c
drivers/acpi/processor_throttling.c
drivers/acpi/sysfs.c
include/acpi/acpi_drivers.h