This set provides a platform standardized way to access PCI config space. It does that via an Arm specific interface exported by the firmware. The Arm specification this is based on can be found here:
The Arm PCI Configuration Space Access Firmware Interface https://developer.arm.com/documentation/den0115/latest v2->v3: Convert from SMC only calls to arm_smccc_1_1_invoke() for better conformance with the specification. v1->v2: Add SMC_PCI_FEATURES calls to verify _READ, _WRITE and _SEG_INFO functions exist. Add a _SEG_INFO bus start, end validation against the ACPI table. Adjust some function naming, and log messages. Jeremy Linton (1): arm64: PCI: Enable SMC conduit arch/arm64/kernel/pci.c | 111 ++++++++++++++++++++++++++++++++++++++ include/linux/arm-smccc.h | 29 ++++++++++ 2 files changed, 140 insertions(+) -- 2.26.2