From: Konrad Rzeszutek Wilk Subject: Re: [Xen-devel] [PATCH 1/3] pci/xen: Use xen_allocate_pirq_msi Date: Thu, 17 Feb 2011 09:52:55 -0500 Message-ID: <20110217145255.GA32341@dumpdata.com> References: <1297894638-28007-1-git-send-email-konrad.wilk@oracle.com> <1297894638-28007-2-git-send-email-konrad.wilk@oracle.com> <1297932091.16356.1292.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1297932091.16356.1292.camel@zakaz.uk.xensource.com> Sender: linux-kernel-owner@vger.kernel.org To: Ian Campbell Cc: "linux-kernel@vger.kernel.org" , Konrad Rzeszutek Wilk , Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org > All callers have this (type == MSIX) ? "msi-x" : "msi" construct, > differing only in their use of a "pcifront-" prefix. Something which > could be hoisted into the function perhaps? I was thinking to defer this for a cleanup patch. > > Another aside: I think there are other cleanups which could be made to > the various pirq allocation/mapping interfaces (of which there seem to > be too many, or at least their individual unique qualities are > indistinguishable by their names), I made a start on this at one point > since I wanted to get rid of the pirq_to_irq[nr_irqs] array, for obvious > reasons, but didn't finish it off. I'll hopefully revisit this soon. Excellent. Looking forward to it.