Re: [PATCH] target/arm: Avoid target_ulong for physical address lookups

2024-09-23 Thread Arnd Bergmann
On Mon, Sep 23, 2024, at 09:22, Ard Biesheuvel wrote: > From: Ard Biesheuvel > > target_ulong is typedef'ed as a 32-bit integer when building the > qemu-system-arm target, and this is smaller than the size of an > intermediate physical address when LPAE is being used. > > Given that Linux may plac

Re: [PATCH] target/arm: Avoid target_ulong for physical address lookups

2024-09-23 Thread Richard Henderson
On 9/23/24 11:22, Ard Biesheuvel wrote: From: Ard Biesheuvel target_ulong is typedef'ed as a 32-bit integer when building the qemu-system-arm target, and this is smaller than the size of an intermediate physical address when LPAE is being used. Given that Linux may place leaf level user page ta

[PATCH] target/arm: Avoid target_ulong for physical address lookups

2024-09-23 Thread Ard Biesheuvel
From: Ard Biesheuvel target_ulong is typedef'ed as a 32-bit integer when building the qemu-system-arm target, and this is smaller than the size of an intermediate physical address when LPAE is being used. Given that Linux may place leaf level user page tables in high memory when built for LPAE,