Received: from [140.186.70.92] (port=58152 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q07mL-00065D-IY for qemu-devel@nongnu.org; Thu, 17 Mar 2011 03:37:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q07mK-0008AD-Fr for qemu-devel@nongnu.org; Thu, 17 Mar 2011 03:37:53 -0400 Received: from cantor.suse.de ([195.135.220.2]:41404 helo=mx1.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q07mK-0008A6-3T for qemu-devel@nongnu.org; Thu, 17 Mar 2011 03:37:52 -0400 References: <1300251423-6715-1-git-send-email-david@gibson.dropbear.id.au> <1300251423-6715-19-git-send-email-david@gibson.dropbear.id.au> <4D80DB7F.2040103@suse.de> <20110317012930.GC1105@yookeroo> In-Reply-To: <20110317012930.GC1105@yookeroo> Mime-Version: 1.0 (iPhone Mail 8C148) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Message-Id: From: Alexander Graf Date: Thu, 17 Mar 2011 08:37:43 +0100 Subject: [Qemu-devel] Re: [PATCH 18/26] Implement the PAPR (pSeries) virtualized interrupt controller (xics) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: "paulus@samba.org" , "qemu-devel@nongnu.org" , "anton@samba.org" On 17.03.2011, at 02:29, David Gibson wrote: > On Wed, Mar 16, 2011 at 04:47:11PM +0100, Alexander Graf wrote: >> On 03/16/2011 05:56 AM, David Gibson wrote: > [snip] >>> +/* static void ics_resend(struct icp_server_state *ss) */ >>> +/* { */ >>> +/* int i; */ >>> + >>> +/* for (i = 0; i< xics->nr_irqs; i++) */ >>> +/* ics_resend_irq(xics, nr, ss); */ >>> +/* } */ >> >> Why is all this commented out? Better #if 0 it all away. Or even >> better, don't include it in the patch - unless you think the code is >> crucial and to be activated soon. > > Hrm, it was supposed to implement level (rather than message) > interrupts on XICS. But I think its bitrotted since I commented it > out. Removed. > >>> diff --git a/hw/xics.h b/hw/xics.h >>> new file mode 100644 >>> index 0000000..e55f5f1 >>> --- /dev/null >>> +++ b/hw/xics.h >> >> Header missing > > I'm not sure what you mean by this Every source file should have a license/copyright header ;) Alex >