From: "Jan Beulich" Subject: Re: [PATCH] have architectures specify the number of PIRQs a hardware domain gets Date: Fri, 05 Dec 2014 16:23:08 +0000 Message-ID: <5481E9FC020000780004D4C3@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> <5481E05F020000780004D430@mail.emea.novell.com> <5481D7DB.3040907@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 1Xwvew-0006Fr-F2 for xen-devel@lists.xenproject.org; Fri, 05 Dec 2014 16:23:10 +0000 In-Reply-To: <5481D7DB.3040907@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: Stefano Stabellini , Julien Grall Cc: Keir Fraser , Andrew Cooper , Ian Jackson , Tim Deegan , Ian Campbell , David Vrabel , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 05.12.14 at 17:05, wrote: > On 05/12/14 15:42, Jan Beulich wrote: >>>>> 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 > > Do you plan to send a patch to resolve this problem? So far I assumed Stefano would, as he was running into an issue which iirc fixing this would help. Jan