From patchwork Fri Feb 21 12:52:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jing Xiangfeng X-Patchwork-Id: 206551 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DATE_IN_FUTURE_24_48, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75786C3404C for ; Thu, 20 Feb 2020 03:43:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4E1E324658 for ; Thu, 20 Feb 2020 03:43:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727637AbgBTDnY (ORCPT ); Wed, 19 Feb 2020 22:43:24 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:10225 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727370AbgBTDnY (ORCPT ); Wed, 19 Feb 2020 22:43:24 -0500 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 66B2FF2315AB71E79447; Thu, 20 Feb 2020 11:43:21 +0800 (CST) Received: from localhost.localdomain (10.175.112.70) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.439.0; Thu, 20 Feb 2020 11:43:12 +0800 From: Jing Xiangfeng To: , , , , , , , CC: , , , , , Subject: [PATCH 0/2] arm64: Support to find mirrored memory ranges Date: Fri, 21 Feb 2020 07:52:58 -0500 Message-ID: <1582289580-24045-1-git-send-email-jingxiangfeng@huawei.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Originating-IP: [10.175.112.70] X-CFilter-Loop: Reflected Sender: linux-efi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org This series enable finding mirrored memory ranges functionality on arm64 platform. This feature has been implemented on the x86 platform, so we move some functions from x86. Jing Xiangfeng (2): efi: allow EFI_FAKE_MEMMAP on arm64 platform arm64/efi: support to find mirrored memory ranges arch/x86/include/asm/efi.h | 5 ----- arch/x86/platform/efi/efi.c | 39 --------------------------------------- drivers/firmware/efi/Kconfig | 2 +- drivers/firmware/efi/arm-init.c | 2 ++ drivers/firmware/efi/efi.c | 23 +++++++++++++++++++++++ drivers/firmware/efi/memmap.c | 16 ++++++++++++++++ include/linux/efi.h | 5 +++++ 7 files changed, 47 insertions(+), 45 deletions(-)