From patchwork Tue Jul 4 09:54:34 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: 9824461 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 524A4602F0 for ; Tue, 4 Jul 2017 09:58:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4026028464 for ; Tue, 4 Jul 2017 09:58:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3196028497; Tue, 4 Jul 2017 09:58:22 +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 BF57728464 for ; Tue, 4 Jul 2017 09:58:21 +0000 (UTC) Received: from localhost ([::1]:40027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSKb7-0004DR-0W for patchwork-qemu-devel@patchwork.kernel.org; Tue, 04 Jul 2017 05:58:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSKXo-00022H-OH for qemu-devel@nongnu.org; Tue, 04 Jul 2017 05:54:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSKXn-0000WU-Q2 for qemu-devel@nongnu.org; Tue, 04 Jul 2017 05:54:56 -0400 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:36794) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSKXn-0000W0-Il for qemu-devel@nongnu.org; Tue, 04 Jul 2017 05:54:55 -0400 Received: by mail-lf0-x242.google.com with SMTP id f28so17185976lfi.3 for ; Tue, 04 Jul 2017 02:54:55 -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=ZLy39RYpXszA27PfQLIVUT5PnzWjF8ixsDhez+Jfm7c=; b=vcBPjKHbjLdROszS/25NLE4OA6Q+qF4M3sOgw/CQ/lLMu2Uj3JKvJxBT2O3Ms1qtKq it8pLulbdKoNZKqmUZbkOvHEKC96ZunrGa2KSEljmL1UtqVEcjnmgpveFwOl5/+BOu95 RYozknf0t5IAY4Lhom+OoHgh71De3G3mN8TAtN+NQGcjPipMh0C+J7VekgTcoChMAwv0 YvJOh+mihf3aTGyXux8eE+Q9l6hsyFXRl0J67lyTi0LY1TfY8kQgcET/Y6MM511pyF3a hV+IWI4zW5LmRG6RP1TgDAFr5gPJXDmCpHGCTskiDTUwuBPF/5o7Hx5lztKrct0jGI/s oTbw== 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=ZLy39RYpXszA27PfQLIVUT5PnzWjF8ixsDhez+Jfm7c=; b=S0KQEqxmYujNcRuaJLLsxnkGpjE9BOElAOfZTBWAdhhl484eU/4jnC7uEaUpF5KPY5 2zOS/A9S3FNbvU8Nxs1Y6hENeSCmsom7g7fWiqUpH5B1q2EFApAlcYBHzFIsOCg+MdLp X59aBif75io06hrqNf8PvJk6ZXQleR1eLMqlZ3CVtssoaEJove4Hmj1o1L81zaWe4wPm wRnUcsbs4HGjUjsa1bWbPgSpAT6nspUHmB+r4bnu/DX94Peuad3yZm5+zvpqW8yTxC4h BQgHo13gYtBxAtinQneItHLJM02jUikoBK7LdwraGbEuAyb0+oMZwGkPIBaxV9HICl4v zcSQ== X-Gm-Message-State: AKS2vOzOcMxrd/9zLKauTJqm5I+G6x+EokoyYI1AqKdu1zQUNZ8Ttx4S 6S0/CBe3eYv0f1uT X-Received: by 10.46.80.69 with SMTP id v5mr12354405ljd.6.1499162094077; Tue, 04 Jul 2017 02:54:54 -0700 (PDT) Received: from localhost (81-231-233-234-no56.tbcn.telia.com. [81.231.233.234]) by smtp.gmail.com with ESMTPSA id 88sm3863975lja.19.2017.07.04.02.54.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 02:54:53 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Tue, 4 Jul 2017 11:54:34 +0200 Message-Id: <1499162088-1562-4-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499162088-1562-1-git-send-email-edgar.iglesias@gmail.com> References: <1499162088-1562-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::242 Subject: [Qemu-devel] [PULL v1 03/17] 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. Reviewed-by: Alistair Francis Signed-off-by: Edgar E. Iglesias --- 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 \