ACPI: processor: Print more information when acpi_processor_evaluate_cst() fails
authorChen Yu <yu.c.chen@intel.com>
Wed, 19 Aug 2020 03:23:54 +0000 (11:23 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Sep 2020 16:24:35 +0000 (18:24 +0200)
commit653f68b6ecd15cf147817bb01c2b7d02f4bffc8e
tree1b48a01e5498f548790efbf9a50cb32decc4554c
parent1170433e6611402b869c583fa1fbfd85106ff066
ACPI: processor: Print more information when acpi_processor_evaluate_cst() fails

Some platforms have bogus _CST which might cause unexpectd behavior
in the CPU idle driver. Some bogus _CST might be unable to be
disassembled by acpica-tools due to broken format.

Print extra log if the _CST extraction/verification failes.

This can be used to help narrow down why the CPU idle driver fails
to behave as expected.

Suggested-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_processor.c