arm64: Allow AArch32 on arm64 with 64k PAGE_SIZE
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm64: fix implementation of mmap2 compat syscallarch/ arch/ arch/ | +25 | 0 replies | |
| 2/2 | arm64: Enable CONFIG_COMPAT also for 64k page sizearch/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] arm64: Allow AArch32 on arm64 with 64k PAGE_SIZE
With binutils 2.25 the default alignment for 32bit arm sections changed to have everything 64k aligned. Armv7 binaries built with this binutils version run successfully on an arm64 system with this patch set applied.
This provides the best of both worlds for some users. You get less page faults, but can still run legacy broken code that might not be 64bit safe yet.
If you want to give this a try, you obviously need user space that was compiled with 64k constraints fulfilled. For a working rootfs, just grab the latest openSUSE Factory tree:
Alex
Alexander Graf (1):
arm64: Enable CONFIG_COMPAT also for 64k page size
Andreas Schwab (1):
arm64: fix implementation of mmap2 compat syscall
arch/arm64/Kconfig | 6 +++++- arch/arm64/include/asm/unistd32.h | 2 +- arch/arm64/kernel/entry32.S | 18 ++++++++++++++++++ arch/arm64/kernel/sys32.c | 6 ++++++ 4 files changed, 30 insertions(+), 2 deletions(-)
Signature · 1 line
2.1.4