From: "Jan Beulich" Subject: Re: [PATCH] have architectures specify the number of PIRQs a hardware domain gets Date: Fri, 05 Dec 2014 15:42:07 +0000 Message-ID: <5481E05F020000780004D430@mail.emea.novell.com> References: <5481C67D020000780004D2D1@mail.emea.novell.com> <1417789634.22808.66.camel@eu.citrix.com> <5481C30B.3020901@linaro.org> <1417790527.22808.67.camel@eu.citrix.com> <5481CE85.8010502@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xwv1F-0002mv-Og for xen-devel@lists.xenproject.org; Fri, 05 Dec 2014 15:42:09 +0000 In-Reply-To: <5481CE85.8010502@linaro.org> Content-Disposition: inline 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: Keir Fraser , Stefano Stabellini , Andrew Cooper , Ian Jackson , Tim Deegan , Ian Campbell , David Vrabel , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 05.12.14 at 16:25, wrote: > - XEN_DOMCTL_irq_permission => I don't really understand this bits. > AFAIU the pirq number is different on each domain. But we use it to > check permission on both domain. Shouldn't we translate the pirq to irq > for the current->domain? Indeed, see also http://lists.xenproject.org/archives/html/xen-devel/2014-12/msg00219.html Jan