android_kernel_motorola_sm6375/include/acpi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mark Langsdorf a4c6cde223 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: 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 09:19:45 +01:00
..
platform
acbuffer.h
acconfig.h ACPICA: Increase total number of possible Owner IDs 2019-08-21 00:00:36 +02:00
acexcep.h ACPICA: Fix exception code class checks 2021-03-04 10:26:14 +01:00
acnames.h
acoutput.h
acpi.h
acpi_bus.h ACPI: fix NULL pointer dereference 2021-08-08 09:04:08 +02:00
acpi_drivers.h Linux 5.2-rc4 2019-06-14 14:18:53 -06:00
acpi_io.h
acpi_lpat.h
acpi_numa.h
acpiosxf.h ACPICA: Fully deploy ACPI_PRINTF_LIKE macro 2019-08-21 00:00:37 +02:00
acpixf.h ACPICA: Allow acpi_any_gpe_status_set() to skip one GPE 2020-04-17 10:50:09 +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 09:19:45 +01:00
acuuid.h
apei.h
battery.h
button.h
cppc_acpi.h
ghes.h
hed.h
nfit.h
pcc.h
pdc_intel.h
processor.h x86: ACPI: fix CPU hotplug deadlock 2020-04-23 10:36:38 +02:00
reboot.h
video.h