]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/ptdump:display the Linear Mapping start marker
authorHailong Liu <liu.hailong6@zte.com.cn>
Tue, 2 Feb 2021 15:07:49 +0000 (23:07 +0800)
committerWill Deacon <will@kernel.org>
Tue, 2 Feb 2021 21:12:35 +0000 (21:12 +0000)
commit9dc6635b84bbbce8300cb116ae4eb759b1789841
treee643ff3288172fe103f0bfe0c7f3d660ea142df7
parente5e3c957fec359460b9e0774c130f84dfcd65b51
arm64/ptdump:display the Linear Mapping start marker

The current /sys/kernel/debug/kernel_page_tables does not display the
*Linear Mapping start* marker on arm64, which I think should be paired
with the *Linear Mapping end* marker.

Since *Linear Mapping start* is the first marker, use initialise 'level'
to -1 in order to display it.

Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn>
Link: https://lore.kernel.org/r/20210202150749.10104-1-liuhailongg6@163.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/mm/ptdump.c