From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36549)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from
) id 1Zoqfm-0002n3-IZ
for qemu-devel@nongnu.org; Wed, 21 Oct 2015 06:31:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1Zoqfh-0008HB-LC
for qemu-devel@nongnu.org; Wed, 21 Oct 2015 06:31:10 -0400
Received: from mailout4.w1.samsung.com ([210.118.77.14]:36965)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1Zoqfh-0008H5-8g
for qemu-devel@nongnu.org; Wed, 21 Oct 2015 06:31:05 -0400
Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245])
by mailout4.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTP id <0NWK00IEXFVP2300@mailout4.w1.samsung.com> for
qemu-devel@nongnu.org; Wed, 21 Oct 2015 11:31:01 +0100 (BST)
From: Pavel Fedin
References: <1445361732-16257-1-git-send-email-shlomopongratz@gmail.com>
<1445361732-16257-10-git-send-email-shlomopongratz@gmail.com>
<00a301d10bce$7bc0daa0$73428fe0$@samsung.com>
In-reply-to:
Date: Wed, 21 Oct 2015 13:30:59 +0300
Message-id: <00f501d10beb$94d12690$be7373b0$@samsung.com>
MIME-version: 1.0
Content-type: text/plain; charset=UTF-8
Content-transfer-encoding: 7bit
Content-language: ru
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: peter.maydell@linaro.org, eric.auger@linaro.org, 'Shlomo Pongratz' , qemu-devel@nongnu.org, shannon.zhao@linaro.org, ashoks@broadcom.com, imammedo@redhat.com
Hello!
> I see, just how do I pass the gic version from the command line?
Easy. -machine virt,gic-version=3
> GICV3 is accessed by system instructions that exists only in ARCH64.
Wrong. In 32-bit mode the CPU sees them as CP15 registers. See "8.5 AArch32 System register descriptions".
I would say, system registers are nothing new, these are just renamed CP15 registers, with "CPn" prefix removed.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia