From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yx8Wa-00053j-2P for qemu-devel@nongnu.org; Tue, 26 May 2015 02:39:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yx8WW-0000sW-2p for qemu-devel@nongnu.org; Tue, 26 May 2015 02:39:40 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:62378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yx8WV-0000sP-Td for qemu-devel@nongnu.org; Tue, 26 May 2015 02:39:36 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NOY0064C2HX9950@mailout1.w1.samsung.com> for qemu-devel@nongnu.org; Tue, 26 May 2015 07:39:33 +0100 (BST) From: Pavel Fedin References: <1432464666-4825-1-git-send-email-christoffer.dall@linaro.org> <1432464666-4825-5-git-send-email-christoffer.dall@linaro.org> <011b01d096ec$1a395e80$4eac1b80$@samsung.com> <55634D0D.3010103@linaro.org> In-reply-to: <55634D0D.3010103@linaro.org> Date: Tue, 26 May 2015 09:39:32 +0300 Message-id: <00c101d0977e$b990ea60$2cb2bf20$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: quoted-printable Content-language: ru Subject: Re: [Qemu-devel] [PATCH v3 4/4] target-arm: Add the GICv2m to the virt board List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Eric Auger' , 'Peter Maydell' Cc: 'QEMU Developers' , 'Christoffer Dall' , kvmarm@lists.cs.columbia.edu Hi! > > Why? The v2m device isn't really related to the GICv3... > In the future this handle could point to GICv2m or GICv3 ITS or GICv3 > (if I understand it correctly, when it supports message base = interrupts > and no ITS). They all would play the same role of msi-controller. Yes, exactly. In my implementation being developed i actually reused = first patch from this set, and indeed 'v2m_handle' appeared to be useful = for ITS. My code flow is something like: if (gicv3) create_its() else create_v2m() Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia