mbox series

[v3,0/1] arm64: PCI SMC config conduit

Message ID 20210121041729.1858499-1-jeremy.linton@arm.com (mailing list archive)
Headers show
Series arm64: PCI SMC config conduit | expand


Jeremy Linton Jan. 21, 2021, 4:17 a.m. UTC
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

    Convert from SMC only calls to arm_smccc_1_1_invoke() for better
      conformance with the specification.
    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(+)