kexec.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] makedumpfile: Add support of mm randomization
@ 2016-10-06  9:50 Baoquan He
  2016-10-06  9:50 ` [PATCH v2 1/3] makedumpfile: Get info->kernel_version from SYMBOL(init_uts_ns) earlier Baoquan He
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Baoquan He @ 2016-10-06  9:50 UTC (permalink / raw)
  To: kumagai-atsushi; +Cc: dyoung, kexec, thgarnie, Baoquan He, tonli

This is v2 post.

Because of Thomas's kernel patchset, direct mapping, vmalloc and vmemmap
could have random starting address. They need be exported to VMCOREINFO
and let makedumpfile know this so that makedumpfile can identify these
memory areas correctly.

Below is the kernel patchset from Thomas:
x86/mm: memory area address KASLR 
https://lwn.net/Articles/692289/

I have posted a new kernel patchset to export the base of direct mapping,
vmalloc and vmemmap. The subject is:
kexec: Export memory sections virtual addresses to vmcoreinfo

v1->v2:
    According to Atsushi's comment, mainly change patch 3/3.
    - Remove VMALLOC_END_ORIG, VMEMMAP_END_ORIG , VMALLOC_END_2_6_31
      and VMEMMAP_END_2_6_31 since they are not needed anymore.
    - Put those number table member value assignment into
      get_versiondep_info_x86_64.

Baoquan He (3):
  makedumpfile: Get info->kernel_version from SYMBOL(init_uts_ns)
    earlier
  makedumpfile: Move get_versiondep_info calling earlier
  makedumpfile: Add support for MM randomization

 arch/x86_64.c  | 51 ++++++++++++++++++++++++++++++++++-----------------
 makedumpfile.c | 33 ++++++++++++++++-----------------
 makedumpfile.h |  7 +++----
 3 files changed, 53 insertions(+), 38 deletions(-)

-- 
2.5.5


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2016-10-06 10:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-06  9:50 [PATCH v2 0/3] makedumpfile: Add support of mm randomization Baoquan He
2016-10-06  9:50 ` [PATCH v2 1/3] makedumpfile: Get info->kernel_version from SYMBOL(init_uts_ns) earlier Baoquan He
2016-10-06  9:50 ` [PATCH v2 2/3] makedumpfile: Move get_versiondep_info calling earlier Baoquan He
2016-10-06  9:50 ` [PATCH v2 3/3] makedumpfile: Add support for MM randomization Baoquan He
2016-10-06 10:23 ` [PATCH v2 0/3] makedumpfile: Add support of mm randomization Baoquan He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).