On 6 January 2015 at 09:13, Matt Fleming <matt@xxxxxxxxxxxxxxxxx> wrote: > 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@xxxxxxxxxx> >> --- >> 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? > Yes. RTC and NOR flash in particular, which should not appear in the device tree in the first place if the firmware owns them, but let's not assume all firmware vendors will get that right first try, -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html