[Georgiy attached dmesg log, lspci output, a user program with output, and a kernel module with output to https://bugzilla.kernel.org/show_bug.cgi?id=92321] The kernel module, which uses ioremap(), works as expected. The user program, which uses mmap(), fails. The user-space mmap() path uses pci_mmap_resource(). Can you add some instrumentation to that path? We might be able to figure out where things are going wrong. Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html