pci-e Questions
1
Solved
I'm using PCI-e port on Freescale MPC8308 processor (which is based on PowerPC architecture) and I have some problems when trying to use it. The endpoint PCI-e device has memory space equal to 256 ...
Tomkin asked 3/11, 2016 at 6:36
3
Solved
I am working on a network driver for an FPGA endpoint that supports multi-message MSI interrupts (not msix) on a PCIe bus. The host processor is an x86 Intel i7 620LM running on CentOS with a 4.2 k...
Telescopy asked 22/12, 2015 at 0:24
2
I found my MMIO read/write latency is unreasonably high. I hope someone could give me some suggestions.
In the kernel space, I wrote a simple program to read a 4 byte value in a PCIe device's BAR0...
Agreed asked 21/7, 2013 at 9:21
2
Solved
I am writing a PCIe driver for Linux, currently without DMA, and need to know how to read and write to the PCIe device once it is enabled from user space.
In the driver I do the basics in probe()...
Pyrene asked 8/2, 2016 at 18:26
5
Can someone very briefly point out the differences between the memory bus and address bus in computer architectures ? Also when you say memory bus does it imply that you are referring to the databu...
Boreal asked 15/11, 2011 at 10:4
1
Objective
I'm trying to programmatically find out on which physical slot a particular PCIe device is connected. The premise is that I have the PCI-ID of a card that is surely occupying a slot, and...
2
What is DMA mapping and DMA engine in context of linux kernel?
When DMA mapping API and DMA engine API can be used in Linux Device Driver?
Any real Linux Device Driver example as a reference would ...
Almire asked 25/12, 2015 at 15:5
2
Can any body tell why MSI interrupts are not shareable in linux.
PIN based interrupts can be shared by devices, but MSI interrupts are not shared by devices, each device gets its own MSI IRQ numbe...
Misfile asked 20/12, 2015 at 13:31
1
I'm trying to get DMA transfer working between an FPGA and an x86_64 Linux machine.
On the PC side I'm doing this initialization:
//driver probe
...
pci_set_master(dev); //set endpoint as master...
1
Solved
This book's PCI chapter explain about:
int pci_enable_device(struct pci_dev *dev);
however there's also:
int pcim_enable_device (struct pci_dev * pdev);
But besides stating it's a "Managed pc...
Nominee asked 1/3, 2015 at 16:29
1
Solved
I am working on pcie based network driver. Different examples use one of pci_alloc_consistent or dma_alloc_coherent to get memory for transmission and reception descriptors. Which one is better if ...
Existence asked 28/12, 2014 at 14:46
1
I have a PCIe device with a userspace driver. I'm writing commands to the device through a BAR, the commands are latency sensitive and amount of data is small (~64-bytes) so I don't want to use DMA...
Mcguinness asked 23/4, 2014 at 15:11
2
Solved
In CUDA programming guide it is stated that atomic operations on mapped pinned host memory "are not atomic from the point of view of the host or other devices." What I get from this sentence is tha...
3
Solved
I am trying to understand how PCI Express works so i can write a windows driver that can read and write to a custom PCI Express device with no on-board memory.
I understand that the Base Address R...
Borstal asked 3/1, 2014 at 10:12
3
Solved
Linux kernel 2.6
I've got an fpga that is loaded over GPIO connected to a development board running linux.
The fpga will transmit and receive data over the pci-express bus. However, this is enumer...
1
Solved
As we know: http://en.wikipedia.org/wiki/IOMMU#Advantages
Peripheral memory paging can be supported by an IOMMU. A peripheral
using the PCI-SIG PCIe Address Translation Services (ATS) Page Requ...
Gibbs asked 7/11, 2013 at 16:50
2
Solved
I've been reading through the horror that is the PCIe spec, and still can't get any kind of resolution to the following question pair.
Does PCIe allow for mapping huge (say 16GB) 64-bit non-prefe...
1
Solved
1
I am trying to write a driver with custom mmap() function for PCIe BAR, with the goal to make this BAR cacheable in the processor cache. I am aware this is not the best way to achieve highest bandw...
2
Solved
I am working on a DMA routine to transfer data from PC to a FPGA on a PCIe card. I read DMA-API.txt and LDD3 ch. 15 for details. However, I could not figure out how to do a DMA transfer from PC to ...
Chick asked 19/4, 2013 at 11:45
2
I'm writing a linux device driver to allow an FPGA (currently connected to the PC via PCI express) to DMA data directly into CPU RAM. This needs to happen without any interaction and user space nee...
1
Solved
© 2022 - 2024 — McMap. All rights reserved.