From: Amit Shah <amit.shah@redhat.com>
To: Andre Przywara <andre.przywara@amd.com>
Cc: avi@redhat.com, kvm@vger.kernel.org,
Christoph Egger <christoph.egger@amd.com>
Subject: Re: [PATCH] add sysenter/syscall emulation for 32bit compat mode
Date: Wed, 17 Jun 2009 10:32:36 +0530 [thread overview]
Message-ID: <20090617050236.GA23051@amit-x200.redhat.com> (raw)
In-Reply-To: <1245158713-15054-1-git-send-email-andre.przywara@amd.com>
Hi Andre,
On (Tue) Jun 16 2009 [15:25:13], Andre Przywara wrote:
> sysenter/sysexit are not supported on AMD's 32bit compat mode, whereas
> syscall is not supported on Intel's 32bit compat mode. To allow cross
> vendor migration we emulate the missing instructions by setting up the
> processor state accordingly.
> The sysenter code was originally sketched by Amit Shah, it was completed,
> debugged, syscall added and made-to-work by Christoph Egger and polished
> up by Andre Przywara.
> Please note that sysret does not need to be emulated, because it will be
> exectued in 64bit mode and returning to 32bit compat mode works on Intel.
Thanks for picking this up. You also had a testcase for this, right?
Amit
next prev parent reply other threads:[~2009-06-17 5:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-16 13:25 [PATCH] add sysenter/syscall emulation for 32bit compat mode Andre Przywara
2009-06-17 5:02 ` Amit Shah [this message]
2009-06-17 7:51 ` Andre Przywara
2009-06-17 7:24 ` Avi Kivity
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=20090617050236.GA23051@amit-x200.redhat.com \
--to=amit.shah@redhat.com \
--cc=andre.przywara@amd.com \
--cc=avi@redhat.com \
--cc=christoph.egger@amd.com \
--cc=kvm@vger.kernel.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