From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Fleming Subject: Re: [PATCH 2/8] arm64/efi: register UEFI reserved regions as iomem resources Date: Tue, 6 Jan 2015 09:13:22 +0000 Message-ID: <20150106091322.GG3163@console-pimps.org> References: <1419275322-29811-1-git-send-email-ard.biesheuvel@linaro.org> <1419275322-29811-3-git-send-email-ard.biesheuvel@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1419275322-29811-3-git-send-email-ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ard Biesheuvel Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, leif.lindholm-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, roy.franz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, catalin.marinas-5wv7dgnIgG8@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org, matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org, dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, msalter-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org List-Id: linux-efi@vger.kernel.org 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 > --- > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: matt@console-pimps.org (Matt Fleming) Date: Tue, 6 Jan 2015 09:13:22 +0000 Subject: [PATCH 2/8] arm64/efi: register UEFI reserved regions as iomem resources In-Reply-To: <1419275322-29811-3-git-send-email-ard.biesheuvel@linaro.org> References: <1419275322-29811-1-git-send-email-ard.biesheuvel@linaro.org> <1419275322-29811-3-git-send-email-ard.biesheuvel@linaro.org> Message-ID: <20150106091322.GG3163@console-pimps.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > --- > 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