Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752234AbbHTIW4 (ORCPT ); Thu, 20 Aug 2015 04:22:56 -0400 Received: from mgwym01.jp.fujitsu.com ([211.128.242.40]:24651 "EHLO mgwym01.jp.fujitsu.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751531AbbHTIWx (ORCPT ); Thu, 20 Aug 2015 04:22:53 -0400 X-Greylist: delayed 624 seconds by postgrey-1.27 at vger.kernel.org; Thu, 20 Aug 2015 04:22:53 EDT From: Taku Izumi To: linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, x86@kernel.org, matt.fleming@intel.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com Cc: tony.luck@intel.com, qiuxishi@huawei.com, kamezawa.hiroyu@jp.fujitsu.com, Taku Izumi Subject: [PATCH 0/2][RFC] Introduce "efi_fake_mem_mirror" boot option Date: Fri, 21 Aug 2015 02:15:02 +0900 Message-Id: <1440090902-15157-1-git-send-email-izumi.taku@jp.fujitsu.com> X-Mailer: git-send-email 1.8.3.1 X-TM-AS-MML: disable Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1319 Lines: 32 UEFI spec 2.5 introduces new Memory Attribute Definition named EFI_MEMORY_MORE_RELIABLE which indicates which memory ranges are mirrored. Now linux kernel can recognize which memory ranges are mirrored by handling EFI_MEMORY_MORE_RELIABLE attributes. However testing this feature necesitates boxes with UEFI spec 2.5 complied firmware. This patchset introduces new boot option named "efi_fake_mem_mirror". By specifying this parameter, you can mark specific memory as mirrored memory. This is useful for debugging of Memory Address Range Mirroring feature. Taku Izumi (2): efi: Add EFI_MEMORY_MORE_RELIABLE support to efi_md_typeattr_format() x86, efi: Add "efi_fake_mem_mirror" boot option Documentation/kernel-parameters.txt | 8 ++ arch/x86/include/asm/efi.h | 2 + arch/x86/kernel/setup.c | 4 +- arch/x86/platform/efi/efi.c | 2 +- arch/x86/platform/efi/quirks.c | 169 ++++++++++++++++++++++++++++++++++++ drivers/firmware/efi/efi.c | 6 +- 6 files changed, 187 insertions(+), 4 deletions(-) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/