Skip to content

usb: typec: hd3ss3220: Fix VBUS regulator reference handling - #972

Merged
Salendarsingh Gaud (sgaud-quic) merged 2 commits into
qualcomm-linux:qcom-6.18.yfrom
kunjinkao-os:fix/hd3ss3220-vbus-qcom-6.18.y
Sep 17, 2026
Merged

Salendarsingh Gaud (sgaud-quic) merged 2 commits into
qualcomm-linux:qcom-6.18.yfrom
kunjinkao-os:fix/hd3ss3220-vbus-qcom-6.18.y

Conversation

@kunjinkao-os

@kunjinkao-os Chang Wu (kunjinkao-os) commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

The HD3SS3220 driver uses regulator_is_enabled() to determine whether VBUS
needs to be enabled or disabled. However, regulator_is_enabled() reports the
aggregate regulator state and does not indicate whether this consumer holds
an enable reference.

If another consumer enables VBUS first, the driver may skip its own
regulator_enable() call and later issue an unbalanced regulator_disable()
call.

Track the VBUS enable state locally so that regulator enable and disable
references remain balanced for this consumer. Update the state only after a
successful regulator operation.

This PR contains two upstream commits:

  1. UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error message
  2. UPSTREAM: usb: typec: hd3ss3220: track VBUS enable state per consumer

Fixes: 09fa276 ("FROMLIST: usb: typec: hd3ss3220: Enable VBUS based on role state")

Testing:

  • scripts/checkpatch.pl --strict: no errors or warnings
  • Qualcomm CI checkpatch, sparse, DT and UAPI checks: passed
  • Tested by Jan Remmet on an i.MX95 development board with device/host switching

I am an external contributor and do not have access to Qualcomm's internal
CR system. Maintainer guidance on the appropriate CR association would be
appreciated.

CRs-Fixed: 4676785

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

1 similar comment
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@kunjinkao-os

Copy link
Copy Markdown
Contributor Author

Dmitry Baryshkov (@lumag) yijiyang jingyiwang42

The VBUS regulator warning was observed in the log attached to #472, but it is
independent of that issue's IRQ test failure. The IRQ test false positive was
already fixed in qualcomm-linux/qcom-linux-testkit#462 , which was merged.

This PR only fixes the independent
"unbalanced disables for vbus_supply_1" warning. As an external contributor,
I do not have access to Qualcomm's internal CR system.

Could you please advise the appropriate CR to reference for this fix, or the
accepted process for an external fix without a CR?

@kunjinkao-os
Chang Wu (kunjinkao-os) force-pushed the fix/hd3ss3220-vbus-qcom-6.18.y branch from 3a1bdcc to 1186be0 Compare August 19, 2026 13:26
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

2 similar comments
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@kunjinkao-os
Chang Wu (kunjinkao-os) force-pushed the fix/hd3ss3220-vbus-qcom-6.18.y branch from 1186be0 to 12aa1d7 Compare August 19, 2026 15:31
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

1 similar comment
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@kunjinkao-os
Chang Wu (kunjinkao-os) force-pushed the fix/hd3ss3220-vbus-qcom-6.18.y branch from 12aa1d7 to c6512aa Compare August 20, 2026 07:44
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@qlijarvis

Copy link
Copy Markdown

PR #972 — validate-patch

PR: #972

Verdict Issues Detailed Report
0 Full report

Final Summary

  1. Lore link present: Partial - Commit 1/2 has invalid format (patch.msgid.link), Commit 2/2 has valid lore.kernel.org link
  2. Lore link matches PR commits: No - Commit 1/2 cannot be validated (invalid link), Commit 2/2 has critical mismatches (Fixes tag, Link tag, baseline)
  3. Upstream patch status: Commit 1/2 unknown (cannot fetch), Commit 2/2 Decision Pending (posted 2 days ago, no maintainer response yet)
  4. PR present in qcom-next/topics: Fail - 1/2 commit(s) are missing from both qcom-next and topics
Verdict: ❌ — click to expand

🔍 Patch Validation

PR: #972 - Two USB typec hd3ss3220 fixes
Upstream commits: Mixed (see per-commit analysis below)
Verdict: ❌ FAIL


Commit 1/2: UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error message

Commit Message

Check Status Note
Subject matches upstream ⚠️ Cannot verify - invalid lore link format
Body preserves rationale ⚠️ Cannot verify - invalid lore link format
Fixes tag present/correct References 09fa276f21e0 with FROMLIST: prefix in Fixes tag - should reference upstream SHA
Authorship preserved Xu Rao raoxu@uniontech.com
Backport note (if applicable) N/A Marked as UPSTREAM, not BACKPORT

Diff

File Status Notes
drivers/usb/typec/hd3ss3220.c ⚠️ Cannot verify against lore - invalid link format

Issues

  1. Invalid lore link format: The Link tag uses https://patch.msgid.link/7A42A287B2B588D0+20260812094632.348581-1-raoxu@uniontech.com instead of a proper lore.kernel.org URL. The validate-patch skill requires lore.kernel.org links.
  2. Fixes tag references vendor commit: The Fixes tag references 09fa276f21e0 ("FROMLIST: usb: typec: hd3ss3220: Enable VBUS based on role state") which includes a vendor prefix FROMLIST: in the commit subject. Upstream Fixes tags should reference the actual upstream commit SHA and subject without vendor prefixes.
  3. No lore evidence available: Cannot fetch or validate the upstream patch content because the link format is not supported by standard lore fetching tools (b4, curl).

Verdict for Commit 1/2

FAIL - Invalid lore link format prevents validation. Must use lore.kernel.org URL.


Commit 2/2: FROMLIST: usb: typec: hd3ss3220: track VBUS enable state per consumer

Commit Message

Check Status Note
Subject matches upstream PR adds FROMLIST: prefix; lore has no prefix
Body preserves rationale Identical wording
Fixes tag present/correct Critical mismatch: PR references 09fa276f21e0 (vendor commit), lore references b3f9d6e491fd (upstream commit)
Authorship preserved Chang Wu kunjinkao.jp@gmail.com matches
Backport note (if applicable) N/A FROMLIST, not a backport

Diff

File Status Notes
drivers/usb/typec/hd3ss3220.c Context mismatch - PR applies to different baseline than lore patch

Detailed Diff Analysis

Lore patch context (line 208-209):

-	if (regulator_is_enabled(hd3ss3220->vbus) == on)
+	if (hd3ss3220->vbus_enabled == on)

PR patch context (line 208-209):

-	if (regulator_is_enabled(hd3ss3220->vbus) == on)
+	if (hd3ss3220->vbus_enabled == on)

The hunks are identical, but the index lines differ:

  • Lore: index d0de5a2488f9..4eec90c82bae
  • PR: index b63e0bfe5ecc6..8d0f38fb70442

This indicates the PR patch applies to a different baseline than the lore patch. The lore patch was posted against upstream mainline, while the PR patch applies on top of commit 1/2 (the VBUS error message fix).

Critical issue: The lore patch error message line reads:

"vbus regulator %s failed: %d\n", on ? "enable" : "disable", ret);

But the lore patch was posted before the error message fix (commit 1/2) was applied. The original lore patch would have the inverted error message:

"vbus regulator %s failed: %d\n", on ? "disable" : "enable", ret);

The PR has reordered and rebased these patches, applying the error message fix first, then the state tracking fix on top. This is a semantic change from the original lore posting.

Issues

  1. Fixes tag mismatch: PR references vendor commit 09fa276f21e0, lore references upstream commit b3f9d6e491fd. These are different commits fixing different issues.
  2. Link tag mismatch: PR includes Link: https://lore.kernel.org/linux-usb/20260819152027.90994-1-kunjinkao.jp@gmail.com/ but lore has Link: https://github.com/qualcomm-linux/kernel/issues/472 (GitHub issue, not lore).
  3. Testing note removed: Lore patch includes a testing note section; PR omits it.
  4. Patch ordering/rebasing: The PR applies this patch on top of commit 1/2, creating a different baseline than the original lore posting. The lore patch was posted against a tree without the error message fix.

Upstream Patch Status

Verdict:Decision Pending

Evidence from lore thread (fetched mbox):

  • Posted: Wed, 19 Aug 2026 23:20:27 +0800
  • No maintainer replies found in the mbox
  • No applied, queued, Reviewed-by:, or Acked-by: signals
  • No NAK or rejection signals
  • Thread appears to be a single-message posting with no follow-up discussion yet

Status: Patch was posted 2 days ago (as of 2026-08-21). Too recent to determine acceptance. No community decision yet.

Verdict for Commit 2/2

FAIL - Multiple critical mismatches between PR and lore patch:

  • Fixes tag references wrong commit
  • Link tag references wrong URL
  • Patch applies to different baseline (rebased on top of commit 1/2)

Integration Presence Check

From integration_presence_report.md:

Commit qcom-next topics Final Status
1/2 UPSTREAM: fix VBUS regulator error ❌ missing ❌ missing missing
2/2 FROMLIST: track VBUS enable state ⚠️ partial ❌ missing partial

Overall: ❌ FAIL - 1/2 commits completely missing, 1/2 commits only partially present.


Final Verdict

FAIL - Do not merge without corrections.

Critical Issues Summary

Commit 1/2:

  1. Invalid lore link format (patch.msgid.link instead of lore.kernel.org)
  2. Fixes tag references vendor commit with FROMLIST: prefix in subject
  3. Cannot validate patch content against upstream

Commit 2/2:

  1. Fixes tag references vendor commit 09fa276f21e0 instead of upstream commit b3f9d6e491fd
  2. Link tag points to lore but lore patch links to GitHub issue
  3. Patch rebased on different baseline than original lore posting
  4. Testing notes removed from commit message

Integration:

  1. Neither commit is fully present in qcom-next or topics branches
  2. Commit 1/2 completely missing from integration tree
  3. Commit 2/2 only partially present

Recommendations

  1. For commit 1/2: Replace patch.msgid.link URL with proper lore.kernel.org URL. Fix the Fixes tag to reference the actual upstream commit SHA without vendor prefixes.

  2. For commit 2/2:

    • Update Fixes tag to reference b3f9d6e491fd (the upstream commit) instead of 09fa276f21e0 (vendor commit)
    • Verify the Link tag - lore patch has GitHub issue link, PR has lore link (these should match)
    • Consider whether the patch ordering (error fix first, then state tracking) is intentional and correct
    • Document the rebase/reordering in the commit message if intentional
  3. Integration: Ensure both commits are properly integrated into qcom-next before merging to avoid divergence from the integration branch.


Final Summary

  1. Lore link present: Partial - Commit 1/2 has invalid format (patch.msgid.link), Commit 2/2 has valid lore.kernel.org link
  2. Lore link matches PR commits: No - Commit 1/2 cannot be validated (invalid link), Commit 2/2 has critical mismatches (Fixes tag, Link tag, baseline)
  3. Upstream patch status: Commit 1/2 unknown (cannot fetch), Commit 2/2 Decision Pending (posted 2 days ago, no maintainer response yet)
  4. PR present in qcom-next/topics: Fail - 1/2 commits missing, 1/2 commits only partially present (per integration_presence_report.md)

Deterministic Integration Presence

Integration Presence Report

This report is generated by Jarvis before validate-patch runs.
It is the authoritative source for whether PR changes are already present
in qcom-next or in the kernel topic branches.

Kernel repo: /local/mnt/workspace/sgaud/Qgenie/image_pipeline/kernel
qcom-next ref: 3c1e80ceb9fb6978aa94bc0624e7c0003f3b4f6e
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/2 [PATCH 1/2] UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing
2/2 [PATCH 2/2] FROMLIST: usb: typec: hd3ss3220: track VBUS enable state partial - subject or partial tree evidence found, but full change was not verified missing - no subject, patch-id, or full tree-content match found partial

Final Status

overall_status: FAIL
present_commits: 0/2
partial_commits: 1/2
missing_commits: 1/2
topics_checked_for_commits: 2/2
final_summary: PR present in qcom-next/topics: Fail - 1/2 commit(s) are missing from both qcom-next and topics

@qlijarvis

Copy link
Copy Markdown

PR #972 — checker-log-analyzer

PR: #972
Checker run: https://github.com/qualcomm-linux/kernel-config/actions/runs/32119413844

Checker Result Summary
Checker Result Summary
checkpatch 2 commits with warnings (long lines, author name mismatch, unknown commit)
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No devicetree changes
sparse-check Passed
check-uapi-headers No UAPI changes
check-patch-compliance Both commits missing required prefix tags
tag-check Both commits missing required prefix tags (target branch unknown, assuming not qcom-next)

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #972
Run: https://github.com/qualcomm-linux/kernel-config/actions/runs/32119413844

Checker Result Summary
checkpatch 2 commits with warnings (long lines, author name mismatch, unknown commit)
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No devicetree changes
sparse-check Passed
check-uapi-headers No UAPI changes
check-patch-compliance Both commits missing required prefix tags
tag-check Both commits missing required prefix tags (target branch unknown, assuming not qcom-next)

❌ checkpatch

Root cause: Both commits have style warnings related to commit message formatting and metadata.

Failure details:

Commit 604ad2b ("usb: typec: hd3ss3220: Fix VBUS regulator error message"):

WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#6: 
The error message currently reports the inverse operation because the enable/disable names are selected backwards. Report the operation that was actually attempted.

WARNING: From:/Signed-off-by: email name mismatch: 'From: kunjinkao-os <kunjinkao.jp@gmail.com>' != 'Signed-off-by: Chang Wu <kunjinkao.jp@gmail.com>'

604ad2b6261ddc1d7db8e7f862f2340ee6657a81 total: 0 errors, 2 warnings, 0 checks, 8 lines checked

Commit 3a1bdcc ("usb: typec: hd3ss3220: Track VBUS enable state per consumer"):

WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#8: 
called regulator_enable(). If another consumer enables VBUS first, hd3ss3220

WARNING: Unknown commit id 'b3f9d6e491fd', maybe rebased or not pulled?
#14: 
Fixes: b3f9d6e491fd ("usb: typec: hd3ss3220: Check if regulator needs to be switched")

WARNING: From:/Signed-off-by: email name mismatch: 'From: kunjinkao-os <kunjinkao.jp@gmail.com>' != 'Signed-off-by: Chang Wu <kunjinkao.jp@gmail.com>'

3a1bdcc6be7511bcb81aa77c96a996021d72067a total: 0 errors, 3 warnings, 0 checks, 29 lines checked

