On Wed, 15 Jun 2022 at 12:02, Catalin Marinas <catalin.marinas@xxxxxxx> wrote: > > On Tue, Jun 14, 2022 at 05:21:52PM +0800, Wupeng Ma wrote: > > From: Ma Wupeng <mawupeng1@xxxxxxxxxx> > > > > 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@xxxxxxxxxx> > > --- > > 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.