All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <5590EAA9.5090104@jp.fujitsu.com>

diff --git a/a/2.txt b/N1/2.txt
index 8b13789..dbecfdd 100644
--- a/a/2.txt
+++ b/N1/2.txt
@@ -1 +1,59 @@
+>From 88213b0f76e2f603c5a38690cbd85a4df1e646ba Mon Sep 17 00:00:00 2001
+From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
+Date: Mon, 29 Jun 2015 15:35:47 +0900
+Subject: [PATCH] add a new config option for memory mirror
 
+Add a new config option "CONFIG_MEMORY_MIRROR" for kernel assisted
+memory mirroring.
+
+In UEFI2.5 spec, Address based memory mirror is defined and it allows
+the system to create partial memory mirror.
+
+The feature guards important(kernel) memory to be mirrored by using
+the address based memory mirror.
+
+Now this depends on cpu architecure Haswell? Broadwell?
+---
+ arch/x86/Kconfig | 6 ++++++
+ mm/Kconfig       | 9 +++++++++
+ 2 files changed, 15 insertions(+)
+
+diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
+index e33e01b..56f17df 100644
+--- a/arch/x86/Kconfig
++++ b/arch/x86/Kconfig
+@@ -596,6 +596,12 @@ config X86_SUPPORTS_MEMORY_FAILURE
+ 	depends on X86_64 || !SPARSEMEM
+ 	select ARCH_SUPPORTS_MEMORY_FAILURE
+ 
++config X86_SUPPORTS_MEMORY_MIRROR
++	def_bool y
++	# UEFI 2.5spec. address based memory mirror, supported only after XXX
++	depends on X86_64 && ARCH_SUPPORTS_MEMORY_FAILURE
++	select ARCH_MEMORY_MIRROR
++
+ config STA2X11
+ 	bool "STA2X11 Companion Chip Support"
+ 	depends on X86_32_NON_STANDARD && PCI
+diff --git a/mm/Kconfig b/mm/Kconfig
+index b3a60ee..e14dc2d 100644
+--- a/mm/Kconfig
++++ b/mm/Kconfig
+@@ -200,6 +200,15 @@ config MEMORY_HOTREMOVE
+ 	depends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE
+ 	depends on MIGRATION
+ 
++config MEMORY_MIRROR
++	bool "Address range mirroring support"
++	depends on ARCH_MEMORY_MIRROR
++	default n
++	help
++	  This feature allows the kernel to assist address based memory
++	  mirror supported by architecture/firmware. And place some types
++          of memory (especially, kernel memory) placed into mirrored range.
++
+ #
+ # If we have space for more page flags then we can enable additional
+ # optimizations and functionality.
+-- 
+1.9.3
diff --git a/a/content_digest b/N1/content_digest
index 66cabcb..35ee1cb 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -52,5 +52,64 @@
  "\01:2\0"
  "fn\00001-add-a-new-config-option-for-memory-mirror.patch\0"
  "b\0"
+ ">From 88213b0f76e2f603c5a38690cbd85a4df1e646ba Mon Sep 17 00:00:00 2001\n"
+ "From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>\n"
+ "Date: Mon, 29 Jun 2015 15:35:47 +0900\n"
+ "Subject: [PATCH] add a new config option for memory mirror\n"
+ "\n"
+ "Add a new config option \"CONFIG_MEMORY_MIRROR\" for kernel assisted\n"
+ "memory mirroring.\n"
+ "\n"
+ "In UEFI2.5 spec, Address based memory mirror is defined and it allows\n"
+ "the system to create partial memory mirror.\n"
+ "\n"
+ "The feature guards important(kernel) memory to be mirrored by using\n"
+ "the address based memory mirror.\n"
+ "\n"
+ "Now this depends on cpu architecure Haswell? Broadwell?\n"
+ "---\n"
+ " arch/x86/Kconfig | 6 ++++++\n"
+ " mm/Kconfig       | 9 +++++++++\n"
+ " 2 files changed, 15 insertions(+)\n"
+ "\n"
+ "diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig\n"
+ "index e33e01b..56f17df 100644\n"
+ "--- a/arch/x86/Kconfig\n"
+ "+++ b/arch/x86/Kconfig\n"
+ "@@ -596,6 +596,12 @@ config X86_SUPPORTS_MEMORY_FAILURE\n"
+ " \tdepends on X86_64 || !SPARSEMEM\n"
+ " \tselect ARCH_SUPPORTS_MEMORY_FAILURE\n"
+ " \n"
+ "+config X86_SUPPORTS_MEMORY_MIRROR\n"
+ "+\tdef_bool y\n"
+ "+\t# UEFI 2.5spec. address based memory mirror, supported only after XXX\n"
+ "+\tdepends on X86_64 && ARCH_SUPPORTS_MEMORY_FAILURE\n"
+ "+\tselect ARCH_MEMORY_MIRROR\n"
+ "+\n"
+ " config STA2X11\n"
+ " \tbool \"STA2X11 Companion Chip Support\"\n"
+ " \tdepends on X86_32_NON_STANDARD && PCI\n"
+ "diff --git a/mm/Kconfig b/mm/Kconfig\n"
+ "index b3a60ee..e14dc2d 100644\n"
+ "--- a/mm/Kconfig\n"
+ "+++ b/mm/Kconfig\n"
+ "@@ -200,6 +200,15 @@ config MEMORY_HOTREMOVE\n"
+ " \tdepends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE\n"
+ " \tdepends on MIGRATION\n"
+ " \n"
+ "+config MEMORY_MIRROR\n"
+ "+\tbool \"Address range mirroring support\"\n"
+ "+\tdepends on ARCH_MEMORY_MIRROR\n"
+ "+\tdefault n\n"
+ "+\thelp\n"
+ "+\t  This feature allows the kernel to assist address based memory\n"
+ "+\t  mirror supported by architecture/firmware. And place some types\n"
+ "+          of memory (especially, kernel memory) placed into mirrored range.\n"
+ "+\n"
+ " #\n"
+ " # If we have space for more page flags then we can enable additional\n"
+ " # optimizations and functionality.\n"
+ "-- \n"
+ 1.9.3
 
-f33625d8765e48b53375c5316e272c25da93d42a797efca6dcfb265c8e760fea
+0d8bd4c8b4f0745ac57988a686ec3dd07d982d210c63823de5b4abaaf8968918

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.