Skip to content

pcie: validate QPS615 runtime topology - #572

Draft
Srikanth Muppandam (smuppand) wants to merge 2 commits into
qualcomm-linux:mainfrom
smuppand:feature/qps615-runtime-validation
Draft

pcie: validate QPS615 runtime topology#572
Srikanth Muppandam (smuppand) wants to merge 2 commits into
qualcomm-linux:mainfrom
smuppand:feature/qps615-runtime-validation

Conversation

@smuppand

Copy link
Copy Markdown
Contributor

Summary

Extend PCIe and Ethernet inventory validation with capability-driven QPS615 topology, firmware, endpoint binding, and network-interface checks.

Depends on the platform runtime foundation PR and should remain Draft until that PR merges.

Changes

  • Add generic PCIe runtime health collection for link state, driver binding, MSI, capabilities, and runtime power.
  • Dynamically discover QPS615 bridge functions and downstream PCI devices.
  • Validate the QPS615 PCIe bridge firmware artifact.
  • Discover QPS615 Ethernet endpoints from runtime PCI topology.
  • Validate actual endpoint driver binding and associated network interfaces.
  • Report driver registration, module availability, modalias, module parameters, and unbound endpoint state.
  • Share QPS615 inventory logic between the PCIe and Ethernet suites through lib_ethernet.sh.
  • Retain structured topology artifacts for debugging.
  • Preserve existing generic PCIe and Ethernet validation when QPS615 is absent.

Result classification

  • QPS615 switch absent: QPS615-specific validation is not applicable, generic validation continues.
  • Switch, downstream topology, and firmware healthy: topology check passes.
  • Declared Ethernet endpoint unbound or missing its runtime network interface: fails with endpoint-specific evidence.
  • Optional or unused downstream bridge ports do not cause false failures.

Add shared runtime inventory and validation primitives for I2C, PCIe, USB, device-tree health, firmware discovery, and QRTR topology. Keep capability detection dynamic across platforms and expose bounded diagnostics for consumer suites.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Extend generic PCIe health collection and Ethernet inventory with dynamically discovered QPS615 bridge, firmware, endpoint, driver, and netdev evidence. Preserve the generic paths when the switch is absent and report unbound endpoints with actionable diagnostics.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant