This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] MMIO ioremap() error with PCI passthrough

To: Andy Burns <lists.xensource.com@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] MMIO ioremap() error with PCI passthrough
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 01 Jul 2008 09:30:54 +0100
Delivery-date: Tue, 01 Jul 2008 01:31:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4869E808.6040008@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjbVMbaBYrBX0dIEd2U0gAWy6hiGQ==
Thread-topic: [Xen-devel] MMIO ioremap() error with PCI passthrough
User-agent: Microsoft-Entourage/
On 1/7/08 09:17, "Andy Burns" <lists.xensource.com@xxxxxxxxxxxxxx> 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?

Xen-devel mailing list