-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
only 39bit of virtual address space available #6261
Comments
Duplicate of #4375? |
as correctly described here #4375 (comment) , the page table size is a function of the virtual address space, not the other way around. so the other issue is asking for the same thing but (the title is) worded the wrong way. |
52bits (with a runtime fallback to 48bits on hardware that doesn't support it) is the default on all arm64 kernels as of kernel 6.9 |
the particular wine issue has been resolved via a custom patch Pi-Apps-Coders/files@a8609ce closing as my primary reason has been resolved |
Describe the bug
using 39bits of virtual address space causes issues primarily on emulation of x64 software (such as wine with box64) and it would be better to build the kernel with 48bits of virtual address space
this is a common usecase as evident by the 16K+ installs of
Wine (x64)
via pi-apps https://pi-apps.io/wiki/getting-started/apps-list/#wine-(x64) and ~44K installs ofBox64
via pi-apps https://pi-apps.io/wiki/getting-started/apps-list/#box64Steps to reproduce the behaviour
boot linux. observe that it uses the (default) 39bits address space on 4K pagesize and 47bits address space on 16K pagesize
Device (s)
Raspberry Pi Zero 2 W, Raspberry Pi 3 Mod. A+, Raspberry Pi 3 Mod. B, Raspberry Pi 3 Mod. B+, Raspberry Pi 4 Mod. B, Raspberry Pi 400, Raspberry Pi 5, Raspberry Pi CM3, Raspberry Pi CM3 Lite, Raspberry Pi CM3+, Raspberry Pi CM3+ Lite, Raspberry Pi CM4, Raspberry Pi CM4 Lite
System
all ARM64 kernel releases (both 4K and 16K pagesizes)
Logs
No response
Additional context
Solution:
the following args (though all are not explicitly necessary since they are dependencies of one another) achieve 48bits of virtual address space on ARM64
The text was updated successfully, but these errors were encountered: