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

Baoquan He bhe at redhat.com
Wed Apr 11 19:45:21 PDT 2018


Hi Tachibana, Nakayama,

Ping!

Now 5-level suport on x86 64 has been merged into 4.16, do we have plan
to merge this patchset? Or defer to a certain phase?

Thanks
Baoquan

On 03/02/18 at 01:48pm, Baoquan He wrote:
> 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