From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlTep-0007KN-6q for qemu-devel@nongnu.org; Fri, 16 May 2014 21:43:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlTej-0002b6-88 for qemu-devel@nongnu.org; Fri, 16 May 2014 21:43:27 -0400 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:55914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlTej-0002ar-1j for qemu-devel@nongnu.org; Fri, 16 May 2014 21:43:21 -0400 Received: by mail-pa0-f51.google.com with SMTP id kq14so3257546pab.38 for ; Fri, 16 May 2014 18:43:20 -0700 (PDT) Date: Sat, 17 May 2014 11:42:56 +1000 From: "Edgar E. Iglesias" Message-ID: <20140517014256.GG18802@zapo.iiNet> References: <1399356506-5609-1-git-send-email-edgar.iglesias@gmail.com> <1399356506-5609-20-git-send-email-edgar.iglesias@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v1 19/22] target-arm: Add storage for VBAR_EL2 and 3 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Rob Herring , Peter Crosthwaite , QEMU Developers , Alexander Graf , John Williams , Alex =?iso-8859-1?Q?Benn=E9e?= On Fri, May 16, 2014 at 03:40:22PM +0100, Peter Maydell wrote: > On 6 May 2014 07:08, Edgar E. Iglesias wrote: > > From: "Edgar E. Iglesias" > > > > Signed-off-by: Edgar E. Iglesias > > --- > > target-arm/cpu.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/target-arm/cpu.h b/target-arm/cpu.h > > index 34e8f7c..88dfdcb 100644 > > --- a/target-arm/cpu.h > > +++ b/target-arm/cpu.h > > @@ -201,7 +201,7 @@ typedef struct CPUARMState { > > uint32_t c9_pminten; /* perf monitor interrupt enables */ > > uint64_t mair_el1; > > #define VBAR_EL_IDX(x) (x - 1) > > - uint64_t vbar_el[1]; /* vector base address register */ > > + uint64_t vbar_el[3]; /* vector base address register */ > > uint32_t c13_fcse; /* FCSE PID. */ > > uint64_t contextidr_el1; /* Context ID. */ > > uint64_t tpidr_el0; /* User RW Thread register. */ > > -- > > 1.8.3.2 > > You should just fold this into whichever patch causes us to > start actually accessing vbar_el[] for other ELs. Agreed, will squash them. Thanks, Edgar