]> mj.ucw.cz Git - pciutils.git/commit
libpci: Add Intel Type 1 implementation for memory mapped systems
authorPali Rohár <pali@kernel.org>
Sun, 2 Jan 2022 19:50:41 +0000 (20:50 +0100)
committerPali Rohár <pali@kernel.org>
Sat, 5 Nov 2022 13:22:43 +0000 (14:22 +0100)
commit0a7350fb9442dbfb8b0328ec9f7080947a28c2a1
treec997513e4c31e9165e7a9bdaed6993b9eb9c75db
parent5110f557483df98791c249ec3de9abb057456f0d
libpci: Add Intel Type 1 implementation for memory mapped systems

Lot of non-x86 platforms also support Intel Type 1 mechanism. x86 IO ports
CF8 and CFC are on these platforms mapped into standard memory space.
Address mapping itself is platform or board specific and there is no
default value.

Lot of ARM boards with multiple PCIe controllers are multi-domain and each
PCI domain has its own CF8/CFC (address/data) registers mapped into memory
space.

Add new mmio-conf1 backend which access CF8/CFC ports via MMIO and define
new config option mmio-conf1.addrs which specify list of address/data
register pairs in memory space for each PCI domain. Format of this option
is: 0xaddr1/0xdata1,0xaddr2/0xdata2,...
lib/Makefile
lib/configure
lib/init.c
lib/internal.h
lib/mmio-ports.c [new file with mode: 0644]
lib/pci.h
pcilib.man