From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: how aarch32 jump to aarch64
Date: Sun, 14 Jun 2015 21:39:47 +0200 [thread overview]
Message-ID: <10952759.0QA4gdRIiH@wuerfel> (raw)
In-Reply-To: <CADUS3okH9M-=zpeu_UH55sTT0wrPoxNzYxyT=Yzrb9NgUezgDg@mail.gmail.com>
On Sunday 14 June 2015 23:06:49 yoma sophian wrote:
> hi all:
> as far as I know, we can use pseudo eret to let aarch64 jump to aarch32.
> But how could we let aarch32 --> aarch64?
>
I believe the only way is to trap into a higher privilege level, e.g. from
user space to the kernel, or from kernel into hypervisor mode. If you
want to implement mode switching within one binary, you would then add
a syscall/hypercall/... that returns without switching back to aarch32.
Arnd
next prev parent reply other threads:[~2015-06-14 19:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-14 15:06 how aarch32 jump to aarch64 yoma sophian
2015-06-14 19:39 ` Arnd Bergmann [this message]
2015-06-15 1:19 ` yoma sophian
2015-06-18 12:08 ` yoma sophian
2015-06-18 12:16 ` Christopher Covington
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=10952759.0QA4gdRIiH@wuerfel \
--to=arnd@arndb.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