public inbox for linux-efi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2][RFC] Introduce "efi_fake_mem_mirror" boot option
@ 2015-08-20 17:15 Taku Izumi
       [not found] ` <1440090902-15157-1-git-send-email-izumi.taku-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
  2015-08-20 17:16 ` [PATCH 2/2] x86, efi: Add "efi_fake_mem_mirror" boot option Taku Izumi
  0 siblings, 2 replies; 8+ messages in thread
From: Taku Izumi @ 2015-08-20 17:15 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-efi-u79uwXL29TY76Z2rM5mHXA, x86-DgEjT+Ai2ygdnm+yROfE0A,
	matt.fleming-ral2JQCrhuEAvxtiuMwx3w, tglx-hfZtesqFncYOwBW4kG4KsQ,
	mingo-H+wXaHxf7aLQT0dZR+AlfA, hpa-YMNOUZJC4hwAvxtiuMwx3w
  Cc: tony.luck-ral2JQCrhuEAvxtiuMwx3w, qiuxishi-hv44wF8Li93QT0dZR+AlfA,
	kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A, Taku Izumi

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-08-26  8:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-20 17:15 [PATCH 0/2][RFC] Introduce "efi_fake_mem_mirror" boot option Taku Izumi
     [not found] ` <1440090902-15157-1-git-send-email-izumi.taku-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2015-08-20 17:15   ` [PATCH 1/2] efi: Add EFI_MEMORY_MORE_RELIABLE support to efi_md_typeattr_format() Taku Izumi
     [not found]     ` <1440090952-15211-1-git-send-email-izumi.taku-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2015-08-25 14:18       ` Matt Fleming
     [not found]         ` <20150825141819.GA3013-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2015-08-25 14:23           ` Ard Biesheuvel
     [not found]             ` <CAKv+Gu81+bPKYAmSUtJ1fEF_9Tc8bOfmPSE8Kx4Ymv-HVojmdQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-25 15:03               ` Matt Fleming
2015-08-20 17:16 ` [PATCH 2/2] x86, efi: Add "efi_fake_mem_mirror" boot option Taku Izumi
     [not found]   ` <1440090960-15252-1-git-send-email-izumi.taku-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2015-08-25 23:46     ` Matt Fleming
     [not found]       ` <20150825234618.GC3013-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2015-08-26  8:11         ` Izumi, Taku

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox