From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v4 5/6] xen: arm: map child MMIO and IRQs to dom0 for PCI bus DT nodes. Date: Fri, 3 Jul 2015 12:26:55 +0100 Message-ID: <5596717F.1030903@citrix.com> References: <1431084401.2660.440.camel@citrix.com> <1431084420-14372-5-git-send-email-ian.campbell@citrix.com> <558D9251.2070703@citrix.com> <1435921141.9447.85.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1435921141.9447.85.camel@citrix.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: Ian Campbell Cc: xen-devel@lists.xen.org, julien.grall@linaro.org, tim@xen.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Hi Ian, On 03/07/15 11:59, Ian Campbell wrote: > On Fri, 2015-06-26 at 19:56 +0200, Julien Grall wrote: >> I forgot to mention in the previous version that we need to give iomem >> permission to the guest. Otherwise DOM0 won't be able to map the BAR >> into the guest. > > This boils down to a call to iomem_permit_access in the > map_range_to_domain callback and moving the need_mapping check down into > the cb surrouding only the map_mmio_region call but not the > permis_access one, right? Correct. Regards, -- Julien Grall