Skip to content

baseport: add PD Mapper, TQFTP and thermal runtime validation - #582

Merged
Bhargav-qcom (bhargav0610) merged 4 commits into
qualcomm-linux:mainfrom
smuppand:feature/p0-runtime-coverage
Sep 18, 2026
Merged

Bhargav-qcom (bhargav0610) merged 4 commits into
qualcomm-linux:mainfrom
smuppand:feature/p0-runtime-coverage

Conversation

@smuppand

Copy link
Copy Markdown
Contributor

Add focused runtime validation for PD Mapper, TQFTP, and thermal management.

  • Add shared QRTR topology and service-discovery helpers.
  • Validate kernel-first PD Mapper discovery with userspace fallback.
  • Perform a bounded QMI domain-list request and compare results with runtime service-registry data.
  • Perform an exact local-host TQFTP RRQ transfer over AF_QIPCRTR.
  • Validate thermal zones, trip points, cooling bindings, and telemetry.
  • Add an optional bounded stress-ng phase, enabled by default in the focused LAVA YAML.
  • Improve kernel-log capture diagnostics and retain per-run evidence.

All target-specific expectations are discovered dynamically. Optional dependencies produce focused SKIP results without installing packages.

Provide bounded native and Python topology capture, normalized service evidence, and reusable QRTR and PD Mapper runtime helpers. Retain bounded log excerpts and distinguish clean kernel logs from unavailable capture, including a retry for successful-but-empty dmesg output.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Discover tqftpserv and its QRTR endpoint dynamically, then stage a temporary payload and verify an exact bounded RRQ transfer over AF_QIPCRTR. Retain service, topology, packet, payload, and kernel evidence while restoring only test-created state.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Discover thermal zones, trip points, cooling bindings, and telemetry from the running target. Add an image-provided stress-ng phase with bounded sampling, recovery evidence, and kernel-log diagnostics, and enable that functional phase by default in the focused LAVA definition.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Prefer the kernel PD Mapper implementation while retaining a userspace fallback. Discover the protocol endpoint and service-registry data dynamically, then issue a bounded QMI domain-list request and verify the returned domains against the runtime registry.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
@bhargav0610
Bhargav-qcom (bhargav0610) merged commit 443c256 into qualcomm-linux:main Sep 18, 2026
14 checks passed
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.

2 participants