[GIT PULL] ACPI fixes for v5.9-rc3

From: Rafael J. Wysocki
Date: Fri Aug 28 2020 - 15:51:37 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-5.9-rc3

with top-most commit 4f31d53c21ec98a2c8973cff759804bd1c217c93

Merge branch 'acpi-mm'

on top of commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5

Linux 5.9-rc1

to receive ACPI fixes for 5.9-rc3.

These fix two recent issues in the ACPI memory mappings management
code and tighten up error handling in the ACPI driver for AMD SoCs
(APD).

Specifics:

- Avoid redundant rounding to the page size in acpi_os_map_iomem()
to address a recently introduced issue with the EFI memory map
permission check on ARM64 (Ard Biesheuvel).

- Fix acpi_release_memory() to wait until the memory mappings
released by it have been really unmapped (Rafael Wysocki).

- Make the ACPI driver for AMD SoCs (APD) check the return value
of acpi_dev_get_property() to avoid failures in the cases when the
device property under inspection is missing (Furquan Shaikh).

Thanks!


---------------

Ard Biesheuvel (1):
ACPI: ioremap: avoid redundant rounding to OS page size

Furquan Shaikh (1):
ACPI: SoC: APD: Check return value of acpi_dev_get_property()

Rafael J. Wysocki (1):
ACPI: OSL: Prevent acpi_release_memory() from returning too early

---------------

drivers/acpi/acpi_apd.c | 4 ++--
drivers/acpi/osl.c | 23 +++++++++++++++++++----
2 files changed, 21 insertions(+), 6 deletions(-)