Questions tagged [pci-bus]

Peripheral Component Interconnect, PCI bus is the most used bus in computers during the late 1990's and early 2000's

It was introduced by Intel in 1992, revised in 1993 to version 2.0, and later revised in 1995 to PCI 2.1 and is as an expansion to the ISA bus.

PCI follows the PnP specification and therefore does not require any type of jumpers or dip switches.

Read more

78 questions
15
votes
1 answer

How to interpret the contents of /proc/bus/pci/devices?

The first few fields of 'cat /proc/bus/pci/devices' are understandable. Field 1 - BusDevFunc Field 2 - Vendor Id + Device Id Field 3 - Interrupt Line Field 4 - BAR 0 and the rest of the BAR registers (0 - 5) after that. After the BAR registers…
vivekian2
  • 3,795
  • 9
  • 35
  • 41
12
votes
5 answers

Difference between memory bus and address bus

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 databus ?
Navneeth Baliga
  • 169
  • 3
  • 3
  • 6
11
votes
2 answers

How is PCI segment(domain) related to multiple Host Bridges(or Root Bridges)?

I'm trying to understand how PCI segment(domain) is related to multiple Host Bridges? Some people say multiple PCI domains corresponds to multiple Host Bridges, but some say it means multiple Root Bridges under a single Host Bridge. I'm confused…
Zihan
  • 405
  • 3
  • 13
8
votes
2 answers

Direct communication between two PCI devices

I have a NIC card and a HDD both connected on PCIe slots in a Linux machine. Ideally, I'd like to funnel incoming packets to the HDD without involving the CPU, or involving it minimally. Is it possible to set up direct communication along the PCI…
Trev
  • 222
  • 4
  • 9
8
votes
2 answers

MMIO read/write latency

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 address. The device is a PCIe Intel 10G NIC and…
William Tu
  • 301
  • 3
  • 7
6
votes
1 answer

PCI-bus load measurement in Linux

I have a linux (3.12) system (x86-64) with multiple devices connected to the PCI bus (PCI-e). I would like to measure the PCI bus load in the current situation and again when I connect another device to the bus to see the difference, but I have no…
Frank
  • 2,446
  • 7
  • 33
  • 67
6
votes
1 answer

Retrieving PCI coordinates by Windows' API (user mode)

Is there a way to obtain PCI coordinates (bus/slot/function numbers) of devices by using Windows c/c++ API (e.g PnP Configuration Manager API)? I already know how to do it in kernel mode, I need an user-mode solution. My target system is Windows…
Giuseppe Guerrini
  • 4,274
  • 17
  • 32
5
votes
0 answers

RHEL7.4 on x86 with Intel 82X38/X48 Express chipset -- completely unable to get interrupts delivered to my driver

My colleagues and I are working with one of our PCIe-based products, and we've discovered that some kind of platform/chipset dependency is preventing interrupts from being delivered to our linux kernel driver (rapafp). One older version of the…
Timothy Miller
  • 1,527
  • 4
  • 28
  • 48
5
votes
1 answer

Accessing the PCI config space with Win32 API

Given the address of a PCI device (i.e. bus, device, function), how can one programatically read, using Win32 API calls in userspace, the config space (e.g. vendor ID, device ID) for that device? On Linux, one openes the /sys/bus/pci/devices//config…
Mircea
  • 1,841
  • 15
  • 18
5
votes
1 answer

How to record(reverse-engineer) PCI transactions on Linux

I want to record all read/write PCI transactions of a device driver. Is there a way to do it by a linux command or on software?
5
votes
1 answer

How Pci driver works in Linux

I'm trying to learn about how pci drivers works in Linux in PC environment but really find it difficult to go thorugh.There are few following statement which I like to understand before make a move. The PCI specification permits a system to host up…
Amit Singh Tomar
  • 8,380
  • 27
  • 120
  • 199
5
votes
1 answer

Is there a definitieve resource that documents navigation of the linux /proc and /sys filesystems?

We use the /proc and /sys file systems in Linux to discover various types of system configuration information. Typically, we spelunk around through the different files and directories until we find the information that we need. I'm wondering if…
Steve Hawkins
  • 1,433
  • 4
  • 17
  • 24
4
votes
1 answer

C++ app to talk to an FPGA over PCI in userland using mmap

First off i'm new to Linux programming so apologies if this makes no sense or I'm barking up the wrong tree, point me in the correct direction. I'm trying to write a cpp app to talk to a FPGA over a pci bus, in userland. The code I have written so…
rb_
  • 613
  • 9
  • 24
4
votes
2 answers

How can I read the bandwidth in use over the PCIe bus?

I'm working on a streaming media application that pushes a lot of data to the graphics card at startup. The CPU is doing very little at the point when the data is being pushed, it idles along at close to zero percent usage. I'd like to monitor…
user206705
4
votes
1 answer

Finding available LPT (parallel) ports and addresses in Delphi

I am doing direct I/O on a parallel port which is fine and necessary for speed. I would like to enumerate the available ports to offer the user a choice of ports at setup time rather than a tedious trawl through device manager to read the address…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
1
2 3 4 5 6