Fix:

  1. Long commit body lines — Wrap commit message body lines at 75 characters. The offending lines are:

    • Commit 1: "The error message currently reports the inverse operation because the enable/disable names are selected backwards. Report the operation that was actually attempted."
    • Commit 2: "called regulator_enable(). If another consumer enables VBUS first, hd3ss3220"
  2. Author name mismatch — The From: line shows kunjinkao-os <kunjinkao.jp@gmail.com> but Signed-off-by: shows Chang Wu <kunjinkao.jp@gmail.com>. This appears to be commit 1 (604ad2b) which should have author Xu Rao <raoxu@uniontech.com> based on the patch file. The warning is likely a false positive or the commits were authored incorrectly. Verify the correct author and amend if needed:

    git commit --amend --author="Xu Rao <raoxu@uniontech.com>"
  3. Unknown commit ID — The Fixes: tag references b3f9d6e491fd which is not in the tree. This is likely because the original Fixes: tag in the upstream patch referenced a different commit SHA. Update the Fixes: tag to reference the correct commit SHA in this tree, or verify the commit exists.

Reproduce locally:

./scripts/checkpatch.pl --strict --ignore FILE_PATH_CHANGES --git c57b63497cd72a45c8992e05373f7b32901cf029..3a1bdcc6be7511bcb81aa77c96a996021d72067a

❌ check-patch-compliance

Root cause: Both commits are missing the required subject-line prefix tags (UPSTREAM:, FROMLIST:, etc.).

Failure details:

Checking commit: usb: typec: hd3ss3220: Fix VBUS regulator error message
Commit summary does not start with a required prefix

Checking commit: usb: typec: hd3ss3220: Track VBUS enable state per consumer
Commit summary does not start with a required prefix

Fix:

The patch file shows the correct prefixes should be:

  • Commit 1: UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error message
  • Commit 2: FROMLIST: usb: typec: hd3ss3220: track VBUS enable state per consumer

However, the actual commits in the git tree are missing these prefixes. Amend each commit to add the correct prefix:

# For commit 604ad2b6261d (first commit)
git rebase -i c57b63497cd72a45c8992e05373f7b32901cf029
# Mark commit as 'edit'
git commit --amend -m "UPSTREAM: usb: typec: hd3ss3220: Fix VBUS regulator error message

<rest of commit message>"

# For commit 3a1bdcc6be75 (second commit)
# Continue rebase and mark as 'edit'
git commit --amend -m "FROMLIST: usb: typec: hd3ss3220: Track VBUS enable state per consumer

<rest of commit message>"

git rebase --continue

Note: The patch file in the workspace shows the commits should have these prefixes, but the actual commits in the git tree at the time of CI run did not. This suggests the commits were amended after the CI run, or the patch file was generated from a different branch.


❌ tag-check

Root cause: Both commits are missing required subject-line prefix tags.

Failure details:

This is the same issue as check-patch-compliance. The tag-check is a manual verification step that confirms every commit subject starts with a valid prefix tag when the target branch is not qcom-next or qcom-next-staging.

Since the target branch could not be determined from the available logs, and the commits are missing prefixes, this check fails.

Commits without prefix:

  • 604ad2b6261d: "usb: typec: hd3ss3220: Fix VBUS regulator error message"
  • 3a1bdcc6be75: "usb: typec: hd3ss3220: Track VBUS enable state per consumer"

Fix: Same as check-patch-compliance — add the correct prefix to each commit subject:

  • Commit 1 → UPSTREAM: usb: typec: hd3ss3220: Fix VBUS regulator error message
  • Commit 2 → FROMLIST: usb: typec: hd3ss3220: Track VBUS enable state per consumer

Note: If the target branch is qcom-next or qcom-next-staging, this check does not apply and can be marked as N/A.


Verdict

3 blockers must be fixed before merge:

  1. checkpatch warnings — Wrap long commit body lines at 75 chars, verify author metadata, and fix the unknown commit ID in the Fixes: tag.
  2. check-patch-compliance failure — Add UPSTREAM: prefix to commit 1 and FROMLIST: prefix to commit 2.
  3. tag-check failure — Same as Adding Email Checker  #2 (add required prefix tags).

Additional observations:

  • The patch file (pr.patch) shows the commits with the correct prefixes, but the actual git commits at CI runtime were missing them. This suggests either:
    • The commits were amended after the CI run, or
    • The patch file was generated from a different branch/state than what CI tested.
  • The From: author in the checkpatch warning (kunjinkao-os) does not match the expected author from the patch file (Xu Rao for commit 1, Chang Wu for commit 2). Verify the correct authorship.

Recommendation: Amend both commits to add the required prefix tags and wrap long commit body lines, then force-push to re-trigger CI.

@kunjinkao-os
Chang Wu (kunjinkao-os) force-pushed the fix/hd3ss3220-vbus-qcom-6.18.y branch from c6512aa to 4aeb258 Compare August 21, 2026 15:48
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@kunjinkao-os

Copy link
Copy Markdown
Contributor Author

Note: the qlijarvis reports above were generated before the latest force-push and refer to the old commits. The current PR head is 4aeb258b2e12dc21813edc72c27afca4dd7b072b (b8d4e243, 4aeb258b). Please use this revision for any further validation.

@qlijarvis

Copy link
Copy Markdown

PR #972 — validate-patch

PR: #972

Verdict Issues Detailed Report
0 Full report

Final Summary

  1. Lore link present: Yes — both commits have valid lore.kernel.org links in their commit messages
  2. Lore link matches PR commits: Yes — diff content is faithful to lore for both commits; only base commit hashes differ as expected
  3. Upstream patch status:
    • Commit 1/2: ✅ ACKed (Reviewed-by from maintainer) but not yet merged
    • Commit 2/2: ⏳ Decision Pending (posted 2026-08-19, awaiting review)
  4. PR present in qcom-next/topics: Fail - 1/2 commit(s) are missing from both qcom-next and topics
Verdict: ❌ — click to expand

🔍 Patch Validation

PR: #972 - usb: typec: hd3ss3220 fixes
Upstream commits:


Commit 1/2: UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error message

Commit Message

Check Status Note
Subject matches upstream Subject identical except for UPSTREAM: prefix
Body preserves rationale Full commit message preserved
Fixes tag present/correct Fixes: 27fbc19e52b9 present
Authorship preserved From: Xu Rao <raoxu@uniontech.com> matches lore
Backport note N/A Not a backport - direct upstream commit
Cc: stable tag Present as required
Reviewed-by tag Reviewed-by: Heikki Krogerus present

Diff

File Status Notes
drivers/usb/typec/hd3ss3220.c ⚠️ Context line numbers differ (PR: 218, lore: 218) but change is identical

Diff comparison: The actual code change is identical - swapping "disable" : "enable" to "enable" : "disable" in the error message. The only difference is the base commit hash (PR: b56df9349f89b, lore: 3e39b800e6b5), which is expected due to different tree states.

Upstream Patch Status

Community verdict: ✅ ACKed — Reviewed-by: Heikki Krogerus heikki.krogerus@linux.intel.com

The lore thread shows formal review approval from the subsystem maintainer. The patch was posted as v2 with the requested Cc: stable@vger.kernel.org tag added.


Commit 2/2: FROMLIST: usb: typec: hd3ss3220: track VBUS enable state per consumer

Commit Message

Check Status Note
Subject matches upstream Subject identical except for FROMLIST: prefix
Body preserves rationale Full commit message preserved
Fixes tag present/correct Fixes: b3f9d6e491fd present
Authorship preserved From: Chang Wu <kunjinkao.jp@gmail.com> matches lore
Backport note N/A Not a backport - FROMLIST commit
Cc: stable tag Present as required
Link to GitHub issue Link: https://github.com/qualcomm-linux/kernel/issues/472 present

Diff

File Status Notes
drivers/usb/typec/hd3ss3220.c All hunks match exactly

Diff comparison: The PR diff is identical to the lore patch:

  • Adds bool vbus_enabled; field to struct
  • Replaces regulator_is_enabled() check with local state check
  • Adds early return on error
  • Updates local state after successful operation

The only difference is the base commit hash (PR: b63e0bfe5ecc6, lore: d0de5a2488f9), which is expected. Notably, the PR's base for commit 2/2 (b63e0bfe5ecc6) matches the result of commit 1/2, showing proper series ordering.

Upstream Patch Status

Community verdict: ⏳ Decision Pending — posted 2026-08-19, no maintainer response yet

The lore thread contains only the original posting with no replies. The patch is recent (posted 3 days ago as of 2026-08-22) and is still under review.


Issues Found

  1. Integration presence failure (Commit 1/2): The integration_presence_report.md shows commit 1/2 is missing from both qcom-next and kernel-topics. This is a validation failure - the commit claims UPSTREAM: prefix but is not present in the integration branch.

  2. Integration presence partial (Commit 2/2): The integration_presence_report.md shows commit 2/2 has partial evidence in qcom-next (subject or partial tree evidence found) but the full change was not verified, and it's missing from kernel-topics.

  3. Prefix inconsistency (Commit 1/2): The commit uses UPSTREAM: prefix, which according to the validate-patch skill indicates the patch is "Merged into Linus's tree". However, the upstream status shows only Reviewed-by: approval, not a merge confirmation. The correct prefix should be FROMLIST: until the patch is actually merged into mainline.


Recommendation

Do not merge until the following issues are resolved:

  1. Commit 1/2 prefix correction: Change prefix from UPSTREAM: to FROMLIST: since the patch has only received review approval but has not been merged into mainline yet. The UPSTREAM: prefix should only be used after the patch appears in Linus's tree or a stable branch.

  2. Integration presence verification: Both commits must be present in qcom-next or kernel-topics before merging. The current state shows:

    • Commit 1/2: completely missing from both
    • Commit 2/2: only partial evidence in qcom-next
  3. Wait for upstream merge (Commit 1/2): Since commit 1/2 has maintainer approval, monitor lore.kernel.org for the merge confirmation. Once merged, update the prefix to UPSTREAM: and add the mainline commit SHA reference.

  4. Wait for upstream decision (Commit 2/2): Commit 2/2 is still pending review. Wait for maintainer feedback before proceeding.


Final Summary

  1. Lore link present: Yes — both commits have valid lore.kernel.org links in their commit messages
  2. Lore link matches PR commits: Yes — diff content is faithful to lore for both commits; only base commit hashes differ as expected
  3. Upstream patch status:
    • Commit 1/2: ✅ ACKed (Reviewed-by from maintainer) but not yet merged
    • Commit 2/2: ⏳ Decision Pending (posted 2026-08-19, awaiting review)
  4. PR present in qcom-next/topics: Fail — per integration_presence_report.md: 1/2 commits missing, 1/2 partial; overall status FAIL

Deterministic Integration Presence

Integration Presence Report

This report is generated by Jarvis before validate-patch runs.
It is the authoritative source for whether PR changes are already present
in qcom-next or in the kernel topic branches.

Kernel repo: /local/mnt/workspace/sgaud/Qgenie/image_pipeline/kernel
qcom-next ref: 3c1e80ceb9fb6978aa94bc0624e7c0003f3b4f6e
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/2 [PATCH 1/2] UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing
2/2 [PATCH 2/2] FROMLIST: usb: typec: hd3ss3220: track VBUS enable state partial - subject or partial tree evidence found, but full change was not verified missing - no subject, patch-id, or full tree-content match found partial

Final Status

overall_status: FAIL
present_commits: 0/2
partial_commits: 1/2
missing_commits: 1/2
topics_checked_for_commits: 2/2
final_summary: PR present in qcom-next/topics: Fail - 1/2 commit(s) are missing from both qcom-next and topics

@qlijarvis

Copy link
Copy Markdown

PR #972 — checker-log-analyzer

PR: #972
Checker run: https://github.com/qualcomm-linux/kernel-config/actions/runs/32258259884

Checker Result Summary
Checker Result Summary
checkpatch No style issues
dt-binding-check ⏭️ Skipped - no binding changes
dtb-check ⏭️ Skipped - no DTS changes
sparse-check No new sparse warnings
check-uapi-headers No UAPI changes
check-patch-compliance 2 commits missing required prefix
tag-check 2 commits missing subject prefix (mandatory for qcom-6.18.y)

Detailed report: Full report

Checker analysis — click to expand

The filesystem is read-only. Let me just output the report directly:

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #972 - USB Type-C HD3SS3220 VBUS regulator fixes
Target Branch: qcom-6.18.y
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/32258259884

Checker Result Summary
checkpatch No style issues
dt-binding-check ⏭️ Skipped - no binding changes
dtb-check ⏭️ Skipped - no DTS changes
sparse-check No new sparse warnings
check-uapi-headers No UAPI changes
check-patch-compliance 2 commits missing required prefix
tag-check 2 commits missing subject prefix (mandatory for qcom-6.18.y)

❌ check-patch-compliance

Root cause: Both commits in the PR have subject lines that do not start with a required prefix tag.

Failure details:

Checking commit: usb: typec: hd3ss3220: Fix VBUS regulator error message
Commit summary does not start with a required prefix

Checking commit: usb: typec: hd3ss3220: Track VBUS enable state per consumer
Commit summary does not start with a required prefix

Analysis:

The checker detected that the actual git commit subject lines are:

  1. usb: typec: hd3ss3220: Fix VBUS regulator error message
  2. usb: typec: hd3ss3220: Track VBUS enable state per consumer

However, the patch file shows they should be:

  1. UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error message
  2. FROMLIST: usb: typec: hd3ss3220: track VBUS enable state per consumer

This indicates the git commits themselves don't have the prefix in their subject line, even though the patch format shows them. The check-patch-compliance checker validates the actual git commit message, not the patch file format.

Fix:

Amend both commits to add the required prefix to their subject lines:

# Interactive rebase to edit both commits
git rebase -i HEAD~2

# Mark both commits as 'edit' or 'reword'
# For each commit:

# Commit 1: Add UPSTREAM: prefix
git commit --amend -m "UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error message"
git rebase --continue

# Commit 2: Add FROMLIST: prefix  
git commit --amend -m "FROMLIST: usb: typec: hd3ss3220: track VBUS enable state per consumer"
git rebase --continue

# Force push the updated branch
git push --force-with-lease

Reproduce locally:

cd /path/to/kernel
../kernel-checkers/check-patch-compliance.sh \
  --kernel-src . \
  --base <base_sha> \
  --head <head_sha>

❌ tag-check

Root cause: Target branch qcom-6.18.y requires all commits to have a subject prefix tag, but both commits are missing them.

Failure details:

The PR targets qcom-6.18.y, which is not qcom-next or qcom-next-staging. Therefore, every commit must start with one of these prefixes:

  • FROMLIST: - Patch posted to mailing list
  • FROMGIT: - Patch from maintainer tree
  • UPSTREAM: - Patch merged into mainline
  • BACKPORT: - Upstream patch with modifications
  • QCLINUX: - Vendor-only change
  • PENDING: - Work-in-progress
  • WORKAROUND: - Temporary fix

