From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJMLj-0000XV-MO for qemu-devel@nongnu.org; Sun, 26 Jul 2015 09:52:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJMLf-0001PO-C5 for qemu-devel@nongnu.org; Sun, 26 Jul 2015 09:52:19 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:19947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJMLf-0001Ne-5w for qemu-devel@nongnu.org; Sun, 26 Jul 2015 09:52:15 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NS3002CVL6ZLB40@mailout4.w1.samsung.com> for qemu-devel@nongnu.org; Sun, 26 Jul 2015 14:52:11 +0100 (BST) From: Pavel Fedin References: <1694c9da0a9d58f9d84e65665a00657682dc15b5.1437731107.git.p.fedin@samsung.com> In-reply-to: Date: Sun, 26 Jul 2015 16:52:10 +0300 Message-id: <007c01d0c7aa$450975c0$cf1c6140$@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 v7 2/6] Implement GIC-500 base class List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Peter Maydell' Cc: 'Shlomo Pongratz' , 'Shlomo Pongratz' , 'QEMU Developers' , 'Christoffer Dall' , 'Eric Auger' Hello! > So how do LPIs work? They have IDs above 1023. Currently we don't have LPIs. Shlomo's SW emulation did not include = them. > > +#define GICV3_NCPU 64 >=20 > Where does '64' come from as a maximum limit? We don't use Aff2 field as far as i know. It's Shlomo's limitation, not = my one. > This whole struct reads like "we just took the GICv2 state > and changed it as little as possible beyond bumping the > NCPU define a bit". That doesn't make me very confident > that it's actually correct for GICv3... At least, with complete Shlomo's SW emulation code, it works. And could you be not so strict on this file? It's actually Shlomo's = work, not my one, i include it only because i need to base on something. = He will fix up the rest of SW emulation stuff. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia