From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v3 13/24] xen/arm: Implement hypercall PHYSDEVOP_{, un}map_pirq Date: Wed, 04 Mar 2015 14:56:47 +0000 Message-ID: <54F71D2F.1040000@linaro.org> References: <1421159133-31526-1-git-send-email-julien.grall@linaro.org> <1421159133-31526-14-git-send-email-julien.grall@linaro.org> <54C932BF.5070009@linaro.org> <54CA2709.9080409@linaro.org> <1424451224.30924.357.camel@citrix.com> <54EB4C98.8020107@linaro.org> <1424707341.27930.189.camel@citrix.com> <54F718AF.7010104@linaro.org> <54F72ADD02000078000664D6@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YTAjg-0003Hx-1E for xen-devel@lists.xenproject.org; Wed, 04 Mar 2015 14:57:20 +0000 Received: by wesu56 with SMTP id u56so46887909wes.10 for ; Wed, 04 Mar 2015 06:57:17 -0800 (PST) In-Reply-To: <54F72ADD02000078000664D6@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel@lists.xenproject.org, tim@xen.org, stefano.stabellini@citrix.com, Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 04/03/15 14:55, Jan Beulich wrote: >>>> On 04.03.15 at 15:37, wrote: >> I looked to the interface of XENDOMCTL_bind_pt_irq and I'm not sure >> about the meaning of machine_irq and isa_irq. >> >> AFAIU the code: >> machine_irq => guest PIRQ > > Yes (i.e. the Xen assigned representation of an IRQ the guest has > been granted access to). Thank you for the confirmation. >> isa_irq => host IRQ > > But only for ISA ones, not PCI (i.e. you likely don't care about this > at all). > > Note that the PCI case here still lacks a segment number - if you in > the end decided you want/need non-zero segments on ARM, then > this will need extension (which it would need anyway if anyone was > serious about to running Xen on such [x86] hardware). I don't care about PCI right now. I'm looking for mapping SPI (kind of ISA) to the guest. I'm planning to introduce a new type of this purpose. Regards, -- Julien Grall