Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1235689
| From | Taku Izumi <izumi.taku@jp.fujitsu.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] Introduce "efi_fake_mem" boot option |
| Date | 2015-09-30 03:20 +0200 |
| Message-ID | <qeedP-6IR-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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". By specifying this parameter, you can add arbitrary attribute to specific memory range. This is useful for debugging of Memory Address Range Mirroring feature. This is updated version one of the former patch posted at http://www.mail-archive.com/linux-efi@vger.kernel.org/msg05936.html changelog: - change boot option name and spec efi_fake_mem_mirror=nn@ss -> efi_fake_mem=nn@ss:aa - rename print_efi_memmap() to efi_print_memmap() - introduce new config named CONFIG_EFI_MAX_FAKE_MEM - and some fix pointed by Matt Flemming Taku Izumi (2): x86, efi: rename print_efi_memmap() to efi_print_memmap() x86, efi: Add "efi_fake_mem" boot option Documentation/kernel-parameters.txt | 15 +++ arch/x86/include/asm/efi.h | 1 + arch/x86/kernel/setup.c | 4 +- arch/x86/platform/efi/efi.c | 4 +- drivers/firmware/efi/Kconfig | 22 ++++ drivers/firmware/efi/Makefile | 1 + drivers/firmware/efi/fake_mem.c | 238 ++++++++++++++++++++++++++++++++++++ include/linux/efi.h | 6 + 8 files changed, 288 insertions(+), 3 deletions(-) create mode 100644 drivers/firmware/efi/fake_mem.c -- 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/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] Introduce "efi_fake_mem" boot option Taku Izumi <izumi.taku@jp.fujitsu.com> - 2015-09-30 03:20 +0200
[PATCH 1/2] x86, efi: rename print_efi_memmap() to efi_print_memmap() Taku Izumi <izumi.taku@jp.fujitsu.com> - 2015-09-30 03:20 +0200
[PATCH 2/2] x86, efi: Add "efi_fake_mem" boot option Taku Izumi <izumi.taku@jp.fujitsu.com> - 2015-09-30 03:20 +0200
RE: [PATCH 2/2] x86, efi: Add "efi_fake_mem" boot option "Izumi, Taku" <izumi.taku@jp.fujitsu.com> - 2015-09-30 07:00 +0200
csiph-web