[PATCH v5 1/5] efi: arm64: Introduce ability to find mirrored memory ranges
Ard Biesheuvel
ardb at kernel.org
Wed Jun 15 03:03:50 PDT 2022
On Wed, 15 Jun 2022 at 12:02, Catalin Marinas <catalin.marinas at arm.com> wrote:
>
> On Tue, Jun 14, 2022 at 05:21:52PM +0800, Wupeng Ma wrote:
> > From: Ma Wupeng <mawupeng1 at huawei.com>
> >
> > Commit b05b9f5f9dcf ("x86, mirror: x86 enabling - find mirrored memory
> > ranges") introduce the efi_find_mirror() function on x86. In order to reuse
> > the API we make it public.
> >
> > Arm64 can support mirrored memory too, so function efi_find_mirror() is added to
> > efi_init() to this support for arm64.
> >
> > Since efi_init() is shared by ARM, arm64 and riscv, this patch will bring
> > mirror memory support for these architectures, but this support is only tested
> > in arm64.
> >
> > Signed-off-by: Ma Wupeng <mawupeng1 at huawei.com>
> > ---
> > arch/x86/include/asm/efi.h | 4 ----
> > arch/x86/platform/efi/efi.c | 23 -----------------------
> > drivers/firmware/efi/efi-init.c | 1 +
> > drivers/firmware/efi/efi.c | 23 +++++++++++++++++++++++
> > include/linux/efi.h | 3 +++
>
> The subject prefix says "efi: arm64: " but it looks like x86 diffstat
> here. You may want to get an ack from the x86 maintainers.
>
This just moves efi code around, and this is going through the EFI
tree, so that should be fine. I'll fix the subject in any case,
though.
More information about the linux-riscv
mailing list