Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp209055ybv; Wed, 19 Feb 2020 19:43:44 -0800 (PST) X-Google-Smtp-Source: APXvYqzBh6MtZEDcCHntbecLe55bkDgCI5/jz8LnTRktM1VK/IurP02lAWwkGfUW15ouYYSM1WRe X-Received: by 2002:a05:6830:1d4c:: with SMTP id p12mr23336487oth.198.1582170224086; Wed, 19 Feb 2020 19:43:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582170224; cv=none; d=google.com; s=arc-20160816; b=lRMWidEFAmG1+1UwJWOvUCc6E+X1PCtovbughO4+3uofAWhRWYOobyPu8qghAz33WK dJkefIjW5m3uds9qXwJp3fXPUEfiwg0ALRTqwYN5ZixRE6bfqJM8HQvkPl1jiMajOSL5 BPTxKR1nR4zXVG3fRMkKOX28jVzDVU0s9HNuz+gyYo7dOQC6/I1E8Ufznn8WVlryPTty 0S9gzQQF3YUe83JO+Vt9/2L+ChFqH9bI6fV/gIVT2CRnECqMHqrYUnkvWm5IF+8wHAkV zil2A/npc0AW8zUig0GHKEDe+OeVB8LPBFUEeN9lydiafF1df4PmBpCzAo/aPZ7zbPcH Q1gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=x5TCGc04D4EZK3HqorOKa2Hya6Z4xr5zfbR8UaQaCkQ=; b=QG0YIjEYkw+WNQHdRqoqvKzYKA0j+lSipnGODL6CDbNnHRcvHBYDRVggy/L/xNKwwW WkasFn2JVRJn7Fh2fqSfyfrtfYq3cPAuL9qub7+JQy0VF0QtFs/kPmCi1chk9lKC2rRU cnISCTFOSTTcNBF8IJ19E+e1nV+NzevnotN4Y6Ad2v8Qsq7z7yC3+E90rG6hjGfx3YXF w3kXH3KkwUsJG+MX30vlzKmK0T8s2Gm52kr01QENYMnRcPehzgWqbOjx5G66RT+FweSc kVjTyfJY+ijtZIi0Iu7z/73I0kghvanTDNJfH/rjRDnpITy4Pa5HcbBJPcIhWwnfHPuY weOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a92si948860otc.294.2020.02.19.19.43.30; Wed, 19 Feb 2020 19:43:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727930AbgBTDnY (ORCPT + 99 others); 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 Content-Type: text/plain X-Originating-IP: [10.175.112.70] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 1.8.3.1