Received: from eggs.gnu.org ([2001:4830:134:3::10]:45967)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from
) id 1ZoskD-0000mu-PM
for qemu-devel@nongnu.org; Wed, 21 Oct 2015 08:43:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1ZoskA-0005hG-HN
for qemu-devel@nongnu.org; Wed, 21 Oct 2015 08:43:53 -0400
Received: from mailout2.w1.samsung.com ([210.118.77.12]:35439)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1ZoskA-0005fV-Bu
for qemu-devel@nongnu.org; Wed, 21 Oct 2015 08:43:50 -0400
Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244])
by mailout2.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTP id <0NWK00ABAM0Z6R90@mailout2.w1.samsung.com> for
qemu-devel@nongnu.org; Wed, 21 Oct 2015 13:43:47 +0100 (BST)
From: Pavel Fedin
References: <1445361732-16257-1-git-send-email-shlomopongratz@gmail.com>
<1445361732-16257-7-git-send-email-shlomopongratz@gmail.com>
In-reply-to: <1445361732-16257-7-git-send-email-shlomopongratz@gmail.com>
Date: Wed, 21 Oct 2015 15:43:45 +0300
Message-id: <014301d10bfe$20c00970$62401c50$@samsung.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
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' , qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, eric.auger@linaro.org, 'Shlomo Pongratz' , shannon.zhao@linaro.org, ashoks@broadcom.com, imammedo@redhat.com
Hello!
> This patch includes a placeholder code for future spi and its
> implementation.
Forgot to comment on this. I see that here you are building an ITS into GIC as a monolithic thing. This can be wrong because we
could want to emulate platforms which have GICv3 but don't have ITS. I would suggest to implement ITS as a separate class, and i
have actually done it in http://lists.nongnu.org/archive/html/qemu-devel/2015-10/msg04613.html.
So, i think we should not bother about ITS for now and suggest you to leave it out completely and focus on pure GICv3.
Even more, i have software-emulated ITS code in one of my abandoned branches, it lacks only GICv3's ability to receive LPIs (which
is indeed GIC's functionality). After you're done with GIC, i could rebase it on top and post at least as an RFC. May be i'll
complete it myself, may be you'll want to pick it up, i don't know. Actually, it works with Linux kernel and successfully translates
an MSI event into LPI number, which is then injected into the GIC object. Just it's GIC missing the appropriate LPI hanlders. I
wrote it when there was no in-kernel vITS implementation, but abandoned when vITS patch series was published.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia