From patchwork Fri Jul 22 16:29:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 9243845 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4056A60756 for ; Fri, 22 Jul 2016 16:30:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3230D27F9A for ; Fri, 22 Jul 2016 16:30:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 26F4E27FAC; Fri, 22 Jul 2016 16:30:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A851627F9A for ; Fri, 22 Jul 2016 16:30:26 +0000 (UTC) Received: from localhost ([::1]:48415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQdLF-0002j6-HI for patchwork-qemu-devel@patchwork.kernel.org; Fri, 22 Jul 2016 12:30:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQdKl-0002eH-PK for qemu-devel@nongnu.org; Fri, 22 Jul 2016 12:29:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQdKg-0001BC-JX for qemu-devel@nongnu.org; Fri, 22 Jul 2016 12:29:54 -0400 Received: from ssl.serverraum.org ([213.133.101.245]:41202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQdKg-0001B6-8i; Fri, 22 Jul 2016 12:29:50 -0400 Received: from mwalle01.kse.adk.loc (unknown [194.25.174.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 2263D22375; Fri, 22 Jul 2016 18:29:44 +0200 (CEST) Authentication-Results: ssl.serverraum.org; dmarc=none header.from=walle.cc DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1469204985; bh=n567eNisN3XT51US/fYDLUmqg7aU2vO2OvvK3WDQg0c=; h=From:To:Cc:Subject:Date:From; b=tqJ4SxbJhRgSd+eN2zCyNQ3NghLTmbohxSUKtatQ0g0+F1LaPOEijRH6Jwt21wiOt ns90ukGrgzyCRK9mIaEk5k4GFqvO9AEmPC/4sSusPXSFmTXB+XRbO80E+Ab3MUKJW/ n/++NbAZoraSPM7VC0iHpixo8EYkXNE4CakaIcAc= From: Michael Walle To: Alexander Graf , qemu-ppc@nongnu.org, qemu-devel@nongnu.org Date: Fri, 22 Jul 2016 18:29:37 +0200 Message-Id: <1469204977-23590-1-git-send-email-michael@walle.cc> X-Mailer: git-send-email 2.1.4 X-Virus-Scanned: clamav-milter 0.99.2 at web X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.133.101.245 Subject: [Qemu-devel] [PATCH] target-ppc: add PPC_MFTB flag to e5500 core X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Walle , David Gibson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP According to the e5500 core reference manual it has support for the mftb instruction. Signed-off-by: Michael Walle --- target-ppc/translate_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 5ecafc7..f1261af 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -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 |