Commits missing prefix:

  1. Commit 1: usb: typec: hd3ss3220: Fix VBUS regulator error message

    • Should be: UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error message
    • Rationale: This patch has a Link: tag pointing to lore.kernel.org and is signed off by Greg Kroah-Hartman, indicating it's merged upstream
  2. Commit 2: usb: typec: hd3ss3220: Track VBUS enable state per consumer

    • Should be: FROMLIST: usb: typec: hd3ss3220: track VBUS enable state per consumer
    • Rationale: Based on the patch file showing FROMLIST: prefix, this appears to be posted to the mailing list but not yet merged

Fix:

Same as the check-patch-compliance fix above - amend both commits to add the appropriate prefix to their subject lines.

Reproduce locally:

# List all commits and check for missing prefixes
git log <base>..<head> --format="%H %s" | while read sha subject; do
  if ! echo "$subject" | grep -qE '^(FROMLIST|FROMGIT|UPSTREAM|BACKPORT|QCLINUX|PENDING|WORKAROUND):'; then
    echo "❌ MISSING prefix: $sha $subject"
  fi
done

Verdict

2 blockers must be fixed before merge:

  1. Add UPSTREAM: prefix to commit 1 subject line
  2. Add FROMLIST: prefix to commit 2 subject line

Both failures are the same root cause: the git commit subject lines are missing the required prefix tags. Once the commits are amended with the correct prefixes and force-pushed, all checkers should pass.

Note: The patch file format shows the prefixes in the Subject: header, but the actual git commit messages don't contain them. This is a common issue when patches are applied without preserving the prefix in the commit message itself.

[/CHECKER_LOG_REPORT]

@qlijarvis

Copy link
Copy Markdown

PR #972 — validate-patch

PR: #972

Verdict Issues Detailed Report
0 Full report

Final Summary

  1. Lore link present: Yes — both commits have valid lore.kernel.org links in the commit messages.
  2. Lore link matches PR commits: Yes — diff content is faithful to lore for both commits (context line numbers differ due to different base commits, which is expected).
  3. Upstream patch status:
    • Commit 1/2: ✅ ACKed — Reviewed-by maintainer, Signed-off-by Greg Kroah-Hartman (USB subsystem maintainer) indicates acceptance.
    • Commit 2/2: ⏳ Decision Pending — posted 2026-08-19, no maintainer reply yet.
  4. PR present in qcom-next/topics: Fail - 1/2 commit(s) are missing from both qcom-next and topics
Verdict: ❌ — click to expand

🔍 Patch Validation

PR: #972 — "usb: typec: hd3ss3220: fix VBUS regulator error message + track VBUS enable state per consumer"
Verdict:FAIL


Commit 1/2: UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error message

Upstream: https://lore.kernel.org/r/7A42A287B2B588D0+20260812094632.348581-1-raoxu@uniontech.com

Commit Message

Check Status Note
Subject matches upstream Subject identical except for UPSTREAM: prefix
Body preserves rationale Body text matches lore patch exactly
Fixes tag present/correct Fixes: 27fbc19e52b9 present and correct
Authorship preserved From: Xu Rao <raoxu@uniontech.com> matches lore
Backport note N/A Not a backport — UPSTREAM: prefix indicates merged upstream

Diff

File Status Notes
drivers/usb/typec/hd3ss3220.c Diff matches lore patch exactly (context line numbers differ: PR has b56df9349f89b..b63e0bfe5ecc6, lore has 3e39b800e6b5..d0de5a2488f9 — this is expected due to different base commits)

Upstream Patch Status

Community verdict:ACKed — Reviewed-by: Heikki Krogerus (subsystem maintainer) present in lore thread. PR commit message includes Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, indicating the patch was accepted and merged by the USB subsystem maintainer.

Integration Presence

Missing from qcom-next and topics — integration_presence_report.md reports "missing - no subject, patch-id, or full tree-content match found" in both qcom-next and topics.

Issue: The UPSTREAM: prefix indicates this patch is merged into Linus's tree, but it is not present in qcom-next or topics. This is a validation failureUPSTREAM: commits must be present in the integration tree before being merged into a PR.


Commit 2/2: FROMLIST: usb: typec: hd3ss3220: track VBUS enable state per consumer

Upstream: https://lore.kernel.org/r/20260819152027.90994-1-kunjinkao.jp@gmail.com

Commit Message

Check Status Note
Subject matches upstream Subject identical except for FROMLIST: prefix
Body preserves rationale Body text matches lore patch exactly
Fixes tag present/correct Fixes: b3f9d6e491fd present and correct
Authorship preserved From: Chang Wu <kunjinkao.jp@gmail.com> matches lore author; Signed-off-by: Chang Wu present (correct for FROMLIST: — submitter is the original author)
Backport note N/A Not a backport — FROMLIST: prefix indicates posted to mailing list but not yet merged

Diff

File Status Notes
drivers/usb/typec/hd3ss3220.c Diff matches lore patch exactly (context line numbers differ: PR has b63e0bfe5ecc6..8d0f38fb70442, lore has d0de5a2488f9..4eec90c82bae — expected due to different base commits; PR applies on top of commit 1/2)

Upstream Patch Status

Community verdict:Decision Pending — Lore thread contains only the original posting (dated 2026-08-19). No maintainer replies, no Reviewed-by:/Acked-by: tags, no applied/queued confirmation. Patch is under review.

Integration Presence

⚠️ Partial presence in qcom-next — integration_presence_report.md reports "partial - subject or partial tree evidence found, but full change was not verified" in qcom-next; "missing" in topics.

Issue: The commit is not fully verified in qcom-next. This is acceptable for a FROMLIST: commit (not yet merged upstream), but the "partial" status suggests the change may be incomplete or modified in qcom-next.


Issues Found

  1. Commit 1/2 — Missing from integration tree (FAIL):
    The UPSTREAM: prefix indicates this patch is merged into Linus's tree, but integration_presence_report.md confirms it is missing from both qcom-next and topics. Per the validate-patch skill, UPSTREAM: commits must be present in the integration tree before being merged into a PR. This is a validation failure.

  2. Commit 2/2 — Partial presence in qcom-next (WARNING):
    The commit is marked "partial" in qcom-next, meaning subject or partial tree evidence was found but the full change was not verified. This suggests the commit may be incomplete or modified in qcom-next. Manual verification is recommended.

  3. Commit 2/2 — Upstream status is "Decision Pending" (INFO):
    The lore patch was posted on 2026-08-19 and has not yet received maintainer review or acceptance. The FROMLIST: prefix is correct for this status. However, the PR should be monitored for upstream acceptance — if the patch is NACKed or requires significant changes, the PR will need to be updated or reverted.


Verdict

FAIL — Do not merge without correction.

Reason:
Commit 1/2 uses the UPSTREAM: prefix but is missing from qcom-next and topics. Per the validate-patch skill and Qualcomm kernel workflow, UPSTREAM: commits must be present in the integration tree before being merged into a PR. This is a validation failure.

Recommendation:

  1. For commit 1/2:

    • Verify that the patch is actually merged into Linus's tree (check torvalds/linux master or a stable branch).
    • If merged, wait for the patch to land in qcom-next via the upstream sync process, then re-submit the PR.
    • If not merged, change the prefix from UPSTREAM: to FROMLIST: and update the commit message to remove Signed-off-by: Greg Kroah-Hartman (this line should only be present after the patch is merged upstream).
  2. For commit 2/2:

    • Investigate the "partial" status in qcom-next — verify that the full change is present and correct.
    • Monitor the lore thread for maintainer feedback. If the patch is NACKed or requires changes, update the PR accordingly.

Final Summary

  1. Lore link present: Yes — both commits have valid lore.kernel.org links in the commit messages.
  2. Lore link matches PR commits: Yes — diff content is faithful to lore for both commits (context line numbers differ due to different base commits, which is expected).
  3. Upstream patch status:
    • Commit 1/2: ✅ ACKed — Reviewed-by maintainer, Signed-off-by Greg Kroah-Hartman (USB subsystem maintainer) indicates acceptance.
    • Commit 2/2: ⏳ Decision Pending — posted 2026-08-19, no maintainer reply yet.
  4. PR present in qcom-next/topics: ❌ Fail — Commit 1/2 is missing from both qcom-next and topics (validation failure for UPSTREAM: prefix); Commit 2/2 has partial presence in qcom-next (warning — needs manual verification).

Deterministic Integration Presence

Integration Presence Report

This report is generated by Jarvis before validate-patch runs.
It is the authoritative source for whether PR changes are already present
in qcom-next or in the kernel topic branches.

Kernel repo: /local/mnt/workspace/sgaud/Qgenie/image_pipeline/kernel
qcom-next ref: 3c1e80ceb9fb6978aa94bc0624e7c0003f3b4f6e
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/2 [PATCH 1/2] UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing
2/2 [PATCH 2/2] FROMLIST: usb: typec: hd3ss3220: track VBUS enable state partial - subject or partial tree evidence found, but full change was not verified missing - no subject, patch-id, or full tree-content match found partial

Final Status

overall_status: FAIL
present_commits: 0/2
partial_commits: 1/2
missing_commits: 1/2
topics_checked_for_commits: 2/2
final_summary: PR present in qcom-next/topics: Fail - 1/2 commit(s) are missing from both qcom-next and topics

@qlijarvis

Copy link
Copy Markdown

PR #972 — checker-log-analyzer

PR: #972
Checker run: https://github.com/qualcomm-linux/kernel-config/actions/runs/32270747565

Checker Result Summary
Checker Result Summary
checkpatch ⚠️ 2 warnings (unknown commit IDs in Fixes: tags)
dt-binding-check ⏭️ Skipped (no DT binding changes)
dtb-check ⏭️ Skipped (no DTS changes)
sparse-check Passed
check-uapi-headers Passed
check-patch-compliance Passed
tag-check Both commits have valid prefixes (UPSTREAM:, FROMLIST:)

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #972 - usb: typec: hd3ss3220: fix VBUS regulator issues
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/32270747565

Checker Result Summary
checkpatch ⚠️ 2 warnings (unknown commit IDs in Fixes: tags)
dt-binding-check ⏭️ Skipped (no DT binding changes)
dtb-check ⏭️ Skipped (no DTS changes)
sparse-check Passed
check-uapi-headers Passed
check-patch-compliance Passed
tag-check Both commits have valid prefixes (UPSTREAM:, FROMLIST:)

⚠️ checkpatch

Root cause: Fixes: tags reference upstream commit SHAs that don't exist in the target tree yet.

Failure details:

Commit 7904cd8afaa9 ("UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error message")
WARNING: Unknown commit id '27fbc19e52b9', maybe rebased or not pulled?
#17: 
Fixes: 27fbc19e52b9 ("usb: typec: hd3ss3220: Enable VBUS based on role state")

Commit 12aa1d730bee ("FROMLIST: usb: typec: hd3ss3220: track VBUS enable state per consumer")
WARNING: Unknown commit id 'b3f9d6e491fd', maybe rebased or not pulled?
#17: 
Fixes: b3f9d6e491fd ("usb: typec: hd3ss3220: Check if regulator needs to be switched")

Analysis: These warnings are expected and benign. Both commits are backports/cherry-picks from upstream:

  1. Commit 7904cd8 (UPSTREAM:) - References 27fbc19e52b9 which is an upstream commit not yet in the Qualcomm tree
  2. Commit 12aa1d7 (FROMLIST:) - References b3f9d6e491fd which is also an upstream commit

The Fixes: tags are correct and follow kernel conventions. They reference the original upstream commits that introduced the bugs being fixed. When these patches are merged into the Qualcomm tree, the Fixes: tags will remain valid for upstream tracking purposes, even though the referenced SHAs don't exist locally.

Fix: No action required. This is standard practice for backporting upstream fixes. The Fixes: tags should be preserved as-is for proper upstream attribution and stable kernel tracking.

Reproduce locally:

./scripts/checkpatch.pl --strict --ignore FILE_PATH_CHANGES --git 795bab7bf1d6..12aa1d730bee

Verdict

Ready to merge. All critical checkers passed. The checkpatch warnings are expected for backported patches with upstream Fixes: tags and do not indicate any defect in the patches themselves. Both commits:

  • Have proper subject prefixes (UPSTREAM:, FROMLIST:)
  • Include valid Link: tags to upstream sources
  • Pass patch compliance checks
  • Make focused, correct changes to fix VBUS regulator issues

The patches fix legitimate bugs:

  1. 7904cd8: Corrects misleading error messages (enable/disable swapped)
  2. 12aa1d7: Fixes unbalanced regulator reference counting

@qlijarvis

Copy link
Copy Markdown

PR #972 — validate-patch

PR: #972

Verdict Issues Detailed Report
⚠️ 0 Full report

Final Summary

  1. Lore link present: Yes — both commits have valid Link: tags pointing to lore.kernel.org
  2. Lore link matches PR commits: Yes — diff content, commit messages, authorship, and tags are faithful to lore sources
  3. Upstream patch status:
    • Commit 1/2: ✅ Upstreamed — Greg Kroah-Hartman's SOB confirms merge to USB tree
    • Commit 2/2: ⏳ In review — Reviewed-by and Tested-by present; awaiting maintainer merge decision
  4. PR present in qcom-next/topics: Fail - 1/2 commit(s) are missing from both qcom-next and topics
Verdict: ⚠️ — click to expand

🔍 Patch Validation

PR: #972 - "usb: typec: hd3ss3220: fix VBUS regulator error message and track enable state"
Upstream commits:


Commit 1/2: UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error message

Commit Message

Check Status Note
Subject matches upstream PR adds UPSTREAM: prefix; lore subject is "fix VBUS regulator error message"
Body preserves rationale Identical - explains the error message inversion bug
Fixes tag present/correct Fixes: 27fbc19e52b9 present in both
Authorship preserved From: Xu Rao <raoxu@uniontech.com> matches lore
Backport note N/A Not a backport - marked UPSTREAM: with Greg's SOB indicating mainline merge
Greg's SOB present Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> confirms upstream acceptance

Diff

File Status Notes
drivers/usb/typec/hd3ss3220.c Single-line fix: swaps "disable" : "enable" to "enable" : "disable" - matches lore exactly

Upstream Status

ACKed — Patch has Greg Kroah-Hartman's (USB maintainer) Signed-off-by:, indicating it was merged into the USB tree. Lore thread shows Reviewed-by: Heikki Krogerus (v2 posted Aug 12, 2026).


Commit 2/2: FROMLIST: usb: typec: hd3ss3220: track VBUS enable state per consumer

Commit Message

Check Status Note
Subject matches upstream PR adds FROMLIST: prefix; lore subject matches
Body preserves rationale Identical - explains regulator reference counting bug
Fixes tag present/correct Fixes: b3f9d6e491fd present in both
Authorship preserved From: Chang Wu <kunjinkao.jp@gmail.com> matches lore
Backport note N/A FROMLIST: - posted to mailing list, not yet merged
Lore author SOB present Chang Wu's Signed-off-by: present

Diff

