tmp_suning_uos_patched/include/acpi
Mark Langsdorf fcfd8282c5 ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions
[ Upstream commit f81bdeaf816142e0729eea0cc84c395ec9673151 ]

ACPICA commit bc02c76d518135531483dfc276ed28b7ee632ce1

The current ACPI_ACCESS_*_WIDTH defines do not provide a way to
test that size is small enough to not cause an overflow when
applied to a 32-bit integer.

Rather than adding more magic numbers, add ACPI_ACCESS_*_SHIFT,
ACPI_ACCESS_*_MAX, and ACPI_ACCESS_*_DEFAULT #defines and
redefine ACPI_ACCESS_*_WIDTH in terms of the new #defines.

This was inititally reported on Linux where a size of 102 in
ACPI_ACCESS_BIT_WIDTH caused an overflow error in the SPCR
initialization code.

Link: https://github.com/acpica/acpica/commit/bc02c76d
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 10:54:18 +01:00
..
platform Merge back earlier ACPICA-related changes for 5.10. 2020-10-08 18:04:04 +02:00
acbuffer.h
acconfig.h ACPICA: Tree-wide: fix various typos and spelling mistakes 2020-10-08 18:03:55 +02:00
acexcep.h ACPICA: Fix exception code class checks 2021-03-04 11:37:24 +01:00
acnames.h
acoutput.h
acpi_bus.h ACPI: Change acpi_device_always_present() into acpi_device_override_status() 2022-01-27 10:54:13 +01:00
acpi_drivers.h
acpi_io.h ACPI: OSL: Change the type of acpi_os_map_generic_address() return value 2020-09-11 16:45:00 +02:00
acpi_lpat.h
acpi_numa.h ACPI updates for 5.10-rc1 2020-10-14 11:42:04 -07:00
acpi.h
acpiosxf.h
acpixf.h ACPICA: Update version to 20200925 Version 20200925 2020-10-08 18:03:56 +02:00
acrestyp.h
actbl.h
actbl1.h
actbl2.h
actbl3.h
actypes.h ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions 2022-01-27 10:54:18 +01:00
acuuid.h ACPICA: acpi_help: Update UUID list 2020-10-08 18:03:55 +02:00
apei.h
battery.h ACPI: battery: include linux/power_supply.h 2020-09-25 18:31:19 +02:00
button.h
cppc_acpi.h
ghes.h ACPI / APEI: Add a notifier chain for unknown (vendor) CPER records 2020-09-16 10:30:42 +01:00
hed.h
nfit.h
pcc.h
pdc_intel.h
processor.h
reboot.h
video.h