linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: agraf@suse.de (Alexander Graf)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] arm64: Allow AArch32 on arm64 with 64k PAGE_SIZE
Date: Mon, 16 Mar 2015 17:32:21 +0100	[thread overview]
Message-ID: <1426523543-4124-1-git-send-email-agraf@suse.de> (raw)

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

             reply	other threads:[~2015-03-16 16:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-16 16:32 Alexander Graf [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1426523543-4124-1-git-send-email-agraf@suse.de \
    --to=agraf@suse.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).