From: David Gibson <david@gibson.dropbear.id.au>
To: peter.maydell@linaro.org
Cc: agraf@suse.de, mdroth@linux.vnet.ibm.com,
bharata@linux.vnet.ibm.com, imammedo@redhat.com,
qemu-ppc@nongnu.org, qemu-devel@nongnu.org, groug@kaod.org,
Michael Walle <michael@walle.cc>,
David Gibson <david@gibson.dropbear.id.au>
Subject: [Qemu-devel] [PULL 4/5] target-ppc: add PPC_MFTB flag to e500mc and e5500
Date: Tue, 26 Jul 2016 13:06:10 +1000 [thread overview]
Message-ID: <1469502371-1206-5-git-send-email-david@gibson.dropbear.id.au> (raw)
In-Reply-To: <1469502371-1206-1-git-send-email-david@gibson.dropbear.id.au>
From: Michael Walle <michael@walle.cc>
According to the e500mc and e5500 core reference manual they have support
for the mftb instruction.
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
target-ppc/translate_init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 5ecafc7..5f28a36 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -5133,7 +5133,7 @@ POWERPC_FAMILY(e500mc)(ObjectClass *oc, void *data)
dc->desc = "e500mc core";
pcc->init_proc = init_proc_e500mc;
pcc->check_pow = check_pow_none;
- pcc->insns_flags = PPC_INSNS_BASE | PPC_ISEL |
+ pcc->insns_flags = PPC_INSNS_BASE | PPC_ISEL | PPC_MFTB |
PPC_WRTEE | PPC_RFDI | PPC_RFMCI |
PPC_CACHE | PPC_CACHE_LOCK | PPC_CACHE_ICBI |
PPC_CACHE_DCBZ | PPC_CACHE_DCBA |
@@ -5179,7 +5179,7 @@ POWERPC_FAMILY(e5500)(ObjectClass *oc, void *data)
dc->desc = "e5500 core";
pcc->init_proc = init_proc_e5500;
pcc->check_pow = check_pow_none;
- pcc->insns_flags = PPC_INSNS_BASE | PPC_ISEL |
+ pcc->insns_flags = PPC_INSNS_BASE | PPC_ISEL | PPC_MFTB |
PPC_WRTEE | PPC_RFDI | PPC_RFMCI |
PPC_CACHE | PPC_CACHE_LOCK | PPC_CACHE_ICBI |
PPC_CACHE_DCBZ | PPC_CACHE_DCBA |
--
2.7.4
next prev parent reply other threads:[~2016-07-26 3:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-26 3:06 [Qemu-devel] [PULL 0/5] ppc-for-2.7 queue 20160726 David Gibson
2016-07-26 3:06 ` [Qemu-devel] [PULL 1/5] ppc: Huge page detection mechanism fixes - Episode III David Gibson
2016-07-26 3:06 ` [Qemu-devel] [PULL 2/5] hw/ppc/spapr: Make sure to close the htab_fd when migration is canceled David Gibson
2016-07-26 3:06 ` [Qemu-devel] [PULL 3/5] spapr: fix spapr-nvram migration David Gibson
2016-07-26 3:06 ` David Gibson [this message]
2016-07-26 3:06 ` [Qemu-devel] [PULL 5/5] spapr: disintricate core-id from DT semantics David Gibson
2016-07-26 11:38 ` [Qemu-devel] [PULL 0/5] ppc-for-2.7 queue 20160726 Peter Maydell
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=1469502371-1206-5-git-send-email-david@gibson.dropbear.id.au \
--to=david@gibson.dropbear.id.au \
--cc=agraf@suse.de \
--cc=bharata@linux.vnet.ibm.com \
--cc=groug@kaod.org \
--cc=imammedo@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=michael@walle.cc \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.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).