From: Keir Fraser Subject: Re: MMIO ioremap() error with PCI passthrough Date: Tue, 01 Jul 2008 09:30:54 +0100 Message-ID: References: <4869E808.6040008@adslpipe.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4869E808.6040008@adslpipe.co.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andy Burns , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 1/7/08 09:17, "Andy Burns" wrote: > # xm dmesg > > (XEN) mm.c:625:d6 Non-privileged (6) attempt to map I/O space 000fec00 What does lspci say the resource areas are for this device? It looks like fec00000 is past the end of the device's mmio region. > The called code in dom0 is here > > http://lxr.xensource.com/lxr/source/xen/arch/x86/mm.c#L674 > > Am I right in thinking the pciback.permissive parameter is now removed? > Certainly modinfo is unaware of it. It got turned into a per-device attribute. I think you echo the PCI slot value to /sys/bus/pci/drivers/pciback/permissive -- Keir > Any suggestions for how to stop the ioremap() call from failing and thus > allow the driver to loading properly?