From patchwork Tue Jun 20 15:51:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 9799867 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 936EC60328 for ; Tue, 20 Jun 2017 15:52:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 597DE2849F for ; Tue, 20 Jun 2017 15:52:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E092284AF; Tue, 20 Jun 2017 15:52:48 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 668052849F for ; Tue, 20 Jun 2017 15:52:46 +0000 (UTC) Received: from localhost ([::1]:49420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNLSP-000524-Mu for patchwork-qemu-devel@patchwork.kernel.org; Tue, 20 Jun 2017 11:52:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNLRF-00050u-3D for qemu-devel@nongnu.org; Tue, 20 Jun 2017 11:51:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNLRE-0003yO-Bq for qemu-devel@nongnu.org; Tue, 20 Jun 2017 11:51:33 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:35289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNLRE-0003yB-4V for qemu-devel@nongnu.org; Tue, 20 Jun 2017 11:51:32 -0400 Received: by mail-lf0-x244.google.com with SMTP id n136so4075492lfn.2 for ; Tue, 20 Jun 2017 08:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=a5AK+xkimTkw3bsFMpkm4jBsSaY4EToUFgjlK43HD04=; b=awFzqkNel9iTZLXRx0yCQ2+P4l4UHmyh1PLroN2gdgsp3MTFcXdL89+Jd0OOQxX7Sr 0J7yU4iJH8Aukl3xPDHS48FwtQfTQiAfpIGp30/pOfzkTxhR/cXm0/CK+YKL7S0OjU7V XLEzjRz5NM9OSlXwvOIAM3Hv3rCBzWpYfZ94UddbWakfLnP99BbJTnBThzKh37JCSQhO WBqHNJUwwlZ4dEYAZL3dU7zXpbZmiJ4xsPW1bAUKwmtIcTcweTmAfRheoI8Kww0ZrDxL YwtZY8yRK9ihhUb0kfjakOPP0YG6kDusL6Rnmnjfgn5CiNlBJponRQjvpX5eGkRTtkPg Qz/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=a5AK+xkimTkw3bsFMpkm4jBsSaY4EToUFgjlK43HD04=; b=P5ZAWnq695UiUT1iLJYwYHyJBXmIAGyF5jqymsKi8C/qhK/p8cTldxjPbW7HatArFA X65Wi810gc0OeCmSauEkCcMWteghvhkNNUK3w9frdabVbTw/oW25W5zSEgwg6nE9NtPC eGQcZ1mlCBCdyczAAN1velV/CiOOdXyq7e53r/w8aFhI4z5Huu1ApBTv2W1yPj3ir5iP iNxciRRaADUCJ+7JRUK0YLf7NpPzWiv+eY+prvlWHoCxv/tmZ/OU+iRE9OBUFejWCKhu TXpZXS0WedPY1bBfkyOftybIoI2AbaujgzE4JcSR4B7yp379+ie6ZCoPs0YrhAYS+G8f 93aQ== X-Gm-Message-State: AKS2vOyWLlpkD1KOmnIFsFVuq17pdRnAZBLhKUfpnk/FglJmkZK0xTBv w5u2LzCKfbRhCcsK X-Received: by 10.25.165.208 with SMTP id o199mr10395174lfe.115.1497973890574; Tue, 20 Jun 2017 08:51:30 -0700 (PDT) Received: from localhost (81-231-233-234-no56.tbcn.telia.com. [81.231.233.234]) by smtp.gmail.com with ESMTPSA id x199sm4014970lfa.13.2017.06.20.08.51.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 08:51:29 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Date: Tue, 20 Jun 2017 17:51:20 +0200 Message-Id: <1497973886-26257-3-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497973886-26257-1-git-send-email-edgar.iglesias@gmail.com> References: <1497973886-26257-1-git-send-email-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::244 Subject: [Qemu-devel] [PATCH v1 2/8] target-microblaze: Don't hard code 0xb as initial MB version 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: sai.pavan.boddu@xilinx.com, edgar.iglesias@xilinx.com, alistai@xilinx.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: "Edgar E. Iglesias" Don't hard code 0xb as initial MB version. Signed-off-by: Edgar E. Iglesias Reviewed-by: Alistair Francis --- target/microblaze/cpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c index af70faa..4bc77df 100644 --- a/target/microblaze/cpu.c +++ b/target/microblaze/cpu.c @@ -152,8 +152,7 @@ static void mb_cpu_realizefn(DeviceState *dev, Error **errp) | PVR0_USE_HW_MUL_MASK \ | PVR0_USE_EXC_MASK \ | PVR0_USE_ICACHE_MASK \ - | PVR0_USE_DCACHE_MASK \ - | (0xb << 8); + | PVR0_USE_DCACHE_MASK; env->pvr.regs[2] = PVR2_D_OPB_MASK \ | PVR2_D_LMB_MASK \ | PVR2_I_OPB_MASK \