summaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-01-24 18:11:40 +0100
committerWill Deacon <will.deacon@arm.com>2017-01-26 13:15:13 +0100
commit79ba11d24b28ead94b976c4d7c8bf8e6c349eb36 (patch)
tree01339627bc16d6e4951cc5b39f2f0569569c96e3 /arch/arm64/Kconfig
parentdrivers: firmware: psci: Use __pa_symbol for cpu_resume (diff)
downloadlinux-79ba11d24b28ead94b976c4d7c8bf8e6c349eb36.tar.xz
linux-79ba11d24b28ead94b976c4d7c8bf8e6c349eb36.zip
arm64: kernel: do not mark reserved memory regions as IORESOURCE_BUSY
Memory regions marked as NOMAP should not be used for general allocation by the kernel, and should not even be covered by the linear mapping (hence the name). However, drivers or other subsystems (such as ACPI) that access the firmware directly may legally access them, which means it is also reasonable for such drivers to claim them by invoking request_resource(). Currently, this is prevented by the fact that arm64's request_standard_resources() marks reserved regions as IORESOURCE_BUSY. So drop the IORESOURCE_BUSY flag from these requests. Reported-by: Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions