[PATCH] arm64/mm: remove useless trans_pgd_map_page()

Pavel Tatashin pasha.tatashin at soleen.com
Tue Apr 6 17:58:10 BST 2021


Hi Pingfan,

On Tue, Apr 6, 2021 at 9:14 AM Pingfan Liu <kernelfans at gmail.com> wrote:
>
> Since the commit 7018d467ff2d ("arm64: trans_pgd: hibernate: idmap the
> single page that holds the copy page routines"), trans_pgd_map_page() is
> useless.

Let's keep this function for now. This function is used in my version
11 of mmu enabled kexec patches; but not used in version 12 where we
changed to a linear map instead of contiguous map. However, until the
final solution for mmu-enabled kexec lands in the mainline, I think it
is better to keep it.

Thank you,
Pasha



More information about the linux-arm-kernel mailing list