pci_iomap error handling

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

 



Hi,

I am using a custom board based on PLX PEX8311 device.
I have two 32MB BAR (BAR2 and  BAR3) which I try to map using pci_iomap. 

First bar get mapped correctly but for the second It fails . In the dmesg I get the following error message :

[  410.361410] alloc_vmap_area: 30 callbacks suppressed
[  410.361412] vmap allocation for size 33558528 failed: use vmalloc=<size> to increase size.
[  410.362585] [CPRE_drv] : error while mapping LSPACE1

I am using 2.6.38 kernel from latest Ubuntu release. 

This mapping used to work with previous version (Yet I am unable to give a precise version).

What can I do to have the driver works in all cases ? Is there a known solution using vmalloc to map PCI BARS ? 

I have been trying to google my problem but I havenât found a solution. Can you give me pointers ? 

Best Regards,
StÃphane GONAUER
--
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


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux