[PATCH v11 01/60] PCI: Fix iomem_is_exclusive() checking in pci_mmap_resource()

2016-04-07 Thread Yinghai Lu
From: Bjorn Helgaas iomem_is_exclusive() requires a CPU physical address, but on some arches we supplied a PCI bus address instead. On most arches, pci_resource_to_user(res) returns "res->start", which is a CPU physical address. But on microblaze, mips, powerpc, and sparc,

[PATCH v11 01/60] PCI: Fix iomem_is_exclusive() checking in pci_mmap_resource()

2016-04-07 Thread Yinghai Lu
From: Bjorn Helgaas iomem_is_exclusive() requires a CPU physical address, but on some arches we supplied a PCI bus address instead. On most arches, pci_resource_to_user(res) returns "res->start", which is a CPU physical address. But on microblaze, mips, powerpc, and sparc, it returns the PCI