]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()
authorWang Kefeng <wangkefeng.wang@huawei.com>
Tue, 13 Sep 2022 04:25:51 +0000 (05:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2022 07:57:02 +0000 (09:57 +0200)
commitf6fe0681bdd03e91ca479be13fea92a9426d5163
tree4ec33cb7b5ccd462a9fcdba75693c98880dfb7e9
parent80ec7f839264c59a6fbecc6f308058b910c13ac0
ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()

[ Upstream commit 2ccd19b3ffac07cc7e75a2bd1ed779728bb67197 ]

After ARM supports p4d page tables, the pg_level for note_page()
in walk_pmd() should be 4, not 3, fix it.

Fixes: 84e6ffb2c49c ("arm: add support for folded p4d page tables")
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/mm/dump.c