File Status Notes
drivers/usb/typec/hd3ss3220.c Adds bool vbus_enabled field, replaces regulator_is_enabled() check with local state tracking, adds early return on error - matches lore exactly

Upstream Status

Decision Pending — Posted Aug 19, 2026 (6 days ago). Has Reviewed-by: Heikki Krogerus and Tested-by: Jan Remmet in the lore thread. No merge or NAK signals yet. Likely queued for next merge window.


Issues

Integration Presence (from integration_presence_report.md):

  1. Commit 1/2 (UPSTREAM):Missing from qcom-next and topics
    Despite having Greg's SOB (indicating upstream merge), this commit is not yet present in qcom-next or any topic branch. This is unexpected for an UPSTREAM: commit.

  2. Commit 2/2 (FROMLIST): ⚠️ Partial match in qcom-next
    Integration report shows "partial - subject or partial tree evidence found, but full change was not verified". The commit is missing from topic branches.

Root cause: These patches are very recent (Aug 12 and Aug 19, 2026). Commit 1 was likely merged to Greg's USB tree but hasn't propagated to qcom-next yet. Commit 2 is still under review on the mailing list.


Verdict

⚠️ PARTIAL — Patches are faithful to their lore sources and properly attributed, but integration presence is incomplete:

  • Commit 1/2: Correctly marked UPSTREAM: with Greg's SOB, but not yet in qcom-next. This is acceptable for very recent upstream merges that haven't been pulled into the Qualcomm integration tree yet.

  • Commit 2/2: Correctly marked FROMLIST: and has positive review signals (Reviewed-by, Tested-by), but not yet merged upstream. Partial presence in qcom-next suggests it may have been cherry-picked for testing.

Recommendation: Monitor upstream status. Once commit 1 appears in a tagged release (e.g., v6.12-rc1), verify it lands in qcom-next. For commit 2, wait for maintainer acceptance or update the PR if a v2 is posted.


Final Summary

  1. Lore link present: Yes — both commits have valid Link: tags pointing to lore.kernel.org
  2. Lore link matches PR commits: Yes — diff content, commit messages, authorship, and tags are faithful to lore sources
  3. Upstream patch status:
    • Commit 1/2: ✅ Upstreamed — Greg Kroah-Hartman's SOB confirms merge to USB tree
    • Commit 2/2: ⏳ In review — Reviewed-by and Tested-by present; awaiting maintainer merge decision
  4. PR present in qcom-next/topics: ⚠️ Partial/Fail — Commit 1 missing from both; commit 2 has partial match in qcom-next. Integration report status: FAIL (1/2 missing, 1/2 partial)

Deterministic Integration Presence

Integration Presence Report

This report is generated by Jarvis before validate-patch runs.
It is the authoritative source for whether PR changes are already present
in qcom-next or in the kernel topic branches.

Kernel repo: /local/mnt/workspace/sgaud/Qgenie/image_pipeline/kernel
qcom-next ref: 3c1e80ceb9fb6978aa94bc0624e7c0003f3b4f6e
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/2 [PATCH 1/2] UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error missing - no subject, patch-id, or full tree-content match found missing - no subject, patch-id, or full tree-content match found missing
2/2 [PATCH 2/2] FROMLIST: usb: typec: hd3ss3220: track VBUS enable state partial - subject or partial tree evidence found, but full change was not verified missing - no subject, patch-id, or full tree-content match found partial

Final Status

overall_status: FAIL
present_commits: 0/2
partial_commits: 1/2
missing_commits: 1/2
topics_checked_for_commits: 2/2
final_summary: PR present in qcom-next/topics: Fail - 1/2 commit(s) are missing from both qcom-next and topics

@qlijarvis

Copy link
Copy Markdown

PR #972 — checker-log-analyzer

PR: #972
Checker run: https://github.com/qualcomm-linux/kernel-config/actions/runs/32499781461

Checker Result Summary
Checker Result Summary
checkpatch 2 warnings (Unknown commit IDs in Fixes: tags)
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No DTS changes
sparse-check Passed
check-uapi-headers Passed
check-patch-compliance Invalid Link: GitHub issue URL instead of lore.kernel.org
tag-check Both commits have valid prefixes (UPSTREAM:, FROMLIST:)

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #972 - usb: typec: hd3ss3220 VBUS regulator fixes
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/32499781461
Target branch: qcom-6.18.y

Checker Result Summary
checkpatch 2 warnings (Unknown commit IDs in Fixes: tags)
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No DTS changes
sparse-check Passed
check-uapi-headers Passed
check-patch-compliance Invalid Link: GitHub issue URL instead of lore.kernel.org
tag-check Both commits have valid prefixes (UPSTREAM:, FROMLIST:)

❌ checkpatch

Root cause: Both commits reference Fixes: tags with commit IDs that don't exist in the qcom-6.18.y branch history.

Failure details:

Commit b8d4e243ed42 ("UPSTREAM: usb: typec: hd3ss3220: fix VBUS regulator error message")
WARNING: Unknown commit id '27fbc19e52b9', maybe rebased or not pulled?
#15: 
Fixes: 27fbc19e52b9 ("usb: typec: hd3ss3220: Enable VBUS based on role state")

Commit 4aeb258b2e12 ("FROMLIST: usb: typec: hd3ss3220: track VBUS enable state per consumer")
WARNING: Unknown commit id 'b3f9d6e491fd', maybe rebased or not pulled?
#17: 
Fixes: b3f9d6e491fd ("usb: typec: hd3ss3220: Check if regulator needs to be switched")

Analysis: These are upstream commit IDs from mainline Linux that may not exist in the vendor tree with the same SHA. This is a common occurrence when backporting upstream patches to vendor branches. The warnings are informational — checkpatch cannot verify the Fixes: tags because the referenced commits either:

  1. Don't exist in qcom-6.18.y yet, or
  2. Were integrated with different commit IDs during vendor tree merges

Fix: These warnings are acceptable for backports. The Fixes: tags correctly reference the upstream commits that introduced the bugs. No action required unless the maintainer prefers to:

  • Remove the Fixes: tags (not recommended — loses upstream traceability)
  • Update the Fixes: tags to reference the vendor tree commit IDs (requires manual lookup)

Reproduce locally:

./scripts/checkpatch.pl --strict --ignore FILE_PATH_CHANGES --git dc0f4d4280a7..e2b1b78df67f

❌ check-patch-compliance

Root cause: The second commit's Link: trailer points to a GitHub issue URL (https://github.com/qualcomm-linux/kernel/issues/472) instead of a lore.kernel.org mailing list archive URL.

Failure details:

Checking commit: FROMLIST: usb: typec: hd3ss3220: track VBUS enable state per consumer
Something seems wrong with the provided link. Please verify it
Try below command to run locally-
b4 am --single-message -C -l -3 https://github.com/qualcomm-linux/kernel/issues/472

Analysis: The commit message contains two Link: trailers:

Link: https://github.com/qualcomm-linux/kernel/issues/472
Link: https://lore.kernel.org/r/20260819152027.90994-1-kunjinkao.jp@gmail.com

The checker attempts to fetch the patch from the first Link: it encounters. Since https://github.com/qualcomm-linux/kernel/issues/472 is a GitHub issue (not a mailing list patch), b4 am cannot fetch it, causing the check to fail.

Fix: Reorder the Link: trailers so the lore.kernel.org URL comes first:

git rebase -i dc0f4d4280a7   # mark commit 4aeb258b2e12 as 'edit'
git commit --amend
# Edit the commit message to reorder Link: trailers:
#   Link: https://lore.kernel.org/r/20260819152027.90994-1-kunjinkao.jp@gmail.com
#   Link: https://github.com/qualcomm-linux/kernel/issues/472
git rebase --continue

Alternatively, remove the GitHub issue link entirely if it's not required for upstream traceability. The lore.kernel.org link is the primary reference for FROMLIST: patches.

Reproduce locally:

cd /path/to/kernel
bash ../kernel-checkers/check-patch-compliance.sh --kernel-src . \
  --base dc0f4d4280a7 --head e2b1b78df67f

Verdict

2 issues to fix before merge:

  1. check-patch-compliance (blocker): Reorder Link: trailers in commit 4aeb258b2e12 to place the lore.kernel.org URL first, or remove the GitHub issue link.

  2. checkpatch warnings (informational): The "Unknown commit id" warnings for Fixes: tags are acceptable for backported patches. The referenced commit IDs are correct for upstream but may not exist in the vendor tree. No action required unless maintainer policy requires removing or updating Fixes: tags.

Recommendation: Fix the Link: ordering in the second commit and re-push. The checkpatch warnings can be ignored as they are expected for upstream backports.

@kunjinkao-os
Chang Wu (kunjinkao-os) force-pushed the fix/hd3ss3220-vbus-qcom-6.18.y branch from 4aeb258 to c9fd758 Compare September 4, 2026 01:42
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@kunjinkao-os

Copy link
Copy Markdown
Contributor Author

Upstream status update:

The second patch has been accepted into Greg Kroah-Hartman's usb-linus
branch as commit c9a48db776d7184981630ecc01a3ad30a8f7dc24.

I updated its prefix from FROMLIST: to UPSTREAM: and preserved the final
Reviewed-by, Tested-by, Link and Signed-off-by trailers. The patch
content remains identical to the accepted upstream patch.

The remaining CR-number check requires maintainer guidance because I am an
external contributor without access to Qualcomm's internal CR system.

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@kunjinkao-os
Chang Wu (kunjinkao-os) force-pushed the fix/hd3ss3220-vbus-qcom-6.18.y branch from c9fd758 to 661cbcc Compare September 4, 2026 04:38
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

Xu Rao and others added 2 commits September 4, 2026 13:18
hd3ss3220_regulator_control() enables the VBUS regulator when @on is
true and disables it when @on is false.  However, its error message uses
the opposite operation name, so an enable failure is reported as a
disable failure and vice versa.

Print the operation that was actually attempted.  Reporting the opposite
regulator operation on failures can mislead debugging of VBUS problems.

Fixes: 09fa276 ("FROMLIST: usb: typec: hd3ss3220: Enable VBUS based on role state")
Cc: stable@vger.kernel.org
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Xu Rao <raoxu@uniontech.com>
Link: https://lore.kernel.org/r/7A42A287B2B588D0+20260812094632.348581-1-raoxu@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
regulator_is_enabled() reports the aggregate regulator state, not
whether this consumer holds an enable reference. If another consumer
enables VBUS first, the driver can skip its own regulator_enable() call
and later attempt to drop a reference it never acquired, triggering an
unbalanced regulator disable warning.

Track successful enable and disable calls locally. Keep the state
unchanged when an operation fails so a later role or ID notification
retries the operation while this consumer keeps balanced references.

Fixes: 09fa276 ("FROMLIST: usb: typec: hd3ss3220: Enable VBUS based on role state")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20260819152027.90994-1-kunjinkao.jp@gmail.com
Signed-off-by: Chang Wu <kunjinkao.jp@gmail.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Tested-by: Jan Remmet <j.remmet@phytec.de>
Reviewed-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
@kunjinkao-os
Chang Wu (kunjinkao-os) force-pushed the fix/hd3ss3220-vbus-qcom-6.18.y branch from 661cbcc to 217c696 Compare September 4, 2026 05:18
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@kunjinkao-os

Chang Wu (kunjinkao-os) commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

Updated the commits and retriggered CI.

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

1 similar comment
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@qcomlnxci

Copy link
Copy Markdown

Test Matrix

Test Case hamoa-iot-evk-multimedia lemans-evk-multimedia monaco-evk-multimedia purwa-iot-evk-multimedia qcs615-ride-multimedia qcs6490-rb3gen2-multimedia qcs8300-ride-multimedia qcs9100-ride-r3-multimedia shikra-iqs-evk-multimedia
Audio_Card_Registration ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ⚠️ skip ⚠️ skip ⚠️ skip
BT_FW_KMD_Service ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ❌ Fail
BT_ON_OFF ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ❌ Fail
BT_SCAN ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ❌ Fail
CPUFreq_Validation ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
CPU_affinity ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
DSP_AudioPD ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ⚠️ skip
Ethernet_Basic_Validation ⚠️ skip ✅ Pass ✅ Pass ⚠️ skip ◻️ ⚠️ skip ⚠️ skip ❌ Fail ⚠️ skip
Freq_Scaling ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ❌ Fail ✅ Pass ✅ Pass ✅ Pass
GIC ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ❌ Fail ✅ Pass ✅ Pass ❌ Fail
IPA ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
Interrupts ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
KVM_Driver ❌ Fail ✅ Pass ✅ Pass ❌ Fail ◻️ ❌ Fail ❌ Fail ❌ Fail ❌ Fail
KVM_EL2_DTB ❌ Fail ✅ Pass ✅ Pass ❌ Fail ◻️ ❌ Fail ❌ Fail ❌ Fail ❌ Fail
KVM_Infra ❌ Fail ✅ Pass ✅ Pass ❌ Fail ◻️ ❌ Fail ❌ Fail ❌ Fail ❌ Fail
OpenCV ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
PCIe ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ❌ Fail
Probe_Failure_Check ❌ Fail ❌ Fail ❌ Fail ❌ Fail ◻️ ❌ Fail ❌ Fail ❌ Fail ❌ Fail
RMNET ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
UFS_Validation ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ⚠️ skip
USBHost ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ⚠️ skip ✅ Pass ✅ Pass ❌ Fail
WiFi_Firmware_Driver ✅ Pass ✅ Pass ❌ Fail ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
WiFi_OnOff ✅ Pass ✅ Pass ❌ Fail ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ⚠️ skip
adsp_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ⚠️ skip
cdsp_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
gpdsp_remoteproc ⚠️ skip ✅ Pass ✅ Pass ⚠️ skip ◻️ ⚠️ skip ✅ Pass ✅ Pass ⚠️ skip
hotplug ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
irq ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
kaslr ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
pinctrl ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
qcom_hwrng ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ◻️
rngtest ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
shmbridge ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
smmu ❌ Fail ❌ Fail ✅ Pass ❌ Fail ◻️ ✅ Pass ✅ Pass ❌ Fail ✅ Pass
watchdog ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass
wpss_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ✅ Pass ✅ Pass

@qlijarvis

Copy link
Copy Markdown

LAVA Failed Case Triage Summary

PR: #972

Job 228521 | SoC hamoa-evk

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/228521

Failed test cases in LAVA job 228521 (SoC: hamoa-evk).

  Case 1: ** Driver Probe Failures — Platform Configuration Issues
  1. Failed case: ** Driver Probe Failures — Platform Configuration Issues
  2. Root cause: ** Three pre-existing probe failures on hamoa-evk: (1) qcom_qseecom_uefisecapp fails with -EBUSY due to TrustZone resource conflict, (2) qcom-spmi-lpg fails with -EINVAL due to invalid DT "reg" property for multi-LED child node, (3) regulatory.db firmware missing from rootfs (benign — cfg80211 uses built-in rules).
  3. Possible fix: These are not PR-introduced regressions. Suppress Probe_Failure_Check for hamoa-evk or fix the platform issues: (1) investigate qcom_qseecom device tree and TrustZone firmware compatibility, (2) correct the SPMI LPG multi-LED "reg" property in arch/arm64/boot/dts/qcom/iq-x7181-evk.dts, (3) optionally add regulatory.db to rootfs (non-critical).
  4. Detail analysis attachment: failed_case_job228521_1_detailed.md
  Case 2: smmu
  1. Failed case: smmu
  2. Root cause: Pre-existing test configuration issue on hamoa-evk platform where certain USB PHY devices (a0f8800.usb, a2f8800.usb, a4f8800.usb, a6f8800.usb, a8f8800.usb) and video codec (aa00000.video-codec) are expected by the test but are not present or not configured with IOMMU groups in the device tree, while SMMU subsystem itself is fully functional with no errors.
  3. Possible fix: This is not a PR-introduced regression; the PR only modifies USB Type-C VBUS regulator logic unrelated to SMMU. The test failure is a false positive for this PR. To resolve: either update the test's expected device list to match hamoa-evk's actual hardware configuration, or add the missing device tree IOMMU bindings if these devices should be present on this platform.
  4. Detail analysis attachment: failed_case_job228521_2_detailed.md
  Case 3: ** KVM_Driver
  1. Failed case: ** KVM_Driver
  2. Root cause: ** Hamoa-evk platform boots Linux kernel in EL1 (kernel mode) instead of EL2 (hypervisor mode). KVM driver correctly detects this condition and reports "HYP mode not available" at boot (timestamp 6.388634s). Without EL2/HYP mode, KVM cannot initialize and /dev/kvm device node is never created, causing the test to fail.
  3. Possible fix: Skip KVM_Driver, KVM_EL2_DTB, and KVM_Infra tests on hamoa-evk platform in the LAVA job definition, as this platform does not support EL2/hypervisor mode. Add platform detection in test script: if grep -q "Hamoa IoT EVK" /proc/device-tree/model; then skip_test "Platform does not support EL2"; fi. If EL2 support is required, update ABL/UEFI bootloader to enter EL2 before kernel entry (requires firmware change, not kernel change).
  4. Detail analysis attachment: failed_case_job228521_3_detailed.md
  Case 4: KVM_EL2_DTB
  1. Failed case: KVM_EL2_DTB
  2. Root cause: KVM driver initialization failed during boot with "HYP mode not available" — the hamoa-evk platform is running under the Gunyah hypervisor which has already claimed EL2, preventing nested virtualization; CONFIG_KVM is enabled but /dev/kvm cannot be created because kvm_arch_init() detects no EL2 access.
  3. Possible fix: This is a platform configuration issue, not a kernel regression. The hamoa-evk board runs under Gunyah hypervisor (confirmed by boot log: "Hypervisor cold boot, version: gunyah-mobile-ad1fb25c6") which occupies EL2. To enable KVM testing on this platform, either: (1) disable the Gunyah hypervisor in the boot configuration to allow Linux direct EL2 access, or (2) skip KVM tests on hypervisor-backed platforms in the CI job definition, or (3) use a bare-metal platform without a hypervisor for KVM validation.
  4. Detail analysis attachment: failed_case_job228521_4_detailed.md
  Case 5: KVM Infrastructure Test Failure — Platform Not Configured for Virtualization
  1. Failed case: KVM Infrastructure Test Failure — Platform Not Configured for Virtualization
  2. Root cause: Hamoa EVK firmware boots the kernel at EL1 (normal OS mode) instead of EL2 (hypervisor mode), preventing KVM from initializing; KVM requires EL2 to provide ARM64 virtualization support, and without it, /dev/kvm is never created.
  3. Possible fix: Configure the Hamoa EVK bootloader/firmware to boot the kernel at EL2 by enabling HVC (Hypervisor Call) support in the boot chain; verify UEFI/ABL configuration includes EL2 entry point; alternatively, if EL2 is intentionally disabled on this platform, mark KVM tests as "not applicable" for Hamoa EVK in the LAVA test suite.
  4. Detail analysis attachment: failed_case_job228521_5_detailed.md
  Case 6: KVM_Infra
  1. Failed case: KVM_Infra
  2. Root cause: KVM initialization failed because the hamoa-evk platform does not support EL2 (hypervisor mode) - kernel message "kvm [1]: HYP mode not available" indicates the hardware/firmware does not provide virtualization extensions required for KVM operation.
  3. Possible fix: This is not a kernel bug or PR-introduced regression (PR only modifies USB typec driver). The test failure is expected on platforms without EL2 support. Either: (1) skip KVM tests on hamoa-evk in CI configuration, or (2) enable EL2 in the platform firmware/bootloader if the hardware supports it but it's currently disabled.
  4. Detail analysis attachment: failed_case_job228521_6_detailed.md
Job 228522 | SoC qcs9100-ride

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/228522

Failed test cases in LAVA job 228522 (SoC: qcs9100-ride).

  Case 1: ** Probe_Failure_Check
  1. Failed case: ** Probe_Failure_Check
  2. Root cause: ** Pre-existing platform configuration issues on qcs9100-ride: (1) Aquantia AQR115C Ethernet PHY missing firmware-name DT property (error -22/EINVAL), (2) cfg80211 regulatory.db firmware file absent from rootfs (error -2/ENOENT, benign — WiFi functional), (3) four PMIC temp-alarm devices stuck in deferred probe due to missing thermal/IIO dependency provider.
  3. Possible fix: These are not PR-introduced regressions. (1) Add firmware-name property to Aquantia PHY DT node in qcs9100-ride device tree if PHY firmware is required, or mark as optional in driver. (2) Install wireless-regdb package in rootfs or suppress this known-benign failure in test. (3) Debug temp-alarm dependency chain: verify qpnp-temp-alarm driver dependencies (thermal zones, IIO ADC channels) are present and probing successfully in qcs9100 platform DT.
  4. Detail analysis attachment: failed_case_job228522_1_detailed.md
  Case 2: smmu
  1. Failed case: smmu
  2. Root cause: Video codec device aa00000.video-codec at address 0xaa00000 is not attached to any IOMMU group on qcs9100-ride platform; this is a pre-existing device tree or driver probe issue unrelated to the PR (USB Type-C regulator fixes).
  3. Possible fix: Investigate why the video codec device at 0xaa00000 failed to attach to an IOMMU group during probe — check device tree iommus property for the video-codec node, verify the Venus video driver probe succeeded, and confirm SMMU stream ID mapping is correct for this device in the qcs9100-ride device tree.
  4. Detail analysis attachment: failed_case_job228522_2_detailed.md
  Case 3: Ethernet_Basic_Validation — Driver Probe Failure (PHY)
  1. Failed case: Ethernet_Basic_Validation — Driver Probe Failure (PHY)
  2. Root cause: Aquantia AQR115C PHY driver probe fails with -EINVAL because the device tree node for the PHY (stmmac-0:08) is missing the required firmware-name property. Without a functional PHY, the qcom-ethqos Ethernet MAC driver cannot attach to the PHY when the interface is brought up, causing the test to fail. This is a pre-existing qcs9100-ride platform/DT issue, not introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (which only modifies USB Type-C driver code).
  3. Possible fix: Add the firmware-name property to the Aquantia AQR115C PHY device tree node in the qcs9100-ride DTS file. The property should specify the correct Aquantia firmware blob path (e.g., firmware-name = "aquantia/AQR-G4_v5.4.C-AQR_CIG_WF-1.8.0.cld";). Verify the correct firmware file is present in the rootfs under /lib/firmware/aquantia/. If the firmware file is missing, add it to the firmware package for qcs9100-ride builds.
  4. Detail analysis attachment: failed_case_job228522_3_detailed.md
  Case 4: ** KVM Driver Initialization Failure — /dev/kvm unavailable due to missing EL2 access
  1. Failed case: ** KVM Driver Initialization Failure — /dev/kvm unavailable due to missing EL2 access
  2. Root cause: ** KVM driver cannot initialize on qcs9100-ride because the Gunyah Type-1 hypervisor owns EL2 (Hypervisor mode). KVM requires exclusive access to EL2 to function; when Gunyah runs at EL2, Linux runs at EL1 and KVM detects "HYP mode not available" during probe, aborting initialization and preventing /dev/kvm device node creation. This is an architectural limitation of the platform configuration, not a kernel bug.
  3. Possible fix: Update the KVM test suite to detect Gunyah hypervisor presence (via "Hypervisor cold boot.*gunyah" in dmesg) and automatically skip KVM tests on Gunyah-enabled platforms. Long-term: disable CONFIG_KVM in the kernel defconfig for qcs9100-ride and other Gunyah-based platforms where KVM cannot function. This test failure is NOT caused by the PR (USB Type-C driver changes) and should not block PR merge.
  4. Detail analysis attachment: failed_case_job228522_4_detailed.md
  Case 5: KVM_EL2_DTB — KVM driver initialization failure
  1. Failed case: KVM_EL2_DTB — KVM driver initialization failure
  2. Root cause: KVM driver failed to initialize during boot because the qcs9100-ride platform does not support ARM HYP (EL2) mode, as indicated by the kernel message "kvm [1]: HYP mode not available" at boot time, preventing /dev/kvm device node creation.
  3. Possible fix: This is a platform hardware limitation, not a kernel regression. The qcs9100-ride (LeMans) platform does not support ARM virtualization extensions (VHE/EL2). Either: (1) skip KVM tests on this platform in the CI test matrix, or (2) enable virtualization support in the platform firmware/bootloader if the hardware supports it but firmware is not configured correctly.
  4. Detail analysis attachment: failed_case_job228522_5_detailed.md
  Case 6: ** KVM Infrastructure Failure — HYP mode not available
  1. Failed case: ** KVM Infrastructure Failure — HYP mode not available
  2. Root cause: ** KVM driver is compiled into the kernel (CONFIG_KVM=y) but cannot initialize because the CPU is not running in a mode that allows EL2/HYP access. The Gunyah hypervisor is running at EL2, preventing the Linux kernel from accessing HYP mode directly.
  3. Possible fix: Disable CONFIG_KVM in the kernel configuration for qcs9100-ride (and all Gunyah-based platforms). KVM cannot function on platforms where a Type-1 hypervisor (Gunyah) already owns EL2. If virtualization is required, use Gunyah's native VM management instead of KVM.
  4. Detail analysis attachment: failed_case_job228522_6_detailed.md
  Case 7: KVM_Infra (and related: KVM_Driver, KVM_EL2_DTB)
  1. Failed case: KVM_Infra (and related: KVM_Driver, KVM_EL2_DTB)
  2. Root cause: KVM initialization failed because the kernel booted at EL1 instead of EL2. The boot log shows CPU: All CPU(s) started at EL1 and KVM reports kvm [1]: HYP mode not available. Without EL2 (hypervisor mode), KVM cannot initialize and /dev/kvm is not created. This is a platform/firmware configuration issue on qcs9100-ride-sx (Lemans Ride Rev3), not a kernel regression introduced by the PR.
  3. Possible fix: This is a pre-existing platform limitation, not a PR-introduced regression. The PR changes only affect USB Type-C (hd3ss3220 driver) and are unrelated to KVM/virtualization. To enable KVM on this platform: (1) Configure the bootloader/firmware to boot the kernel at EL2 instead of EL1, or (2) Use a hypervisor that boots the kernel at EL2 (e.g., configure UEFI/ABL to enter EL2 before kernel handoff), or (3) If the platform does not support EL2 in the current firmware, mark KVM tests as expected-fail for this SoC until firmware support is added.
  4. Detail analysis attachment: failed_case_job228522_7_detailed.md
Job 228523 | SoC qcs6490-rb3gen2

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/228523

Failed test cases in LAVA job 228523 (SoC: qcs6490-rb3gen2).

  Case 1: GIC
  1. Failed case: GIC
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Fix the GIC test script to iterate only over online CPUs or check CPU online status before parsing. Use cat /sys/devices/system/cpu/online to get the online CPU list, or check /sys/devices/system/cpu/cpu${N}/online before parsing each CPU's interrupt count. This is a test infrastructure fix, not a kernel fix. The PR changes (USB Type-C driver) are unrelated and should not be blocked by this pre-existing test bug.
  4. Detail analysis attachment: failed_case_job228523_1_detailed.md
  Case 2: Probe_Failure_Check — Pre-existing Infrastructure Issues (Not PR-Introduced)
  1. Failed case: Probe_Failure_Check — Pre-existing Infrastructure Issues (Not PR-Introduced)
  2. Root cause: Two firmware/driver probe failures unrelated to PR changes: (1) cfg80211 regulatory.db firmware missing from rootfs (error -2 = -ENOENT), and (2) Renesas USB 3.0 xHCI controller firmware (renesas_usb_fw.mem) missing from rootfs. The PR modifies only drivers/usb/typec/hd3ss3220.c (USB Type-C port controller error message fix), which does not affect cfg80211 wireless regulatory or xhci-pci-renesas driver probe paths. Both failures are pre-existing platform/rootfs configuration issues on qcs6490-rb3gen2.
  3. Possible fix: These are not regressions introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972. The Probe_Failure_Check test is correctly detecting missing firmware files in the test rootfs. To resolve: (1) Add regulatory.db to /lib/firmware/regulatory.db in the rootfs image, or disable CONFIG_CFG80211_REQUIRE_SIGNED_REGDB if unsigned regulatory database is acceptable; (2) Add renesas_usb_fw.mem to /lib/firmware/ in the rootfs, or blacklist xhci-pci-renesas module if the Renesas USB 3.0 PCIe card is not required for testing. PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 can proceed to merge as these failures are unrelated to the changes.
  4. Detail analysis attachment: failed_case_job228523_2_detailed.md
  Case 3: Freq_Scaling
  1. Failed case: Freq_Scaling
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Update the Freq_Scaling test to check only "online" CPUs (0-5) instead of "present" CPUs (0-7). The test should read /sys/devices/system/cpu/online instead of /sys/devices/system/cpu/present to determine which CPUs to validate. This is a test infrastructure fix, not a kernel fix.
  4. Detail analysis attachment: failed_case_job228523_3_detailed.md
  Case 4: ** KVM_Driver — Platform Hardware Limitation
  1. Failed case: ** KVM_Driver — Platform Hardware Limitation
  2. Root cause: **
  3. Possible fix: Exclude KVM host tests (KVM_Driver, KVM_EL2_DTB, KVM_Infra) from the qcs6490-rb3gen2 test suite, as this platform does not support ARM virtualization extensions. Update the LAVA job definition or test runner to skip virtualization tests on platforms without EL2 support. Alternatively, add a platform capability check to the test suite to automatically skip KVM tests when /proc/cpuinfo or device tree indicates no virtualization support.
  4. Detail analysis attachment: failed_case_job228523_4_detailed.md
  Case 5: KVM_EL2_DTB
  1. Failed case: KVM_EL2_DTB
  2. Root cause: KVM driver initialization failed with "HYP mode not available" because the Gunyah hypervisor is already running on qcs6490-rb3gen2, preventing KVM from taking control of EL2; /dev/kvm device node was never created.
  3. Possible fix: This is a pre-existing platform configuration issue unrelated to PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (USB Type-C driver changes). Either: (1) disable KVM tests for qcs6490-rb3gen2 in the LAVA test suite since this platform runs Gunyah hypervisor by default, or (2) use a different boot configuration that does not load Gunyah if KVM testing is required.
  4. Detail analysis attachment: failed_case_job228523_5_detailed.md
  Case 6: ** KVM Infrastructure Test Failure — HYP mode unavailable
  1. Failed case: ** KVM Infrastructure Test Failure — HYP mode unavailable
  2. Root cause: ** KVM driver initialization fails because the qcs6490-rb3gen2 board runs Linux as a guest under the Gunyah hypervisor at EL1, and KVM requires EL2 (HYP mode) to provide virtualization services; nested virtualization is not supported in this configuration.
  3. Possible fix: This is expected behavior, not a bug. To enable KVM testing: (1) boot Linux directly on bare metal without Gunyah hypervisor, or (2) exclude KVM tests from the CI test suite for Gunyah-based configurations, or (3) implement nested virtualization support in Gunyah (requires hypervisor and kernel changes).
  4. Detail analysis attachment: failed_case_job228523_6_detailed.md
  Case 7: 0_qcom-next-ci-premerge-tests
  1. Failed case: 0_qcom-next-ci-premerge-tests
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: This is a platform/firmware limitation, not a kernel regression introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (which only touches USB Type-C driver). KVM on ARM requires the bootloader/firmware to boot the kernel in EL2 or provide EL2 access via HVC calls. For qcs6490-rb3gen2, either: (1) update the bootloader/ABL to enter the kernel at EL2, or (2) if the platform uses a hypervisor (e.g., Gunyah/pKVM), ensure the hypervisor exposes KVM functionality to the primary VM. If KVM is not a requirement for this platform, mark the KVM tests as expected-to-skip for qcs6490-rb3gen2 in the CI configuration.
  4. Detail analysis attachment: failed_case_job228523_7_detailed.md
Job 228524 | SoC qcs615-ride

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/228524

Failed test cases in LAVA job 228524 (SoC: qcs615-ride).

  Case 1: Kernel Crash — Synchronous External Abort during USB enumeration
  1. Failed case: Kernel Crash — Synchronous External Abort during USB enumeration
  2. Root cause: Kernel panic triggered by synchronous external abort (memory access fault) in __pi_memcpy_generic during SWIOTLB bounce buffer operation for USB device descriptor read on qcs615-ride; crash occurred during PCIe device enumeration concurrent with USB hub event processing, indicating a hardware-level memory access violation unrelated to the PR's USB Type-C regulator message fixes.
  3. Possible fix: This is a pre-existing platform/hardware issue not introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (which only fixes USB Type-C VBUS regulator error message formatting). The crash occurs in low-level DMA/SWIOTLB memory copy during USB enumeration, suggesting either: (1) incorrect IOMMU/SMMU mapping for the USB controller's DMA region, (2) hardware fault in the memory subsystem, or (3) race condition in concurrent PCIe and USB initialization. Recommended actions: (1) Re-trigger the CI job to confirm reproducibility; (2) If reproducible, investigate IOMMU group 23 configuration for the USB/PCIe controllers on qcs615-ride; (3) Check for known errata on QCS615 related to concurrent PCIe/USB DMA operations; (4) Enable CONFIG_IOMMU_TLBSYNC_DEBUG and CONFIG_DMA_API_DEBUG to capture detailed DMA mapping state before the crash.
  4. Detail analysis attachment: failed_case_job228524_1_detailed.md
  Case 2: Kernel Crash — Synchronous External Abort during USB enumeration
  1. Failed case: Kernel Crash — Synchronous External Abort during USB enumeration
  2. Root cause: Kernel panicked with "synchronous external abort: Fatal exception" at 7.927s during USB device enumeration. The crash occurred in __pi_memcpy_generic+0x2c called from swiotlb_bounce+0x104 while the USB hub workqueue (kworker/7:15, PID 228) was attempting to DMA-map a URB for a newly connected USB device. The fault address (x1: ffff0000907c08e0) indicates an attempt to copy data to/from an invalid or unmapped SWIOTLB bounce buffer physical address, triggering a hardware bus fault. This is a pre-existing platform/kernel issue unrelated to the PR changes (USB typec hd3ss3220 regulator fixes).
  3. Possible fix: This is NOT a PR-introduced regression. The PR modifies only the hd3ss3220 USB Type-C driver's VBUS regulator error message and state tracking, which does not affect USB host controller DMA operations or SWIOTLB bounce buffer allocation. The crash indicates a platform-specific USB/DMA/IOMMU configuration issue on qcs615-ride. Recommended actions: (1) Verify SWIOTLB buffer allocation and IOMMU mappings for the xHCI controller in the device tree and kernel config; (2) Check if the crash reproduces without the PR patches (baseline test); (3) If baseline also crashes, escalate to platform team to debug USB DMA path and SWIOTLB bounce buffer setup for qcs615-ride; (4) If crash is specific to this PR, investigate whether the hd3ss3220 changes indirectly affect USB power sequencing or device enumeration timing.
  4. Detail analysis attachment: failed_case_job228524_2_detailed.md
  Case 3: Kernel Crash — Synchronous External Abort during DMA mapping
  1. Failed case: Kernel Crash — Synchronous External Abort during DMA mapping
  2. Root cause: Synchronous external abort (data abort exception) at PC __pi_memcpy_generic+0x2c while copying data from physical address 0xffff0000907c08e0 to SWIOTLB bounce buffer 0xffff00007ffbf000 during USB device enumeration. The fault occurred when the DMA subsystem attempted to map a USB control transfer buffer for a newly connected low-speed USB device (hub_port_init path). The abort indicates the source physical address was not accessible (unmapped, device powered off, or bus error), causing a fatal memory access violation during the bounce buffer copy operation required by SWIOTLB for IOMMU DMA translation on qcs615-ride.
  3. Possible fix: This is a hardware/platform integration issue, not a kernel regression introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (the PR only changes USB Type-C regulator error message formatting). Investigate: (1) USB device hardware compatibility with qcs615-ride — the low-speed USB device at port 1-1 may be defective or incompatible; (2) SWIOTLB buffer allocation and physical address validity — verify SWIOTLB pool is correctly reserved in DT and not overlapping with device MMIO or unmapped regions; (3) IOMMU/SMMU configuration for USB controller (xhci-hcd at 0xa800000) — confirm IOMMU domain and mappings are correct; (4) USB controller power/clock state during enumeration. Short-term: disconnect the USB device at port 1-1 and re-run the test to confirm the crash is device-specific. Long-term: enable CONFIG_IOMMU_DEBUGFS and CONFIG_ARM_SMMU_TESTBUS_DUMP to capture SMMU state at fault time, and collect a full ramdump to inspect the faulting physical address mapping.
  4. Detail analysis attachment: failed_case_job228524_3_detailed.md
  Case 4: job
  1. Failed case: job
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: This is a pre-existing platform issue, not a PR regression. Investigate: (1) SWIOTLB bounce buffer allocation on qcs615-ride — verify the bounce buffer physical address range is valid and mapped; (2) USB xHCI DMA configuration — check if DMA address constraints are correctly configured for this SoC; (3) Hardware: verify board memory configuration and DDR health. Re-trigger the CI job to confirm reproducibility; if intermittent, suspect hardware instability.
  4. Detail analysis attachment: failed_case_job228524_4_detailed.md
Job 228525 | SoC purwa-evk

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/228525

Failed test cases in LAVA job 228525 (SoC: purwa-evk).

  Case 1: Probe_Failure_Check
  1. Failed case: Probe_Failure_Check
  2. Root cause: The test detected 5 probe/firmware errors in dmesg during boot on purwa-evk (X5121): qcom_qseecom_uefisecapp (-EBUSY), qcom-spmi-lpg (-EINVAL), two qcom-pcie instances (-ENODATA), and regulatory.db firmware (-ENOENT). These are pre-existing platform/configuration issues unrelated to the PR's USB Type-C driver changes.
  3. Possible fix: These probe failures are not introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (which only modifies drivers/usb/typec/hd3ss3220.c). The failures are platform-specific issues on purwa-evk: (1) qcom_qseecom_uefisecapp fails due to secure firmware dependency (-EBUSY); (2) qcom-spmi-lpg fails due to invalid DT configuration (-EINVAL); (3) qcom-pcie instances fail due to missing PCIe endpoint hardware or DT configuration (-ENODATA); (4) regulatory.db is an optional WiFi regulatory database. Approve the PR as these are known platform limitations, not regressions.
  4. Detail analysis attachment: failed_case_job228525_1_detailed.md
  Case 2: smmu
  1. Failed case: smmu
  2. Root cause: Test logic issue — the smmu test incorrectly flags device tree wrapper nodes (a0f8800.usb, a2f8800.usb, a4f8800.usb, a6f8800.usb, a8f8800.usb, aa00000.video-codec) as failures for missing IOMMU group attachments, when these are non-DMA parent nodes in the purwa-evk device tree hierarchy; the actual DMA-capable USB controllers (a000000.usb, a200000.usb, a400000.usb, a600000.usb, a800000.usb) are correctly attached to IOMMU groups and pass validation.
  3. Possible fix: Update the smmu test script to distinguish between DMA-capable devices (which require IOMMU protection) and device tree wrapper/parent nodes (which do not perform DMA and do not require IOMMU group attachments); alternatively, suppress these specific devices in the test's critical master list for purwa-evk platform.
  4. Detail analysis attachment: failed_case_job228525_2_detailed.md
  Case 3: KVM_Driver — Platform Configuration Incompatibility
  1. Failed case: KVM_Driver — Platform Configuration Incompatibility
  2. Root cause: KVM cannot initialize on Purwa EVK because the platform is running under the Gunyah hypervisor (version gunyah-mobile-ad1fb25c6), which occupies EL2 (HYP mode). KVM requires exclusive access to ARM virtualization extensions at EL2 to create the /dev/kvm device node. The kernel message "kvm [1]: HYP mode not available" at boot time confirms that KVM detected the hypervisor and aborted initialization. CONFIG_KVM and CONFIG_VIRTUALIZATION are enabled in the kernel config, but the hardware virtualization layer is already claimed by Gunyah.
  3. Possible fix: This is a platform-specific test environment issue, not a kernel bug. The KVM_Driver test should be skipped on platforms running Gunyah hypervisor. Add a test precondition check: if Gunyah hypervisor is detected in dmesg (grep -q "Hypervisor cold boot, version: gunyah"), mark KVM tests as SKIP with reason "Platform runs Gunyah hypervisor — KVM unavailable". Alternatively, if KVM functionality is required for testing, reconfigure the platform to boot without Gunyah (requires bootloader/firmware changes to disable hypervisor and allow Linux to run at EL2 natively).
  4. Detail analysis attachment: failed_case_job228525_3_detailed.md
  Case 4: KVM_EL2_DTB — KVM/Virtualization Test Failure (Pre-existing Platform Limitation)
  1. Failed case: KVM_EL2_DTB — KVM/Virtualization Test Failure (Pre-existing Platform Limitation)
  2. Root cause: KVM initialization failed during kernel boot with "HYP mode not available" because the purwa-evk platform is running under the Gunyah hypervisor (cold boot detected at line 2499), which occupies EL2 and prevents nested virtualization. The kernel lacks kvm-arm.mode=protected or equivalent configuration to enable KVM in a nested/protected mode under Gunyah.
  3. Possible fix: This is a pre-existing platform configuration issue, not a PR-introduced regression. The PR (USB typec hd3ss3220 driver fixes) does not touch KVM, virtualization, or hypervisor code. To enable KVM on purwa-evk under Gunyah: (1) add kvm-arm.mode=protected or kvm-arm.mode=nvhe to the kernel command line, (2) ensure the device tree includes the necessary KVM/hypervisor configuration for nested virtualization under Gunyah, or (3) if nested virtualization is not supported on this platform/hypervisor combination, mark KVM tests as expected-to-fail for purwa-evk in the LAVA test suite configuration.
  4. Detail analysis attachment: failed_case_job228525_4_detailed.md
  Case 5: KVM_Infra
  1. Failed case: KVM_Infra
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Exclude KVM tests from the purwa-evk LAVA test suite when Gunyah hypervisor is enabled, or provide a separate test configuration that boots without Gunyah if KVM validation is required for this SoC.
  4. Detail analysis attachment: failed_case_job228525_5_detailed.md
  Case 6: KVM_Infra
  1. Failed case: KVM_Infra
  2. Root cause: KVM subsystem initialization failed at boot because HYP (EL2 hypervisor) mode is not available on the Purwa IoT EVK (X1E80100) platform — the kernel printed "kvm [1]: HYP mode not available" at boot time, preventing /dev/kvm device node creation despite CONFIG_KVM being enabled.
  3. Possible fix: This is a pre-existing platform limitation, not a PR-introduced regression. The PR modifies only USB Type-C hd3ss3220 driver code and cannot affect KVM/virtualization availability. No action required for this PR. If KVM support is needed on Purwa EVK, investigate bootloader EL2 entry configuration, firmware settings, or platform-specific hypervisor mode restrictions for X1E80100.
  4. Detail analysis attachment: failed_case_job228525_6_detailed.md
Job 228526 | SoC shikra-iqs-evk

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/228526

Failed test cases in LAVA job 228526 (SoC: shikra-iqs-evk).

  Case 1: GIC Test Script Bug — False Failure
  1. Failed case: GIC Test Script Bug — False Failure
  2. Root cause: The GIC test script (run.sh line 75) has a parsing bug that attempts to perform integer comparison on string fields from /proc/interrupts output, and incorrectly assumes the presence of CPUs 4-7 which do not exist on shikra-iqs-evk (4-CPU platform). The kernel and GIC hardware are functioning correctly — all 4 actual CPUs (0-3) pass timer increment validation.
  3. Possible fix: Update the GIC test script to correctly parse /proc/interrupts format (extract only numeric interrupt count fields, not the "GICv3", "Level", "arch_timer" descriptor strings) and dynamically detect the number of online CPUs from /sys/devices/system/cpu/online instead of hardcoding CPU count assumptions. The test should iterate only over CPUs that actually exist on the target platform.
  4. Detail analysis attachment: failed_case_job228526_1_detailed.md
  Case 2: Probe_Failure_Check
  1. Failed case: Probe_Failure_Check
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: These are pre-existing platform issues, not regressions from PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (which only modifies USB Type-C hd3ss3220 driver). To address: (1) For coresight-etm4x: investigate device tree thermal zone configuration for shikra and ensure thermal sensors are properly defined; (2) For cpufreq-dt: this is benign if another cpufreq driver (e.g., qcom-cpufreq-hw) is already active; (3) For regulatory.db: add the wireless-regdb package to the rootfs or disable CONFIG_CFG80211_REQUIRE_SIGNED_REGDB; (4) For tpm_tis_spi: if TPM is not present on this board variant, disable the driver or mark as expected; (5) For audio: ensure audio clock provider driver probes before codec. Recommended action for PR validation: Suppress these known platform issues in the Probe_Failure_Check test baseline for shikra-iqs-evk, as they are not related to the USB Type-C changes in this PR.
  4. Detail analysis attachment: failed_case_job228526_2_detailed.md
  Case 3: ** PCIe — QPS615 PCIe Switch Firmware and Driver Missing
  1. Failed case: ** PCIe — QPS615 PCIe Switch Firmware and Driver Missing
  2. Root cause: ** The PCIe test failed because the QPS615 PCIe-to-Ethernet switch requires two missing components: (1) firmware file TC956X_Firmware_PCIeBridge.bin not present in any standard firmware search path (/lib/firmware/, /lib/firmware/updates/, etc.), and (2) kernel driver module tc956x_pcie_eth not built or installed for the running kernel. The QPS615 switch hardware (vendor 0x1179, device 0x0623/0x0220) is correctly enumerated on the PCIe bus and bound to the generic pcieport driver, but the specialized Ethernet functions (0000:05:00.0, 0000:05:00.1) remain unbound because the vendor-specific driver and firmware are absent. This is a pre-existing infrastructure/build configuration issue, not a regression introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (which only modifies USB Type-C hd3ss3220 driver error messages).
  3. Possible fix: Add the missing QPS615 firmware and driver to the build/test image: (1) Install TC956X_Firmware_PCIeBridge.bin to /lib/firmware/ in the rootfs or build artifact, (2) Enable CONFIG_TC956X_PCIE_ETH (or equivalent) in the kernel config and ensure the module is built and installed, (3) Verify the device tree includes the required ethernet-ports configuration for the QPS615 switch under the PCIe node at /sys/firmware/devicetree/base/soc@0/pcie@45e8000/pcie@0/pcie@0,0/pcie@3,0/. If QPS615 Ethernet is not a required feature for shikra-iqs-evk CI validation, mark this test as SKIP or remove it from the test suite for this platform.
  4. Detail analysis attachment: failed_case_job228526_3_detailed.md
  Case 4: USBHost
  1. Failed case: USBHost
  2. Root cause: USB controller on shikra-iqs-evk is configured in peripheral/gadget mode (dr_mode=peripheral or equivalent DT configuration), not host mode. The test expects USB root hubs to be exposed for host functionality validation, but the controller is operating as a USB device/gadget. Evidence: systemd reached "Hardware activated USB gadget" target, test log shows "Link mode: PERIPHERAL ACCEPT", and no USB root hubs are present in sysfs.
  3. Possible fix: This is a pre-existing platform configuration issue, not introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972. The PR modifies only the hd3ss3220 USB Type-C driver's VBUS regulator error message and state tracking logic, which does not affect USB controller mode selection. To resolve: either (1) update the shikra-iqs-evk device tree to set the USB controller's dr_mode property to "host" or "otg" instead of "peripheral", or (2) update the LAVA test suite to skip USBHost validation on platforms where USB is intentionally configured in gadget-only mode, or (3) add runtime USB role switching support to allow the test to switch the controller to host mode before validation.
  4. Detail analysis attachment: failed_case_job228526_4_detailed.md
  Case 5: BT_FW_KMD_Service
  1. Failed case: BT_FW_KMD_Service
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: Add the missing vddch1 regulator supply to the wcn3988-pmu device tree node for shikra-iqs-evk, or verify that the regulator is correctly wired and enabled in hardware; if the regulator is intentionally absent, update the device tree to mark it as optional or provide a fixed-regulator stub.
  4. Detail analysis attachment: failed_case_job228526_5_detailed.md
  Case 6: BT_ON_OFF (Bluetooth Hardware Communication Failure)
  1. Failed case: BT_ON_OFF (Bluetooth Hardware Communication Failure)
  2. Root cause: Bluetooth controller (WCN399x/QCA) fails to respond to HCI commands from boot onwards with ETIMEDOUT (-110) errors. The controller never completes initialization - cannot read QCA version information via vendor command 0xfc00. This is a hardware/firmware-level failure, NOT introduced by the PR (which only modifies USB Type-C driver). The failure is specific to the Bluetooth subsystem on this shikra-iqs-evk board instance.
  3. Possible fix: This is a pre-existing board/firmware issue, not a PR regression. Recommended actions: (1) Re-trigger the CI job on a different shikra-iqs-evk board to rule out board-specific hardware defect. (2) Verify Bluetooth firmware files are present and valid in the rootfs image at /lib/firmware/qca/. (3) Check board-specific device tree for Bluetooth UART pinmux, power, and clock configurations. (4) If issue persists across multiple boards, investigate Bluetooth firmware compatibility with kernel version 6.18.44-g8362ddeb7055. (5) Since PR does not touch Bluetooth code, approve PR merge and track Bluetooth issue separately.
  4. Detail analysis attachment: failed_case_job228526_6_detailed.md
  Case 7: BT_SCAN
  1. Failed case: BT_SCAN
  2. Root cause: Bluetooth hardware initialization failure on shikra-iqs-evk — QCA Bluetooth controller (WCN3988) over UART fails to respond to HCI command 0xfc00 (QCA version read) with repeated -110 (ETIMEDOUT) errors during firmware initialization, preventing the adapter from acquiring a valid BD address and becoming operational.
  3. Possible fix: Investigate the WCN3988 power sequencing issue indicated by "supply vddch1 not found, using dummy regulator" at boot — verify device tree power supply configuration for the wcn3988-pmu node includes the correct vddch1 regulator phandle; check if the Bluetooth UART interface (likely ttyHS0 or ttyHS1) is correctly configured with flow control and baud rate; verify the WCN3988 firmware files are present in /lib/firmware/qca/ and match the hardware revision; if the issue persists, capture a logic analyzer trace of the UART TX/RX lines during the command 0xfc00 exchange to determine if the controller is powered and responding at the electrical level.
  4. Detail analysis attachment: failed_case_job228526_7_detailed.md
  Case 8: Kernel Crash — Synchronous External Abort in qcom_rng driver
  1. Failed case: Kernel Crash — Synchronous External Abort in qcom_rng driver
  2. Root cause: Hardware register access fault in qcom_rng_read() at offset +0xc4 when reading from MMIO address; synchronous external abort (ESR 0x96000010) indicates the hardware did not respond to the memory-mapped I/O read, likely due to the RNG hardware block being unpowered, clock-gated, or in an inaccessible state on Shikra IQS EVK.
  3. Possible fix: Add runtime PM support to qcom_rng driver to ensure the RNG hardware block is properly powered and clocked before register access; alternatively, add clock/regulator dependency checks in probe and enable them before first use; verify DT node for qcom,prng device includes required clocks and power-domains properties for Shikra (SM8650).
  4. Detail analysis attachment: failed_case_job228526_8_detailed.md
  Case 9: KVM_EL2_DTB
  1. Failed case: KVM_EL2_DTB
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: This is a pre-existing hardware/platform issue on Shikra IQS EVK, not a regression introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972. The PR changes (USB Type-C hd3ss3220 driver fixes) are unrelated to the qcom_rng crash. Recommended actions: (1) Verify the RNG hardware block is correctly powered and clocked in the Shikra device tree and firmware; (2) Check if the qcom_rng driver's register base address and clock/power domain bindings match the Shikra hardware specification; (3) Add runtime PM or clock gating checks in qcom_rng_read before accessing hardware registers; (4) If this is a known Shikra EVK hardware limitation, disable the qcom_hwrng test for this platform or mark it as expected-fail in the CI configuration. PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 can proceed — the KVM_EL2_DTB failure is a cascading effect of an unrelated pre-existing crash.
  4. Detail analysis attachment: failed_case_job228526_9_detailed.md
  Case 10: KVM_Infra — KVM Infrastructure Test Failure (Pre-existing Platform Limitation)
  1. Failed case: KVM_Infra — KVM Infrastructure Test Failure (Pre-existing Platform Limitation)
  2. Root cause: KVM driver initialization failed at boot because the Shikra IQS EVK platform does not support EL2 (Hypervisor mode). Boot log shows "kvm [1]: HYP mode not available" at timestamp 3.044994, preventing /dev/kvm device node creation. CONFIG_KVM is enabled in kernel config but the hardware/firmware does not provide EL2 support required for ARM KVM virtualization.
  3. Possible fix: This is a platform hardware/firmware limitation, not a kernel regression. The Shikra IQS EVK board does not support KVM virtualization. Exclude KVM tests from the CI test suite for this platform, or update the test to SKIP (not FAIL) when HYP mode is unavailable. The PR changes (USB typec driver fixes in hd3ss3220.c) are unrelated to KVM and did not cause this failure.
  4. Detail analysis attachment: failed_case_job228526_10_detailed.md
  Case 11: Kernel Crash — Synchronous External Abort in qcom_rng Driver
  1. Failed case: Kernel Crash — Synchronous External Abort in qcom_rng Driver
  2. Root cause: Hardware fault (synchronous external abort 0x96000010) in qcom_rng_read() at offset 0xc4 when accessing RNG hardware registers during /dev/hwrng read operation in the qcom_hwrng test. The fault triggered a kernel panic followed by EFI pstore write failures and board reset. This is a hardware access violation indicating the RNG hardware block is either not powered, not clocked, or the MMIO mapping is invalid on shikra-iqs-evk.
  3. Possible fix: Verify qcom_rng device tree node on shikra-iqs-evk has correct reg address, clocks, and power domain properties. Check if RNG hardware block requires explicit power-on or clock enablement before register access. Add defensive register access validation in qcom_rng_read() to detect and handle invalid MMIO mappings gracefully. The PR patches (USB typec hd3ss3220 VBUS regulator fixes) are unrelated to this RNG hardware fault.
  4. Detail analysis attachment: failed_case_job228526_11_detailed.md
  Case 12: Kernel Crash — Synchronous External Abort in qcom_rng driver
  1. Failed case: Kernel Crash — Synchronous External Abort in qcom_rng driver
  2. Root cause: Hardware access fault in qcom_rng_read() at offset +0xc4 when reading from MMIO register (instruction: b940035c = ldr w28, [x26]). The synchronous external abort (ESR 0x96000010) indicates the hardware did not respond to the memory-mapped register read, likely due to the RNG hardware block being unpowered, unclock, or in reset state when accessed. This is a pre-existing platform/driver issue on shikra-iqs-evk, not introduced by the PR (which only modifies USB typec hd3ss3220 driver).
  3. Possible fix: Add proper power domain, clock, and reset dependencies to the qcom,prng-ee DT node for shikra (sm8650). Ensure the RNG hardware block is powered and clocked before driver probe. As a short-term workaround, blacklist the qcom_rng module or skip the qcom_hwrng test on shikra-iqs-evk until the platform DT is corrected.
  4. Detail analysis attachment: failed_case_job228526_12_detailed.md
  Case 13: ** Kernel Crash — Synchronous External Abort in qcom_rng driver
  1. Failed case: ** Kernel Crash — Synchronous External Abort in qcom_rng driver
  2. Root cause: ** The qcom_hwrng test triggered a read from /dev/hwrng, which invoked qcom_rng_read() in the qcom_rng driver. At line 6039 (qcom_rng_read+0xc4/0x228), the driver attempted to read a hardware register (likely PRNG_STATUS at offset 0x4 based on typical qcom_rng implementation), but the hardware did not respond, causing a synchronous external abort (0x96000010). This indicates the PRNG hardware block was either powered down, clock-gated, not properly initialized, or the MMIO region was inaccessible. The crash is NOT introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (which only touches USB typec hd3ss3220 driver) - this is a pre-existing platform issue with the shikra-iqs-evk board's PRNG hardware configuration or power/clock dependencies.
  3. Possible fix: This is a pre-existing board/firmware issue, not a kernel regression from PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972. The PR changes are unrelated (USB typec driver). To resolve: (1) Verify PRNG power domain and clock are enabled in device tree for shikra-iqs-evk; (2) Check if PRNG driver probe succeeded and hardware was initialized before the test ran; (3) Add runtime PM or clock/regulator dependencies to qcom_rng driver if missing for this SoC; (4) As a workaround, skip the qcom_hwrng test on shikra-iqs-evk until the hardware dependency is fixed. PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 can proceed - this failure is not caused by the PR.
  4. Detail analysis attachment: failed_case_job228526_13_detailed.md
  Case 14: Kernel Crash — synchronous external abort in qcom_rng driver
  1. Failed case: Kernel Crash — synchronous external abort in qcom_rng driver
  2. Root cause: The kernel panicked with a synchronous external abort (paging fault) in the qcom_rng_read() function at PC offset +0xc4, triggered during a read from /dev/hwrng. The crash occurred when accessing an invalid memory address (x2: 000a408135686400), followed by cascading EFI runtime service paging faults during panic handling. The board correctly entered EDL/ramdump mode as configured, but the LAVA test suite timed out after 2400 seconds waiting for test completion that never came due to the crash.
  3. Possible fix: This is a pre-existing kernel bug in the qcom_rng driver, unrelated to the PR (which only modifies USB Type-C hd3ss3220 driver error messages and VBUS state tracking). The crash needs investigation in the qcom_rng driver's memory access patterns. For immediate CI unblocking: (1) disable CONFIG_HW_RANDOM_QCOM or blacklist qcom_rng module in the test image, or (2) add a known-issue suppression for this crash signature in the LAVA job definition. For proper fix: investigate why qcom_rng_read is dereferencing an invalid address — likely a race condition, use-after-free, or uninitialized pointer in the RNG hardware access path on shikra-iqs-evk.
  4. Detail analysis attachment: failed_case_job228526_14_detailed.md
Job 228527 | SoC lemans-evk

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/228527

Failed test cases in LAVA job 228527 (SoC: lemans-evk).

  Case 1: ** Probe_Failure_Check — Deferred Probe Not Resolved (PMIC Temp-Alarm)
  1. Failed case: ** Probe_Failure_Check — Deferred Probe Not Resolved (PMIC Temp-Alarm)
  2. Root cause: ** Four PMIC temp-alarm devices (c440000.spmi:pmic@[0,2,4,6]:temp-alarm@a00) remain in deferred probe state because the QCOM SPMI VADC (Voltage ADC) driver dependency is not available — either not compiled, not probed, or misconfigured in the device tree for lemans-evk platform.
  3. Possible fix: Enable CONFIG_QCOM_SPMI_ADC5 in the kernel config for lemans-evk, verify the VADC device tree nodes are present and correctly configured in arch/arm64/boot/dts/qcom/sa8775p*.dtsi, and confirm VADC driver probes successfully before temp-alarm devices attempt to probe.
  4. Detail analysis attachment: failed_case_job228527_1_detailed.md
  Case 2: smmu
  1. Failed case: smmu
  2. Root cause: Test expects video codec device aa00000.video-codec to be attached to an IOMMU group, but this device does not exist on the lemans-evk (iq-9075-evk) platform. The Iris video codec driver creates iris_non_pixel.0 and iris_pixel.0 devices instead, which are correctly attached to IOMMU groups 25 and 26. This is a test configuration issue, not a kernel regression.
  3. Possible fix: Update the SMMU test's critical master list for lemans-evk to expect iris_non_pixel.0 and iris_pixel.0 instead of aa00000.video-codec, or exclude this check for platforms using the Iris video codec driver.
  4. Detail analysis attachment: failed_case_job228527_2_detailed.md
  Case 3: 0_qcom-next-ci-premerge-tests
  1. Failed case: 0_qcom-next-ci-premerge-tests
  2. Root cause: LAVA marked the test definition as failed due to two genuine test failures: (1) Probe_Failure_Check detected deferred probes for PMIC temp-alarm devices and firmware load errors for regulatory.db and Bluetooth firmware, and (2) smmu test detected video codec device (aa00000.video-codec) missing IOMMU group attachment. The "Marking unfinished test run as failed" message is LAVA's standard behavior when individual tests within a test definition fail.
  3. Possible fix: The PR changes (USB Type-C hd3ss3220 driver fixes) are unrelated to these failures. These are pre-existing platform issues on lemans-evk: (1) PMIC thermal driver deferred probe issue requires device tree or driver probe order fix, (2) video codec IOMMU attachment requires device tree iommus property or driver initialization fix. Re-run the CI job to confirm these failures are not PR-introduced regressions; if they persist across baseline builds, file separate bugs for the thermal and video codec IOMMU issues.
  4. Detail analysis attachment: failed_case_job228527_3_detailed.md
Job 228528 | SoC monaco-evk

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/228528

Failed test cases in LAVA job 228528 (SoC: monaco-evk).

  Case 1: ** Probe_Failure_Check — WiFi Driver Probe Failure (ath11k_pci)
  1. Failed case: ** Probe_Failure_Check — WiFi Driver Probe Failure (ath11k_pci)
  2. Root cause: ** The ath11k_pci WiFi driver probe failed with -ETIMEDOUT (-110) on monaco-evk because the WCN6855 WiFi module firmware (ath11k/WCN6855/hw2.1/nfa765/amss.bin) is missing from the rootfs firmware directory. The MHI (Modem Host Interface) power-up sequence timed out waiting for the firmware to load, causing the entire probe sequence to fail. This is a pre-existing platform/firmware packaging issue, not introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (which only modifies USB Type-C hd3ss3220 driver error messages).
  3. Possible fix: Add the missing WCN6855 firmware files to the rootfs firmware directory at /lib/firmware/ath11k/WCN6855/hw2.1/nfa765/. The firmware package should include amss.bin, m3.bin, and board-2.bin. If the firmware is proprietary and cannot be redistributed, update the test suppression rules to treat ath11k probe failures on monaco-evk as known-benign when the hardware is not populated or firmware is intentionally omitted.
  4. Detail analysis attachment: failed_case_job228528_1_detailed.md
  Case 2: WiFi_Firmware_Driver — WiFi driver probe failure (ath11k_pci)
  1. Failed case: WiFi_Firmware_Driver — WiFi driver probe failure (ath11k_pci)
  2. Root cause: The ath11k_pci driver probe failed with error -110 (ETIMEDOUT) because the required WiFi firmware file ath11k/WCN6855/hw2.1/nfa765/amss.bin is missing from the target filesystem, causing MHI power-up to timeout during driver initialization on monaco-evk.
  3. Possible fix: Install the missing ath11k WiFi firmware package for WCN6855 hw2.1 (nfa765 variant) in the target rootfs at /lib/firmware/ath11k/WCN6855/hw2.1/nfa765/amss.bin and related firmware files, then re-trigger the CI job.
  4. Detail analysis attachment: failed_case_job228528_2_detailed.md
  Case 3: WiFi Driver Probe Failure — ath11k_pci probe timeout
  1. Failed case: WiFi Driver Probe Failure — ath11k_pci probe timeout
  2. Root cause: ath11k_pci driver probe failed with -110 (ETIMEDOUT) on monaco-evk because the required firmware file ath11k/WCN6855/hw2.1/nfa765/amss.bin is missing from the rootfs (MHI firmware load failed with -2/-ENOENT), causing MHI power-up to timeout and the entire WiFi driver initialization chain to fail.
  3. Possible fix: Add the missing firmware file ath11k/WCN6855/hw2.1/nfa765/amss.bin to the rootfs firmware directory (/lib/firmware/ath11k/WCN6855/hw2.1/nfa765/) in the Yocto build recipe or verify that the linux-firmware package includes the nfa765 variant firmware for WCN6855 hw2.1 on monaco-evk.
  4. Detail analysis attachment: failed_case_job228528_3_detailed.md
  Case 4: 0_qcom-next-ci-premerge-tests
  1. Failed case: 0_qcom-next-ci-premerge-tests
  2. Root cause: Pre-existing WiFi firmware infrastructure issue — ath11k driver probe failed with error -110 (ETIMEDOUT) because required firmware file ath11k/WCN6855/hw2.1/nfa765/amss.bin is missing from the rootfs (error -2, ENOENT), causing MHI power-up failure and subsequent probe timeout on monaco-evk WCN6855 PCIe WiFi device.
  3. Possible fix: Add the missing firmware file ath11k/WCN6855/hw2.1/nfa765/amss.bin to the rootfs firmware directory (/lib/firmware/ath11k/WCN6855/hw2.1/nfa765/). This is a build/image packaging issue unrelated to the PR changes (USB Type-C driver). The PR should not be blocked by this pre-existing infrastructure gap.
  4. Detail analysis attachment: failed_case_job228528_4_detailed.md
Job 228529 | SoC qcs8300-ride

LAVA job: https://lava-oss.qualcomm.com/scheduler/job/228529

Failed test cases in LAVA job 228529 (SoC: qcs8300-ride).

  Case 1: ** Probe_Failure_Check (False Positive — Benign Firmware Load Failure with Working Fallback)
  1. Failed case: ** Probe_Failure_Check (False Positive — Benign Firmware Load Failure with Working Fallback)
  2. Root cause: ** The Probe_Failure_Check test has an overly strict pattern match that flags any firmware load error as a failure, without distinguishing between:
  3. Possible fix: Update the Probe_Failure_Check test to exclude benign firmware load failures where a working fallback mechanism exists. Specifically, suppress regulatory.db load failures when: (1) compiled-in X.509 regulatory certificates are loaded successfully, AND (2) WiFi functional tests pass. Alternatively, include the regulatory.db firmware file in the rootfs if strict firmware presence validation is required.
  4. Detail analysis attachment: failed_case_job228529_1_detailed.md
  Case 2: KVM_Driver
  1. Failed case: KVM_Driver
  2. Root cause: /dev/kvm device node not created because the qcs8300-ride platform is running under the Gunyah hypervisor (nested virtualization not supported). CONFIG_KVM is enabled in the kernel but KVM cannot initialize when the kernel itself is running as a guest under Gunyah.
  3. Possible fix: This is not a kernel regression introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (USB Type-C patches). The failure is a platform limitation: qcs8300-ride runs under Gunyah hypervisor which does not support nested virtualization. Either: (1) exclude KVM tests from qcs8300-ride CI runs, or (2) configure the platform to boot without Gunyah if KVM testing is required, or (3) mark KVM tests as expected-skip for this SoC.
  4. Detail analysis attachment: failed_case_job228529_2_detailed.md
  Case 3: KVM_EL2_DTB
  1. Failed case: KVM_EL2_DTB
  2. Root cause: Could not be determined confidently from available logs.
  3. Possible fix: This is a pre-existing platform configuration issue unrelated to the PR (which only touches USB typec driver). To resolve: (1) Verify qcs8300-ride hardware supports ARM virtualization extensions and EL2; (2) Check bootloader/firmware configuration to ensure EL2 is enabled for Linux; (3) If platform does not support KVM, mark KVM tests as "not applicable" for qcs8300-ride in CI configuration; (4) If KVM should work, enable KVM debug (CONFIG_KVM_ARM_DEBUG=y) and check for silent initialization failures.
  4. Detail analysis attachment: failed_case_job228529_3_detailed.md
  Case 4: ** KVM Infrastructure Missing — /dev/kvm device node not present
  1. Failed case: ** KVM Infrastructure Missing — /dev/kvm device node not present
  2. Root cause: ** KVM device node (/dev/kvm) is not created despite CONFIG_KVM being enabled in kernel config, indicating the qcs8300-ride platform either lacks hardware virtualization support (EL2/VHE/nVHE) or KVM driver initialization silently failed due to missing platform prerequisites.
  3. Possible fix: Verify qcs8300-ride platform supports ARM virtualization extensions (check if CPU implements EL2). If supported, check kernel boot log for silent KVM initialization failures by enabling KVM debug (CONFIG_KVM_ARM_DEBUG=y). If platform lacks EL2 support, mark KVM tests as "not applicable" for qcs8300-ride in CI configuration. This is a pre-existing platform limitation, not introduced by PR usb: typec: hd3ss3220: Fix VBUS regulator reference handling #972 (USB Type-C changes).
  4. Detail analysis attachment: failed_case_job228529_4_detailed.md
  Case 5: 0_qcom-next-ci-premerge-tests
  1. Failed case: 0_qcom-next-ci-premerge-tests
  2. Root cause: LAVA dispatcher marked the test definition as failed because 4 individual test cases failed (Probe_Failure_Check, KVM_Driver, KVM_EL2_DTB, KVM_Infra), even though the test runner completed normally and exited cleanly with <LAVA_TEST_RUNNER EXIT>.
  3. Possible fix: The overall test definition failure is expected behavior when individual tests fail. Review the 4 genuine test failures: (1) Probe_Failure_Check indicates driver probe failures in dmesg; (2) KVM_Driver/KVM_EL2_DTB/KVM_Infra all failed because /dev/kvm is not present, indicating KVM is not enabled or not functional on qcs8300-ride. The PR changes (USB Type-C hd3ss3220 driver VBUS regulator fixes) are unrelated to these failures - they are pre-existing platform issues.
  4. Detail analysis attachment: failed_case_job228529_5_detailed.md

@qcomlnxci

Copy link
Copy Markdown

Test Matrix

Test Case hamoa-iot-evk-multimedia lemans-evk-multimedia monaco-evk-multimedia purwa-iot-evk-multimedia qcs615-ride-multimedia qcs6490-rb3gen2-multimedia qcs8300-ride-multimedia qcs9100-ride-r3-multimedia shikra-iqs-evk-multimedia
Audio_Card_Registration ✅ Pass ✅ Pass ✅ Pass ✅ Pass ⚠️ skip ✅ Pass ⚠️ skip ⚠️ skip ⚠️ skip
BT_FW_KMD_Service ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ❌ Fail
BT_ON_OFF ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ❌ Fail
BT_SCAN ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ❌ Fail
CPUFreq_Validation ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
CPU_affinity ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
DSP_AudioPD ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ⚠️ skip
Ethernet_Basic_Validation ⚠️ skip ✅ Pass ✅ Pass ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ❌ Fail ⚠️ skip
Freq_Scaling ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ❌ Fail ✅ Pass ✅ Pass ✅ Pass
GIC ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ❌ Fail ✅ Pass ✅ Pass ❌ Fail
IPA ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
Interrupts ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
KVM_Driver ❌ Fail ✅ Pass ✅ Pass ❌ Fail ❌ Fail ❌ Fail ❌ Fail ❌ Fail ❌ Fail
KVM_EL2_DTB ❌ Fail ✅ Pass ✅ Pass ❌ Fail ❌ Fail ❌ Fail ❌ Fail ❌ Fail ❌ Fail
KVM_Infra ❌ Fail ✅ Pass ✅ Pass ❌ Fail ❌ Fail ❌ Fail ❌ Fail ❌ Fail ❌ Fail
OpenCV ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
PCIe ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ❌ Fail
Probe_Failure_Check ❌ Fail ❌ Fail ❌ Fail ❌ Fail ❌ Fail ❌ Fail ❌ Fail ❌ Fail ❌ Fail
RMNET ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
UFS_Validation ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ⚠️ skip
USBHost ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ⚠️ skip ✅ Pass ✅ Pass ❌ Fail
WiFi_Firmware_Driver ✅ Pass ✅ Pass ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
WiFi_OnOff ✅ Pass ✅ Pass ❌ Fail ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ⚠️ skip
adsp_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ⚠️ skip
cdsp_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
gpdsp_remoteproc ⚠️ skip ✅ Pass ✅ Pass ⚠️ skip ⚠️ skip ⚠️ skip ✅ Pass ✅ Pass ⚠️ skip
hotplug ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
irq ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
kaslr ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
pinctrl ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
qcom_hwrng ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ◻️
rngtest ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
shmbridge ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
smmu ❌ Fail ❌ Fail ✅ Pass ❌ Fail ❌ Fail ✅ Pass ✅ Pass ❌ Fail ✅ Pass
watchdog ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass
wpss_remoteproc ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass ✅ Pass

@sgaud-quic

Copy link
Copy Markdown
Contributor

Kriskura176767 please take care of CR, i am proceeding to merge this change

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: CR Not Eligible for Merge

CR 4676785 is not eligible for merge.

The parent software image for kernel.qli.2.0 is not development complete.

Entity: kernel.qli.2.0
CR: 4676785
Reason: CR_CANNOT_MERGE

Please ensure the CR passes both CCT (ComponentChangeTasks) and ICT (Integration Change Tasks) validations.

@sgaud-quic
Salendarsingh Gaud (sgaud-quic) merged commit 923a0c5 into qualcomm-linux:qcom-6.18.y Sep 17, 2026
6 of 8 checks passed
@qswat-orbit-external

Copy link
Copy Markdown

Dev Completion validation failed

CR: 4676785
Change Task: kernel.qli.2.0
Error: GenAI Assisted field must be set before moving change tasks to Development Complete. Please provide GenAI information.

The change task for this CR could not be moved to Dev Complete because of the error above. Please resolve the issue in Orbit and re-run the failed Orbit check.

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.

5 participants