linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: Allow AArch32 on arm64 with 64k PAGE_SIZE
@ 2015-03-16 16:32 Alexander Graf
  2015-03-16 16:32 ` [PATCH 1/2] arm64: fix implementation of mmap2 compat syscall Alexander Graf
  2015-03-16 16:32 ` [PATCH 2/2] arm64: Enable CONFIG_COMPAT also for 64k page size Alexander Graf
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Graf @ 2015-03-16 16:32 UTC (permalink / raw)
  To: linux-arm-kernel

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:

  http://download.opensuse.org/ports/armv7hl/factory/images/openSUSE-Factory-ARM-JeOS.armv7-rootfs.armv7l-Current.tbz

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(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-16 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-16 16:32 [PATCH 0/2] arm64: Allow AArch32 on arm64 with 64k PAGE_SIZE Alexander Graf
2015-03-16 16:32 ` [PATCH 1/2] arm64: fix implementation of mmap2 compat syscall Alexander Graf
2015-03-16 16:32 ` [PATCH 2/2] arm64: Enable CONFIG_COMPAT also for 64k page size Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).