Top "Pci" questions

Questions in this tag are only for questions related to the PCI Local Bus standard which is a computer bus for attaching hardware devices in a computer.

PCI Express BAR memory mapping basic understanding

I am trying to understand how PCI Express works so i can write a windows driver that can read and …

memory memory-management dma pci pci-e
What is the Base Address Register (BAR) in PCIe?

After going through some basics documents what I understood is, Base Address Register is Address space which can be accessed …

pci pci-e base-address
In Linux, is there a way to find out which PCI card is plugged into which PCI slot?

In Linux, is there a way to find out which PCI card is plugged into which PCI slot? /sys/bus/…

linux pci sysfs
check for IOMMU support on linux

I'd like to verify on any given Linux machine if PCI passthrough is supported. After a bit of googling, I …

linux pci iommu
How is a PCI / PCIe BAR size determined?

I know that the base address register (BAR) in PCI configuration space defines the start location of a PCI address, …

pci pci-e
BUG: unable to handle kernel paging request at

I am writing a PCI driver for a simple test device. Hardware is recognized correctly with lspci (as you can …

linux kernel driver paging pci
Finding Memory Address of a Parallel Port on Linux

I'm trying to find the base (memory) address of a parallel port I have connected to my laptop via a …

linux pci parallel-port memory-address
How do I read data from bar 0, from userspace, on a pci-e card in linux?

On windows there is this program called pcitree that allows you to set and read memory without writing a device …

linux driver pci
How to read extended PCIE configuration space in Linux?

I've tried both reading userspace pci entry under /proc/bus/pci directory and calling kernel space API pci_read_config_…

linux linux-kernel linux-device-driver pci
How do I discover the PCIe bus topology and slot numbers on the board?

For example, when I use multi-GPU system with CUDA C/C++ and GPUDirect 2.0 P2P, and I use nested PCI-Express …

c++ windows cuda pci pci-e