Re: [PATCH] bsps/aarch64: Use MMU pages appropriately

2022-07-05 Thread Chris Johns
On 6/7/2022 5:38 am, Joel Sherrill wrote: > I'm ok with this. But Chris should speak up about the Versal. OK to push. Tested on Versal hardware and it boots as before. I have not returned to see if I can get access to at least 4G of memory in the lower 32bits of the address space. That is in the

Re: [PATCH] bsps/aarch64: Use MMU pages appropriately

2022-07-05 Thread Joel Sherrill
I'm ok with this. But Chris should speak up about the Versal. On Tue, Jul 5, 2022 at 2:36 PM Kinsey Moore wrote: > There were two bugs with MMU page use that were partially hiding each > other. The linker script page table section was 4x the size it needed to > be and the page table allocation

[PATCH] bsps/aarch64: Use MMU pages appropriately

2022-07-05 Thread Kinsey Moore
There were two bugs with MMU page use that were partially hiding each other. The linker script page table section was 4x the size it needed to be and the page table allocation routine was allocating pages PTRSIZE times larger than it needed to. On ILP32, this resulted in incorrect but functional