I would like to alloc memory for a dma transfer between a PCI device and RAM. I am using the next function in order to alloc memory:
pci_alloc_consistent
I want to alloc memory under 2GB. Otherwise, the pci device fail. But this function provides any address from my ram (4GB). Are there any solution?
BR