[PATCH 0/4] Makedumpfile: Add 5-level paging support

Baoquan He bhe at redhat.com
Thu Mar 1 21:48:37 PST 2018


Kernel has 5-level paging support and now can support boot-time
switching between 4/5-level paging mode. This patchset is used to add
5-level paging support in makedumpfile.

A kernel fix is posted to export 'pgtable_l5_enabled' to tell if
the corrupted kernel is in 5-level paging mode.
https://patchwork.kernel.org/patch/10253399/

Patch 0001 and 0004 were made by Dou Liyang. While it doesn't work on
the latest 5-level code. So add patch 0002 to introduce 'pgtable_l5_enabled'.
Change and take out the function check_5level_paging() from dou's old
patch and add it into patch 0003. Except of these, don't touch other
part of dou's patches.

Thanks, dou, for the effort!

Baoquan He (2):
  Makedumpfile: Add pgtable_l5_enabled to number_table
  Makedumpfile: Add a new function check_5level_paging()

Dou Liyang (2):
  arch/x86_64: Cleanup the address translation of the 4-level page
    tables
  arch/x86_64: Add 5-level paging support

 arch/x86_64.c  | 130 +++++++++++++++++++++++++++++++++++++++++----------------
 makedumpfile.c |   3 ++
 makedumpfile.h |  39 +++++++++++------
 3 files changed, 123 insertions(+), 49 deletions(-)

-- 
2.13.6




More information about the kexec mailing list