Hello! I start with a CPU physical address somwhere within the PCI bridge space: 0x85000000 Then I use ioremap_nocache on it to obtain a (range of) virtual address(es): 0xC302D000 And then I use virt_to_bus() to obtain an address to hand over to the PCI device: 0x0302D000
While I do see this conforms to the implementation of virt_to_bus(), I cannot decide whether this makes sense. Is ioremap() fixed, so it always returns the same virtual addresses for the same given physical ones? Or does it return "what's available" in virtual address space (so the above bus address would be somehow bogus I guess)? Would a function like phys_to_bus() give me the same result? Thanks in advance, Oliver Korpilla ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/