linux/include/acpi
Hans de Goede e7c2c3c909 ACPICA: Remove calling of _STA from acpi_get_object_info()
As the documentatuon above its declaration indicates, acpi_get_object_info()
is intended for early probe usage and as such should not call any methods
which may rely on op_regions, before this commit it was also calling _STA,
which on some systems does rely on op_regions.

Calling _STA before things are ready leads to errors such as these
(under Linux, on some hardware):

[    0.123579] ACPI Error: No handler for Region [ECRM] (00000000ba9edc4c)
               [generic_serial_bus] (20170831/evregion-166)
[    0.123601] ACPI Error: Region generic_serial_bus (ID=9) has no handler
               (20170831/exfldio-299)
[    0.123618] ACPI Error: Method parse/execution failed
               \_SB.I2C1.BAT1._STA, AE_NOT_EXIST (20170831/psparse-550)

End 2015 support for the _SUB method was removed for exactly the same
reason. Removing current_status from struct acpi_device_info only has a limited
impact. Within ACPICA it is only used by 2 debug messages, both
of which are modified to no longer print it with this commit.

Outside of ACPICA, there was one user in Linux, which has been patched to
no longer use current_status in Torvald's current master.

I've not checked if free_BSD or others are using the current_status field.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2018-03-18 18:52:00 +01:00
..
platform ACPICA: Events: Dispatch GPEs after enabling for the first time 2018-03-18 18:52:00 +01:00
acbuffer.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acconfig.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acexcep.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acnames.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acoutput.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acpi_bus.h ACPI: utils: Introduce acpi_dev_get_first_match_name() 2018-01-10 00:41:43 +01:00
acpi_drivers.h ACPI / EC: Fix regression related to PM ops support in ECDT device 2017-11-21 00:13:02 +01:00
acpi_io.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
acpi_lpat.h ACPI / LPAT: Common table processing functions 2015-01-29 21:02:10 +08:00
acpi_numa.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
acpi.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acpiosxf.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acpixf.h ACPICA: Update version to 20180209 2018-02-21 23:51:08 +01:00
acrestyp.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
actbl1.h ACPICA: Restructure ACPI table files 2018-02-21 23:48:18 +01:00
actbl2.h ACPICA: Restructure ACPI table files 2018-02-21 23:48:18 +01:00
actbl3.h ACPICA: Restructure ACPI table files 2018-02-21 23:48:18 +01:00
actbl.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
actypes.h ACPICA: Remove calling of _STA from acpi_get_object_info() 2018-03-18 18:52:00 +01:00
acuuid.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
apei.h Merge branches 'acpi-pmic', 'acpi-apei' and 'acpi-x86' 2017-11-13 01:37:17 +01:00
button.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cppc_acpi.h ACPI / CPPC: add sysfs entries for CPPC perf capabilities 2017-04-18 23:37:50 +02:00
ghes.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hed.h ACPI Hardware Error Device (PNP0C33) support 2010-05-19 22:40:24 -04:00
pcc.h mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file 2017-11-09 00:39:53 +01:00
pdc_intel.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
processor.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
reboot.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
video.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00