Re: [PATCH 0/2] Fix arm64 boot regression in 5.14

2021-07-20 Thread Christophe Leroy
Will Deacon a écrit : Hi folks, Jonathan reports [1] that commit c742199a014d ("mm/pgtable: add stubs for {pmd/pub}_{set/clear}_huge") breaks the boot on arm64 when huge mappings are used to map the kernel linear map but the VA size is configured such that PUDs are folded. This is because the

Re: [PATCH 0/2] Fix arm64 boot regression in 5.14

2021-07-20 Thread Marc Zyngier
On 2021-07-20 13:35, Will Deacon wrote: Hi folks, Jonathan reports [1] that commit c742199a014d ("mm/pgtable: add stubs for {pmd/pub}_{set/clear}_huge") breaks the boot on arm64 when huge mappings are used to map the kernel linear map but the VA size is configured such that PUDs are folded. This

Re: [PATCH 0/2] Fix arm64 boot regression in 5.14

2021-07-20 Thread Ard Biesheuvel
On Tue, 20 Jul 2021 at 14:35, Will Deacon wrote: > > Hi folks, > > Jonathan reports [1] that commit c742199a014d ("mm/pgtable: add stubs > for {pmd/pub}_{set/clear}_huge") breaks the boot on arm64 when huge > mappings are used to map the kernel linear map but the VA size is > configured such that

[PATCH 0/2] Fix arm64 boot regression in 5.14

2021-07-20 Thread Will Deacon
Hi folks, Jonathan reports [1] that commit c742199a014d ("mm/pgtable: add stubs for {pmd/pub}_{set/clear}_huge") breaks the boot on arm64 when huge mappings are used to map the kernel linear map but the VA size is configured such that PUDs are folded. This is because the non-functional pud_set_hug