From patchwork Wed May 16 18:51:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 10404699 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 3B5B9601C8 for ; Wed, 16 May 2018 19:02:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A63E28662 for ; Wed, 16 May 2018 19:02:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F28928687; Wed, 16 May 2018 19:02:59 +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=-4.0 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, FSL_HELO_FAKE, MAILING_LIST_MULTI, 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 5195328662 for ; Wed, 16 May 2018 19:02:58 +0000 (UTC) Received: from localhost ([::1]:34234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJ1hR-0003kH-Au for patchwork-qemu-devel@patchwork.kernel.org; Wed, 16 May 2018 15:02:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJ1Ws-00030D-OW for qemu-devel@nongnu.org; Wed, 16 May 2018 14:52:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJ1Wp-0000i1-LJ for qemu-devel@nongnu.org; Wed, 16 May 2018 14:52:02 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:42272) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJ1Wp-0000ho-Dy for qemu-devel@nongnu.org; Wed, 16 May 2018 14:51:59 -0400 Received: by mail-wr0-x241.google.com with SMTP id v5-v6so2762288wrf.9 for ; Wed, 16 May 2018 11:51:59 -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=YBn3Wgah/pQdrv68LRAURNzVkLL05j2iflJyaXCqlWk=; b=M94+ObKocKRYc8QW5CizmpclHcEgG+l9B6VKnj7VCDt9R7F+SecbRDI/Rfc31mS3JE 5mWNUT0wlyp8gqRTRmQYe/SamAkHu08NajjZDLXJWhMw0MHzXOkFdmIdKAoluuiuAPMf 6NhtBfWt1QuZrZAmqMyKkQqAy3kgS23M7SKnvUfN8Rxdc6IDZiynE0LTZjOCoWYTjPsc NsMM/ZeZ3ZWIEWyY245ZYin29uqtERSK9eJLpEDSWl+haevu6z/v24GGiPDi4yDRx//K FGt38bhHXHyGJ6GjP9h65V/kIUygHEAOz/WXsnshBvxw8/OAc0OD3LqpiCWZuWwysqdY /SKA== 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=YBn3Wgah/pQdrv68LRAURNzVkLL05j2iflJyaXCqlWk=; b=iZ1/IeGrMtzmo1b3IqKY0WcHVjZb+rkCU/NmHnB8bgTPfuoHHtUtr/qE5RV70akEDq K10eqIwn6xW1wQF4VmjlbBH5ulGVvdWQymJrw02tv5cyZ6fF9ph4S0ClhQ1t0bHEquDh YXs1blosEk5v8NFIKznM9f11mfHUeehkNcPEwdcUB4CoXVrY0j3iOpJ0L2EdrRBrx6CE WKqH6VYb1CWhjzBE2/7l2K7/ULB8mKQFkhmT3VX4h1cYg5+ZoeeiBKmnbx0F7S/w0VNV YtyjcbgoeGQsJAwNZ+nwSeQM6ruDGLK0S03XXAiRjR75saoppxh/26djRQI7szo01bw4 uTBQ== X-Gm-Message-State: ALKqPwcbaJ3dzkMBawa30Nzfo5Iad3m57zJSyg6hVDvmt9BHBvEYpDa1 Q24TbwFf1AQjM6GsQZI73cG2Vg== X-Google-Smtp-Source: AB8JxZoPPRhUdYwQfLzhvc2vfMkN84Q6oA9aRaCfDErapTVhO1aOfTkyMAdLuZOx4dF++Q3sjGLGew== X-Received: by 2002:a19:5a57:: with SMTP id o84-v6mr16579885lfb.62.1526496717925; Wed, 16 May 2018 11:51:57 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id n26-v6sm299500lfe.61.2018.05.16.11.51.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 May 2018 11:51:57 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Date: Wed, 16 May 2018 20:51:14 +0200 Message-Id: <20180516185146.30708-7-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180516185146.30708-1-edgar.iglesias@gmail.com> References: <20180516185146.30708-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::241 Subject: [Qemu-devel] [PATCH v3 06/38] target-microblaze: Correct the PVR array size 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: edgar.iglesias@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org, frederic.konrad@adacore.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" Correct the PVR array size, there are 13 PVR registers. Reviewed-by: Alistair Francis Signed-off-by: Edgar E. Iglesias --- target/microblaze/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h index 994496515f..2304c24b7d 100644 --- a/target/microblaze/cpu.h +++ b/target/microblaze/cpu.h @@ -277,7 +277,7 @@ struct CPUMBState { /* These fields are preserved on reset. */ struct { - uint32_t regs[16]; + uint32_t regs[13]; } pvr; };