From: Ian Campbell Subject: Re: [RFC 09/14] xen/xsm: flask: MSI is PCI specific Date: Fri, 14 Mar 2014 17:25:48 +0000 Message-ID: <1394817948.6065.12.camel@kazak.uk.xensource.com> References: <1394640969-25583-1-git-send-email-julien.grall@linaro.org> <1394640969-25583-10-git-send-email-julien.grall@linaro.org> <5321C1D8.6080306@tycho.nsa.gov> <5321C34C.9080803@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WOVrl-00041o-Db for xen-devel@lists.xenproject.org; Fri, 14 Mar 2014 17:25:53 +0000 In-Reply-To: <5321C34C.9080803@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, Daniel De Graaf , tim@xen.org, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On Thu, 2014-03-13 at 14:40 +0000, Julien Grall wrote: > Hello Daniel, > > Thanks for your review. > > On 03/13/2014 02:34 PM, Daniel De Graaf wrote: > > On 03/12/2014 12:16 PM, Julien Grall wrote: > >> MSI is not yet support on ARM and will break the compilation when > >> XSM_ENABLE=y. > >> > >> Signed-off-by: Julien Grall > >> Cc: Daniel De Graaf > > > > I am assuming that IRQs on ARM are generally allocated in a static > > manner for > > a given board, so that a security policy based on their numeric values > > would > > be effective. If IRQs above nr_static_irqs are dynamic as on x86, it may be > > necessary to resolve them in some way. Since this resolution would > > naturally > > be split into a separate patch, in either case this patch is > > Right, nr_static_irqs is set to 1024 on ARM. For now every IRQs, are not > higher than this number. This will change before long though. Would HAVE_MSI_IRQS be a better name for this particular arch-configurable? After all PCI without MSI is plausible isn't it? (well, maybe not in the modern world) Ian