[PATCH 2/8] arm64/efi: register UEFI reserved regions as iomem resources

Matt Fleming matt at console-pimps.org
Tue Jan 6 01:13:22 PST 2015


On Mon, 22 Dec, at 07:08:36PM, Ard Biesheuvel wrote:
> To prevent device drivers from attaching to device or memory regions
> owned by the firmware, register all UEFI reserved regions in the iomem
> resource table at init time.
> 
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> ---
>  arch/arm64/kernel/efi.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 46 insertions(+)

Looks nice.

Just curious, have you actually seen drivers trying to claim these
regions?

-- 
Matt Fleming, Intel Open Source Technology Center



More information about the linux-arm-kernel mailing list