Unable to allocate PCI I/O resources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I have some oldish MIPS-based (Lantiq Danube) routers that have a PCI
bus and a VIA 6212 USB-controller connected to it. The USB controller
requires I/O resources in addition to memory. It seems that with kernel
3.18 and newer PCI I/O resources can no longer be allocated on this
platform. I tracked the problem down to a patch set from Liviu Dudau
(Support for creating generic PCI host bridges from DT). After this
patch the function pci_address_to_pio in drivers/of/address.c hits the check

address > IO_SPACE_LIMIT

since address on this SoC is 0x1AE00000 and IO_SPACE_LIMIT is 0xFFFF on
MIPS (PCI_IOBASE is not defined). Changing IO_SPACE_LIMIT to 0xFFFFFFFF
I can work around the problem, but I think that is not the proper solution.

Any ideas on how to fix this?

Best regards,
Matti Laakso




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux