On 10/31/2012 3:15 AM, Arnd Bergmann wrote:
On Monday 29 October 2012, Pratyush Anand wrote:
Any transaction between 0x80000000 to 0x8FFFFFFF can only be used for
any type(IO/MEM/CFG0/CFG1) of PCIe transaction. Therefore , we need to
have this mapping in io.h.
No you don't.
The I/O space window will only be in one place on a given system, so you
should register that window using pci_ioremap_io() as all the other
Sorry, I could not find pci_ioremap_io function. May be you wanted to
refer something else.
In case of SPEAr too , we can reserve first 32Kb per controller as PCIe
IO space. So, lets say I fixed address 0x80000000--0x80007FFF for IO
transaction. I need to register address range of this window somehow.
But, issue which faced was that I was not able to successfully
request_resource(&ioport_resource, &res]) with res.start = 0x80000000
and res.end = 0x80007fff.
So, I though first to change IO_SPACE_LIMIT. But I found it not a
correct way.
May be I am missing something and not able to get how can I use
pci_ioremap_io or something else to register 0x80000000--0x80007FFF
window. A reference will help.
Regards
Pratyush
modern platforms. There is no excuse for having a per-platform mach/io.h
any more and that would prevent you from enabling spear in a multiplatform
configuration.
Arnd
.
--
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