Received: from eggs.gnu.org ([2001:4830:134:3::10]:40287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZotlK-0007TR-6H for qemu-devel@nongnu.org; Wed, 21 Oct 2015 09:49:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZotlE-0000wi-6e for qemu-devel@nongnu.org; Wed, 21 Oct 2015 09:49:06 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:47794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZotlE-0000vy-0S for qemu-devel@nongnu.org; Wed, 21 Oct 2015 09:49:00 -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 <0NWK006NCP1L0N50@mailout1.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 21 Oct 2015 14:48:57 +0100 (BST) From: Pavel Fedin References: <1445361732-16257-1-git-send-email-shlomopongratz@gmail.com> <1445361732-16257-7-git-send-email-shlomopongratz@gmail.com> <014301d10bfe$20c00970$62401c50$@samsung.com> <015801d10c02$1c60d130$55227390$@samsung.com> In-reply-to: Date: Wed, 21 Oct 2015 16:48:55 +0300 Message-id: <016c01d10c07$3b156fa0$b1404ee0$@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 RFC V5 6/9] hw/intc: arm_gicv3_spi_its 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! >> Or do you have some explicit reasons to have everything as a = monolith? > No I just didn't want to have 3 stub files spi, its and its_control. > Do you suggest that I'll split it to 3 files? You didn't understand my question. It's not about internal structure of = ITS implementation. It is about GIC and ITS connection. Please review my KVM ITS RFC: = http://lists.nongnu.org/archive/html/qemu-devel/2015-10/msg04613.html. = You'll see that ITS is a separate object of a separate class, which can = even be omitted at all, if machine model doesn't need it for some = reason. So, i suggest that all the ITS code should go there, and it = would be a completely separate entity, and a separate patch set, after = your GICv3 is accepted. I will help you with this. Peter, i know you can be very busy, but, could you at least take a = glance at my vITS v2 RFC structure and judge us? Should ITS + GICv3 be a = monolithic object, or is my suggestion better? By the way, gicv3_init_irqs_and_mmio() expects only two regions, so it = will not even pay attention to your stubs. You could patch it, of = course, but... I don't think it's the good thing to do. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia