From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZosRr-0004kM-3r for qemu-devel@nongnu.org; Wed, 21 Oct 2015 08:24:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZosRm-0008Px-7H for qemu-devel@nongnu.org; Wed, 21 Oct 2015 08:24:55 -0400 Received: from mail-vk0-f42.google.com ([209.85.213.42]:34410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZosRm-0008Pn-3V for qemu-devel@nongnu.org; Wed, 21 Oct 2015 08:24:50 -0400 Received: by vkat63 with SMTP id t63so27598290vka.1 for ; Wed, 21 Oct 2015 05:24:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1445361732-16257-1-git-send-email-shlomopongratz@gmail.com> <1445361732-16257-10-git-send-email-shlomopongratz@gmail.com> <00a301d10bce$7bc0daa0$73428fe0$@samsung.com> <00f501d10beb$94d12690$be7373b0$@samsung.com> From: Peter Maydell Date: Wed, 21 Oct 2015 13:24:30 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH RFC V5 9/9] hw/arm: Add virt-v3 machine that uses GIC-500 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Shlomo Pongratz Cc: "eric.auger@linaro.org" , Shlomo Pongratz , Pavel Fedin , "qemu-devel@nongnu.org" , "shannon.zhao@linaro.org" , "ashoks@broadcom.com" , "imammedo@redhat.com" On 21 October 2015 at 12:33, Shlomo Pongratz wrote: > I assume I can add the system registers to target-arm/cpu.c but I wonder if > someone really needs to simulate more than 8 AArch32 CPU(s) The system register implementation belongs in the gic code, not target-arm/. We already have support for devices that say "I have some system registers, please add them to this CPU". The mechanism is the same for system registers for both 32-bit and 64-bit, incidentally. thanks -- PMM