Hi,

On 21/04/2023 09:03, Michal Orzel wrote:
On 13/04/2023 19:37, Ayan Kumar Halder wrote:


When 32 bit physical addresses are used (ie PHYS_ADDR_T_32=y),
"va >> ZEROETH_SHIFT" causes an overflow.
Also, there is no zeroeth level page table on Arm32.

Also took the opportunity to clean up dump_pt_walk(). One could use
DECLARE_OFFSETS() macro instead of declaring the declaring an array
s/declaring the declaring/declaring/

of page table offsets.

Signed-off-by: Ayan Kumar Halder <[email protected]>
Reviewed-by: Michal Orzel <[email protected]>

Acked-by: Julien Grall <[email protected]>

Cheers,

--
Julien Grall

Reply via email to