Hi Dave,
At 12/21/2017 01:15 AM, Dave Anderson wrote:
>> No, not really. I originally delayed further work because
originally it
>> was enabled by kernel CONFIG, but as I understand it now, it is enabled by
>> a combination of a kernel CONFIG and a boot command line option? But
> I am sorry I just found the CONFIG_X86_5LEVEL, Could you tell me the
> name of boot command line option?
I thought I had seen a patch posted on LKML that enabled the boot command line option,
but according to the current Documentation/x86/x86_64/5level-paging.txt, it is still
TBD:
$ cat Documentation/x86/x86_64/5level-page.txt
... [ cut ] ...
== Enabling 5-level paging ==
CONFIG_X86_5LEVEL=y enables the feature.
So far, a kernel compiled with the option enabled will be able to boot
only on machines that supports the feature -- see for 'la57' flag in
/proc/cpuinfo.
The plan is to implement boot-time switching between 4- and 5-level paging
in the future.
Yes, I saw it in the newest v6 patches.
Thanks,
dou.