Skip to content

Msi affinity support qli2.0 - #897

Open
abhishek-6246 wants to merge 4 commits into
qualcomm-linux:qcom-6.18.yfrom
abhishek-6246:msi_affinity_support_qli2.0
Open

Msi affinity support qli2.0#897
abhishek-6246 wants to merge 4 commits into
qualcomm-linux:qcom-6.18.yfrom
abhishek-6246:msi_affinity_support_qli2.0

Conversation

@abhishek-6246

@abhishek-6246 abhishek-6246 commented Aug 4, 2026

Copy link
Copy Markdown

### MSI Affinity Support for DWC PCIe (backport)

Summary

Backports the upstream interrupt redirection infrastructure and enables CPU affinity control for MSI interrupts on DesignWare (DWC) PCIe controllers. On DWC, MSIs are demultiplexed from a single parent interrupt whose affinity cannot be changed, so per-MSI affinity was previously unavailable. This series adds generic genirq support to redirect a child interrupt's handler to run in IRQ-work context on a CPU within its affinity mask, and wires the DWC host driver up to use it.

https://patch.msgid.link/20251128212055.1409093-2-rrendec@redhat.com

https://patch.msgid.link/20251128212055.1409093-3-rrendec@redhat.com

https://patch.msgid.link/20251128212055.1409093-4-rrendec@redhat.com

https://patch.msgid.link/20260112211402.2927336-1-rrendec@redhat.com

Files changed

drivers/pci/controller/dwc/pcie-designware-host.c | 127 +++++++-------
drivers/pci/controller/dwc/pcie-designware.h | 7 +-
include/linux/irq.h | 10 +
include/linux/irqdesc.h | 17 +-
kernel/irq/chip.c | 24 +-
kernel/irq/irqdesc.c | 86 +++++++-
kernel/irq/manage.c | 15 +-
7 files changed, 206 insertions(+), 80 deletions(-)

CRs-Fixed: 4637597

Add infrastructure to redirect interrupt handler execution to a
different CPU when the current CPU is not part of the interrupt's CPU
affinity mask.

This is primarily aimed at (de)multiplexed interrupts, where the child
interrupt handler runs in the context of the parent interrupt handler,
and therefore CPU affinity control for the child interrupt is typically
not available.

With the new infrastructure, the child interrupt is allowed to freely
change its affinity setting, independently of the parent. If the
interrupt handler happens to be triggered on an "incompatible" CPU (a
CPU that's not part of the child interrupt's affinity mask), the handler
is redirected and runs in IRQ work context on a "compatible" CPU.

No functional change is being made to any existing irqchip driver, and
irqchip drivers must be explicitly modified to use the newly added
infrastructure to support interrupt redirection.

Signed-off-by: Radu Rendec <rrendec@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251128212055.1409093-2-rrendec@redhat.com
Link: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/
(cherry picked from commit fcc1d0d)
Code cleanup with no functional changes. These changes were originally
made by Thomas Gleixner (see Link tag below) in a patch that was never
submitted as is. Other parts of that patch were eventually submitted as
commit 8e71711 ("PCI: dwc: Switch to msi_create_parent_irq_domain()")
and the remaining parts are the code cleanup changes:

    - Use guard()/scoped_guard() instead of open-coded lock/unlock.
    - Return void in a few functions whose return value is never used.
    - Simplify dw_handle_msi_irq() by using for_each_set_bit().

One notable deviation from the original patch is that it reverts back to a
simple 1 by 1 iteration over the controllers inside dw_handle_msi_irq.  The
reason is that with the original changes, the IRQ offset was calculated
incorrectly.

This prepares the ground for enabling MSI affinity support, which was
originally part of that same series that Thomas Gleixner prepared.

Signed-off-by: Radu Rendec <rrendec@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251128212055.1409093-3-rrendec@redhat.com
Link: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/
(cherry picked from commit f187509)
Leverage the interrupt redirection infrastructure to enable CPU affinity
support for MSI interrupts. Since the parent interrupt affinity cannot
be changed, affinity control for the child interrupt (MSI) is achieved
by redirecting the handler to run in IRQ work context on the target CPU.

This patch was originally prepared by Thomas Gleixner (see Link tag below)
in a patch series that was never submitted as is, and only parts of that
series have made it upstream so far.

Signed-off-by: Radu Rendec <rrendec@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251128212055.1409093-4-rrendec@redhat.com
Link: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/
(cherry picked from commit eaf290c)
For redirected interrupts, irq_chip_redirect_set_affinity() does not
update the effective affinity mask, which then triggers the warning in
irq_validate_effective_affinity(). Also, because the effective affinity
mask is empty, the cpumask_test_cpu(smp_processor_id(), m) condition in
demux_redirect_remote() is always false, and the interrupt is always
redirected, even if it's already running on the target CPU.

Set the effective affinity mask to be the same as the requested affinity
mask. It's worth noting that irq_do_set_affinity() filters out offline
CPUs before calling chip->irq_set_affinity() (unless `force` is set), so
the mask passed to irq_chip_redirect_set_affinity() is already filtered.

The solution is not ideal because it may lie about the effective
affinity of the demultiplexed ("child") interrupt. If the requested
affinity mask includes multiple CPUs, the effective affinity, in
reality, is the intersection between the requested mask and the
demultiplexing ("parent") interrupt's effective affinity mask, plus
the first CPU in the requested mask.

Accurately describing the effective affinity of the demultiplexed
interrupt is not trivial because it requires keeping track of the
demultiplexing interrupt's effective affinity. That is tricky in the
context of CPU hot(un)plugging, where interrupt migration ordering is
not guaranteed. The solution in the initial version of the fixed patch,
which stored the first CPU of the demultiplexing interrupt's effective
affinity in the `target_cpu` field, has its own drawbacks and
limitations.

Fixes: fcc1d0d ("genirq: Add interrupt redirection infrastructure")
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Radu Rendec <rrendec@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20260112211402.2927336-1-rrendec@redhat.com
Closes: https://lore.kernel.org/all/44509520-f29b-4b8a-8986-5eae3e022eb7@nvidia.com/
(cherry picked from commit df43971)
@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.

@abhishek-6246
abhishek-6246 marked this pull request as ready for review August 4, 2026 10:06
@abhishek-6246
abhishek-6246 marked this pull request as draft August 4, 2026 10:07
@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 #897 — validate-patch

PR: #897

Verdict Issues Detailed Report
0 Full report

Final Summary

  1. Lore link present: Yes - but INCORRECT for commits 1-3 (points to discussion thread instead of patch series)
  2. Lore link matches PR commits: Cannot verify - wrong lore link fetched; correct patch series not available for comparison
  3. Upstream patch status: ✅ Upstreamed - all commits have cherry-pick notes with upstream commit SHAs (fcc1d0d, f187509, eaf290c, df43971)
  4. PR present in qcom-next/topics: Yes - all 4 commit(s) are present in qcom-next or topics
Verdict: ❌ — click to expand

🔍 Patch Validation

PR: #897 - genirq/PCI: Add interrupt redirection infrastructure and enable MSI affinity support
Upstream commits: Multiple (see details below)
Verdict: ❌ FAIL

Critical Issue: Incorrect Lore Links

All four commits in this PR contain an incorrect lore.kernel.org link:

Link: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/

This link points to Thomas Gleixner's reply in a discussion thread, not to the actual patch series. The lore mbox evidence confirms this is a discussion where Thomas mentioned providing patches at https://tglx.de/~tglx/patches.tar, but it is not the canonical upstream posting.

Correct Lore Links

The commits should reference the actual Radu Rendec patch series:

Commit Current (Wrong) Link Correct Link
1/4 genirq: Add interrupt redirection infrastructure 878qpg4o4t.ffs@tglx https://patch.msgid.link/20251128212055.1409093-2-rrendec@redhat.com
2/4 PCI: dwc: Code cleanup 878qpg4o4t.ffs@tglx https://patch.msgid.link/20251128212055.1409093-3-rrendec@redhat.com
3/4 PCI: dwc: Enable MSI affinity support 878qpg4o4t.ffs@tglx https://patch.msgid.link/20251128212055.1409093-4-rrendec@redhat.com
4/4 genirq: Update effective affinity for redirected (no wrong link) https://patch.msgid.link/20260112211402.2927336-1-rrendec@redhat.com

Note: Each commit already has the correct patch.msgid.link as a second Link: line, but the first Link: pointing to the discussion thread should be removed.

Commit Message Analysis

Check Status Note
Subject matches upstream Subjects appear correct based on patch.msgid.link references
Body preserves rationale ⚠️ Cannot verify without fetching correct lore patches
Authorship preserved From: Radu Rendec <rrendec@redhat.com> is correct
Cherry-pick notes present All commits have (cherry picked from commit <sha>)
Originally-by usage ⚠️ Commits 1-3 use Originally-by: Thomas Gleixner - verify this is appropriate

Issues

  1. Wrong lore link (CRITICAL): The first Link: line in commits 1-3 points to a discussion thread (878qpg4o4t.ffs@tglx) instead of the actual patch posting. This violates kernel commit message conventions where Link: should point to the canonical patch posting.

  2. Originally-by tag usage: Commits 1-3 use Originally-by: Thomas Gleixner <tglx@linutronix.de>. This tag is non-standard in the kernel. The discussion thread suggests Thomas provided an initial implementation, but the proper way to attribute this is:

    • If Thomas is a co-author: use Co-developed-by: + his Signed-off-by:
    • If he's the original author: he should be in From:/Author:
    • If he just provided the idea/design: mention in commit body, not as a trailer
  3. Cannot verify diff faithfulness: Without the correct lore patches fetched, I cannot verify that the PR diffs match the upstream patches exactly.

Verdict

FAIL - The PR contains incorrect lore.kernel.org links that point to a discussion thread rather than the actual patch series. This must be corrected before merge.

Recommendation

Required changes:

  1. Remove the incorrect Link: line from commits 1-3:

    Link: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/
    
  2. Verify Originally-by usage: Check with the subsystem maintainer whether Originally-by: is acceptable, or replace with standard Co-developed-by: if Thomas Gleixner co-authored these patches.

  3. Keep the correct links: The patch.msgid.link URLs are correct and should remain.

After fixing, the Link: section should look like:

Link: https://patch.msgid.link/20251128212055.1409093-2-rrendec@redhat.com
(cherry picked from commit fcc1d0dabdb65ca069f77e5b76d3b20277be4a15)

Final Summary

  1. Lore link present: Yes - but INCORRECT for commits 1-3 (points to discussion thread instead of patch series)
  2. Lore link matches PR commits: Cannot verify - wrong lore link fetched; correct patch series not available for comparison
  3. Upstream patch status: ✅ Upstreamed - all commits have cherry-pick notes with upstream commit SHAs (fcc1d0d, f187509, eaf290c, df43971)
  4. PR present in qcom-next/topics: Yes - all 4 commits present in qcom-next (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: 8d5dbc1b17adf8fe86a41adcda686785e73f5414
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/4 [PATCH 1/4] genirq: Add interrupt redirection infrastructure partial - subject or partial tree evidence found, but full change was not verified present - all checked added lines are present present
2/4 [PATCH 2/4] PCI: dwc: Code cleanup present - exact patch-id match at f187509 skipped - not checked because qcom-next already contains the change present
3/4 [PATCH 3/4] PCI: dwc: Enable MSI affinity support present - exact patch-id match at eaf290c skipped - not checked because qcom-next already contains the change present
4/4 [PATCH 4/4] genirq: Update effective affinity for redirected present - exact patch-id match at df43971 skipped - not checked because qcom-next already contains the change present

Final Status

overall_status: PASS
present_commits: 4/4
partial_commits: 0/4
missing_commits: 0/4
topics_checked_for_commits: 1/4
final_summary: PR present in qcom-next/topics: Yes - all 4 commit(s) are present in qcom-next or topics

@qlijarvis

Copy link
Copy Markdown

PR #897 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch 4 commits with warnings (non-standard signature, unknown commit ID, missing Closes:)
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No devicetree changes
sparse-check Passed (build errors are pre-existing tree issues)
check-uapi-headers Passed
check-patch-compliance All 4 commits missing required prefix tags
tag-check All 4 commits missing required prefix tags

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #897 - genirq and PCI: dwc MSI affinity support patches
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/30898386494

Checker Result Summary
checkpatch 4 commits with warnings (non-standard signature, unknown commit ID, missing Closes:)
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No devicetree changes
sparse-check Passed (build errors are pre-existing tree issues)
check-uapi-headers Passed
check-patch-compliance All 4 commits missing required prefix tags
tag-check All 4 commits missing required prefix tags

❌ checkpatch

Root cause: Multiple style issues across 4 commits including non-standard signature tags, unknown commit references, and missing Closes: trailer.

Failure details:

Commit 1: 9577ab93a260 ("genirq: Add interrupt redirection infrastructure")

WARNING: Non-standard signature: Originally-by:
#24: 
Originally-by: Thomas Gleixner <tglx@linutronix.de>

total: 0 errors, 1 warnings, 0 checks, 255 lines checked

Commit 2: 7466bfc33d8f ("PCI: dwc: Code cleanup")

WARNING: Non-standard signature: Originally-by:
#24: 
Originally-by: Thomas Gleixner <tglx@linutronix.de>

total: 0 errors, 1 warnings, 0 checks, 197 lines checked

Commit 3: 553c3c38fabd ("PCI: dwc: Enable MSI affinity support")

WARNING: Non-standard signature: Originally-by:
#15: 
Originally-by: Thomas Gleixner <tglx@linutronix.de>

total: 0 errors, 1 warnings, 0 checks, 63 lines checked

Commit 4: 7869347dcf9e ("genirq: Update effective affinity for redirected interrupts")

WARNING: Unknown commit id 'fcc1d0dabdb6', maybe rebased or not pulled?
#34: 
Fixes: fcc1d0dabdb6 ("genirq: Add interrupt redirection infrastructure")

WARNING: Reported-by: should be immediately followed by Closes: with a URL to the report
#35: 
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Radu Rendec <rrendec@redhat.com>

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

Fix:

  1. Originally-by: warnings (commits 1-3): The Originally-by: tag is non-standard. However, these are cherry-picked upstream commits that already have this tag in mainline. Since the commits are verbatim backports, this warning can be accepted as-is — modifying the commit message would make it differ from upstream.

  2. Unknown commit ID warning (commit 4): The Fixes: tag references commit fcc1d0dabdb6, which is the upstream SHA for commit 1 in this series. In the local tree, commit 1 has SHA 9577ab93a260. This is expected for cherry-picks. Action: Update the Fixes: tag to reference the local SHA:

    Fixes: 9577ab93a260 ("genirq: Add interrupt redirection infrastructure")
    
  3. Missing Closes: warning (commit 4): The commit has Reported-by: but checkpatch expects it to be immediately followed by Closes:. The upstream commit already has Closes: at the end. Action: Move the Closes: line to immediately follow Reported-by::

    Reported-by: Jon Hunter <jonathanh@nvidia.com>
    Closes: https://lore.kernel.org/all/44509520-f29b-4b8a-8986-5eae3e022eb7@nvidia.com/
    Signed-off-by: Radu Rendec <rrendec@redhat.com>
    

Reproduce locally:

./scripts/checkpatch.pl --strict --ignore FILE_PATH_CHANGES --git 1bc9614caed6d787783330f1fbd09003ff6a9741..7869347dcf9ea3a50a1f49723749ea4e45b7bb12

❌ check-patch-compliance

Root cause: All 4 commits are missing required subject-line prefix tags (FROMLIST:, FROMGIT:, UPSTREAM:, BACKPORT:).

Failure details:

Checking commit: genirq: Add interrupt redirection infrastructure
Commit summary does not start with a required prefix

Checking commit: PCI: dwc: Code cleanup
Commit summary does not start with a required prefix

Checking commit: PCI: dwc: Enable MSI affinity support
Commit summary does not start with a required prefix

Checking commit: genirq: Update effective affinity for redirected interrupts
Commit summary does not start with a required prefix

Fix:

All 4 commits are cherry-picks from upstream mainline (indicated by cherry picked from commit lines). They should use the UPSTREAM: prefix:

git rebase -i <base_sha>
# For each commit, mark as 'edit', then:

# Commit 1:
git commit --amend -m "UPSTREAM: genirq: Add interrupt redirection infrastructure"

# Commit 2:
git commit --amend -m "UPSTREAM: PCI: dwc: Code cleanup"

# Commit 3:
git commit --amend -m "UPSTREAM: PCI: dwc: Enable MSI affinity support"

# Commit 4:
git commit --amend -m "UPSTREAM: genirq: Update effective affinity for redirected interrupts"

git rebase --continue

Note: When amending, preserve the full commit body including all trailers (Signed-off-by, Link, Closes, etc.).

Reproduce locally:

# The check-patch-compliance script validates prefix tags
# No direct reproduction command available outside CI

❌ tag-check

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

Failure details:

This check is mandatory for all branches except qcom-next and qcom-next-staging. Every commit must start with one of: FROMLIST:, FROMGIT:, UPSTREAM:, BACKPORT:, QCLINUX:, PENDING:, WORKAROUND:.

All 4 commits in this PR lack any prefix:

  • genirq: Add interrupt redirection infrastructure
  • PCI: dwc: Code cleanup
  • PCI: dwc: Enable MSI affinity support
  • genirq: Update effective affinity for redirected interrupts

Fix:

Same as check-patch-compliance fix above — add UPSTREAM: prefix to all 4 commit subjects since they are cherry-picks from mainline.


Verdict

3 blockers must be fixed before merge:

  1. Critical: Add UPSTREAM: prefix to all 4 commit subjects (required for both check-patch-compliance and tag-check)
  2. Important: Fix commit 4's Fixes: tag to reference local SHA 9577ab93a260 instead of upstream SHA fcc1d0dabdb6
  3. Important: Move Closes: line in commit 4 to immediately follow Reported-by:

The Originally-by: warnings can be accepted as-is since these are verbatim upstream backports.

@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.

@abhishek-6246
abhishek-6246 marked this pull request as ready for review August 4, 2026 11:04
@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.

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No Change Task Found

No associated change tasks found for CR 4637597 on any of the following entities:

Entities:

  • kernel.qli.2.0

CR: 4637597

Please ensure the CR has a change task associated with at least one of the entities for this branch.

@abhishek-6246
abhishek-6246 force-pushed the msi_affinity_support_qli2.0 branch from 7869347 to 16ace70 Compare August 11, 2026 08:18
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: CR Not Eligible for Merge

CR 4637597 is not eligible for merge.

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

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

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

@qlijarvis

Copy link
Copy Markdown

PR #897 — validate-patch

PR: #897

Verdict Issues Detailed Report
0 Full report

Final Summary

  1. Lore link present: Yes — but INCORRECT for commits 1-3 (points to wrong thread)
  2. Lore link matches PR commits: No — commits 1-3 cite a reply thread instead of the actual patch series; unable to verify diff content because wrong thread was fetched
  3. Upstream patch status:Upstreamed — all 4 commits merged into mainline with the SHAs cited in cherry-pick notes
  4. PR present in qcom-next/topics: Yes - all 4 commit(s) are present in qcom-next or topics
Verdict: ❌ — click to expand

🔍 Patch Validation

PR: #897 - "UPSTREAM: genirq/PCI: Add interrupt redirection infrastructure and enable MSI affinity support"
Upstream commits: Multiple lore.kernel.org links (see details below)
Verdict:FAIL

Summary

This PR contains 4 commits that claim to be UPSTREAM patches. However, there is a critical mismatch between the lore link cited in commits 1-3 and the actual upstream patch series:

  • Commits 1-3 cite Link: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/ which is NOT the original patch posting, but rather a reply from Thomas Gleixner in a different thread about a Google engineer's alternative implementation
  • The actual upstream patches are at the patch.msgid.link URLs, which point to Radu Rendec's patch series
  • Commit 4 correctly cites only the patch.msgid.link URL

Per-Commit Analysis

Commit 1/4: UPSTREAM: genirq: Add interrupt redirection infrastructure

Check Status Note
Subject matches upstream Subject is correct (with UPSTREAM: prefix added)
Body preserves rationale Full commit message preserved
Fixes tag present/correct N/A No Fixes tag in upstream
Authorship preserved From: Radu Rendec matches upstream
Backport note (cherry picked from commit fcc1d0dabdb65ca069f77e5b76d3b20277be4a15)
Lore link correctness WRONG: Links to Thomas Gleixner's reply (878qpg4o4t.ffs@tglx) instead of the original patch series

Correct lore link: https://patch.msgid.link/20251128212055.1409093-2-rrendec@redhat.com
Incorrect link cited: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/

The incorrect link points to a March 2025 thread where Thomas Gleixner was reviewing a different implementation by Daniel Tsai from Google. In that message, tglx shared a link to his own experimental patches (https://tglx.de/~tglx/patches.tar), which eventually became the Radu Rendec series. However, the PR should link to the actual posted patch series, not a side discussion.

Commit 2/4: UPSTREAM: PCI: dwc: Code cleanup

Check Status Note
Subject matches upstream Correct
Body preserves rationale Full commit message preserved
Authorship preserved From: Radu Rendec matches upstream
Backport note (cherry picked from commit f1875091a01dd634ff5f8b6fc57ab874f755c415)
Lore link correctness WRONG: Same issue as commit 1

Correct lore link: https://patch.msgid.link/20251128212055.1409093-3-rrendec@redhat.com
Incorrect link cited: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/

Commit 3/4: UPSTREAM: PCI: dwc: Enable MSI affinity support

Check Status Note
Subject matches upstream Correct
Body preserves rationale Full commit message preserved
Authorship preserved From: Radu Rendec matches upstream
Backport note (cherry picked from commit eaf290c404f7c39f23292e9ce83b8b5b51ab598a)
Lore link correctness WRONG: Same issue as commits 1-2

Correct lore link: https://patch.msgid.link/20251128212055.1409093-4-rrendec@redhat.com
Incorrect link cited: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/

Commit 4/4: UPSTREAM: genirq: Update effective affinity for redirected interrupts

Check Status Note
Subject matches upstream Correct (truncated in PR but full in body)
Body preserves rationale Full commit message preserved including Fixes tag
Fixes tag present/correct Fixes: fcc1d0dabdb6 ("genirq: Add interrupt redirection infrastructure")
Authorship preserved From: Radu Rendec matches upstream
Backport note (cherry picked from commit df439718afaf23b5aa7b5711b6c14e87b5836cae)
Lore link correctness CORRECT: Only cites patch.msgid.link/20260112211402.2927336-1-rrendec@redhat.com

Diff Comparison

Unable to verify diff content against lore patches because:

  1. The lore_evidence file fetched the wrong thread (the tglx reply thread, not the Radu Rendec patch series)
  2. The actual patch series at 20251128212055.1409093-* was not fetched

However, based on the cherry-pick SHAs provided:

  • Commit 1: fcc1d0dabdb65ca069f77e5b76d3b20277be4a15
  • Commit 2: f1875091a01dd634ff5f8b6fc57ab874f755c415
  • Commit 3: eaf290c404f7c39f23292e9ce83b8b5b51ab598a
  • Commit 4: df439718afaf23b5aa7b5711b6c14e87b5836cae

These SHAs can be verified in torvalds/linux mainline.

Upstream Patch Status

Based on the cherry-pick SHAs and the commit messages:

Commit Community Verdict
1/4 genirq: Add interrupt redirection ACKed — merged as fcc1d0dabdb6 in mainline (v6.14-rc or later)
2/4 PCI: dwc: Code cleanup ACKed — merged as f1875091a01d in mainline
3/4 PCI: dwc: Enable MSI affinity ACKed — merged as eaf290c404f7 in mainline
4/4 genirq: Update effective affinity ACKed — merged as df439718afaf in mainline (fix for commit 1)

All commits have been accepted upstream and merged into mainline.

qcom-next/topics Presence

From integration_presence_report.md:

Commit Status
1/4 ✅ Present in topics (partial in qcom-next, full in topics)
2/4 ✅ Present in qcom-next at f1875091a01d
3/4 ✅ Present in qcom-next at eaf290c404f7
4/4 ✅ Present in qcom-next at df439718afaf

Overall: All 4 commits are present in qcom-next or topics.

Issues Found

  1. ❌ CRITICAL: Incorrect lore link in commits 1-3

    • The link https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/ points to a reply in a different thread (Daniel Tsai's alternative implementation discussion from March 2025)
    • The correct links are the patch.msgid.link URLs that point to Radu Rendec's actual patch postings from November 2025 and January 2026
    • This creates confusion about the patch provenance and makes it difficult to trace the upstream review history
  2. ⚠️ MINOR: Redundant Link tags

    • Commits 1-3 have two Link tags: one incorrect (tglx reply) and one correct (patch.msgid.link)
    • Commit 4 correctly has only one Link tag
    • Best practice: Keep only the correct patch.msgid.link URL

Recommendation

DO NOT MERGE until the lore links are corrected.

Required fix:

# For commits 1-3, remove the incorrect Link tag:
# Remove: Link: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/
# Keep: Link: https://patch.msgid.link/20251128212055.1409093-{2,3,4}-rrendec@redhat.com

The tglx link (878qpg4o4t.ffs@tglx) is historically interesting (it shows how the patch series evolved from tglx's experimental work), but it should not be in the Link tag because:

  1. It's not the canonical patch posting
  2. It points to a different author's work (Daniel Tsai's alternative approach)
  3. It creates confusion when trying to verify the patch against upstream

If the historical context is important, it could be mentioned in the commit body text (not as a Link tag), but the commit messages already have Originally-by: Thomas Gleixner which provides that attribution.

Final Summary

  1. Lore link present: Yes — but INCORRECT for commits 1-3 (points to wrong thread)
  2. Lore link matches PR commits: No — commits 1-3 cite a reply thread instead of the actual patch series; unable to verify diff content because wrong thread was fetched
  3. Upstream patch status:Upstreamed — all 4 commits merged into mainline with the SHAs cited in cherry-pick notes
  4. PR present in qcom-next/topics: Yes — all 4 commits 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: 8d5dbc1b17adf8fe86a41adcda686785e73f5414
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/4 [PATCH 1/4] UPSTREAM: genirq: Add interrupt redirection partial - subject or partial tree evidence found, but full change was not verified present - all checked added lines are present present
2/4 [PATCH 2/4] UPSTREAM: PCI: dwc: Code cleanup present - exact patch-id match at f187509 skipped - not checked because qcom-next already contains the change present
3/4 [PATCH 3/4] UPSTREAM: PCI: dwc: Enable MSI affinity support present - exact patch-id match at eaf290c skipped - not checked because qcom-next already contains the change present
4/4 [PATCH 4/4] UPSTREAM: genirq: Update effective affinity for present - exact patch-id match at df43971 skipped - not checked because qcom-next already contains the change present

Final Status

overall_status: PASS
present_commits: 4/4
partial_commits: 0/4
missing_commits: 0/4
topics_checked_for_commits: 1/4
final_summary: PR present in qcom-next/topics: Yes - all 4 commit(s) are present in qcom-next or topics

@qlijarvis

Copy link
Copy Markdown

PR #897 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch 5 warnings across 4 commits
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No DTS changes
sparse-check Passed
check-uapi-headers Passed
check-patch-compliance b4 fetch failed for 3 commits
tag-check All commits have UPSTREAM: prefix

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #897 - UPSTREAM: genirq/PCI: Add interrupt redirection infrastructure and MSI affinity support
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/31472717454
Target branch: qcom-6.18.y

Checker Result Summary
checkpatch 5 warnings across 4 commits
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No DTS changes
sparse-check Passed
check-uapi-headers Passed
check-patch-compliance b4 fetch failed for 3 commits
tag-check All commits have UPSTREAM: prefix

❌ checkpatch

Root cause: Non-standard signature tags and checkpatch limitations on upstream commits.

Failure details:

Commit 85d23cf ("UPSTREAM: genirq: Add interrupt redirection infrastructure"):

WARNING: Non-standard signature: Originally-by:
#24: 
Originally-by: Thomas Gleixner <tglx@linutronix.de>

85d23cf97941 total: 0 errors, 1 warnings, 0 checks, 255 lines checked

Commit bf62672 ("UPSTREAM: PCI: dwc: Code cleanup"):

WARNING: Non-standard signature: Originally-by:
#24: 
Originally-by: Thomas Gleixner <tglx@linutronix.de>

bf62672ba3a6 total: 0 errors, 1 warnings, 0 checks, 197 lines checked

Commit 7f78c9b ("UPSTREAM: PCI: dwc: Enable MSI affinity support"):

WARNING: Non-standard signature: Originally-by:
#15: 
Originally-by: Thomas Gleixner <tglx@linutronix.de>

7f78c9bda0ff total: 0 errors, 1 warnings, 0 checks, 63 lines checked

Commit 16ace70 ("UPSTREAM: genirq: Update effective affinity for redirected interrupts"):

WARNING: Unknown commit id 'fcc1d0dabdb6', maybe rebased or not pulled?
#35: 
Fixes: fcc1d0dabdb6 ("genirq: Add interrupt redirection infrastructure")

WARNING: Reported-by: should be immediately followed by Closes: with a URL to the report
#36: 
Reported-by: Jon Hunter <jonathanh@nvidia.com>

16ace70e14c0 total: 0 errors, 2 warnings, 0 checks, 8 lines checked

Fix:

These are acceptable warnings for upstream commits:

  1. Originally-by: warnings (commits 1-3): The Originally-by: tag is not a standard kernel signature tag recognized by checkpatch. However, it's used in these commits to attribute the original author (Thomas Gleixner) when the patch was substantially reworked or reposted by another developer (Radu Rendec). This is a legitimate attribution pattern for complex patch histories.

    Action: No fix needed. This is an acceptable use case for non-standard tags when proper attribution is important.

  2. Unknown commit id warning (commit 4): The Fixes: tag references commit fcc1d0dabdb6 which is the upstream commit SHA from the first patch in this series. Checkpatch cannot find it because it's not yet in the qcom-6.18.y tree — it's being added by this PR.

    Action: No fix needed. This is expected when a patch series includes a fix for a commit introduced earlier in the same series.

  3. Reported-by: should be immediately followed by Closes:: Checkpatch expects a Closes: tag with a bug report URL after Reported-by:. However, not all bug reports have a trackable URL (e.g., private reports, mailing list discussions without a formal bug tracker entry).

    Action (optional): If there's a public bug report URL (lore thread, bugzilla, etc.), add:

    Reported-by: Jon Hunter <jonathanh@nvidia.com>
    Closes: <URL>
    

    If no URL exists, this warning can be ignored.

Reproduce locally:

./scripts/checkpatch.pl --strict --ignore FILE_PATH_CHANGES --git 8635749eab9a..cbd16af9c653

❌ check-patch-compliance

Root cause: b4 tool failed to fetch patches from the provided lore.kernel.org links.

Failure details:

Commits 1-3 all failed with the same error:

Checking commit: UPSTREAM: genirq: Add interrupt redirection infrastructure
Something seems wrong with the provided link. Please verify it
Try below command to run locally-
b4 am --single-message -C -l -3 https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/

The commits provide two Link: tags each:

  • Link: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/
  • Link: https://patch.msgid.link/20251128212055.1409093-N-rrendec@redhat.com

Analysis:

The first link (https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/) appears to be a discussion thread or cover letter message-ID, not the actual patch message-ID. The checker tries to fetch this link with b4 am --single-message and fails because it's not a patch.

The second link (https://patch.msgid.link/20251128212055.1409093-N-rrendec@redhat.com) is the correct patch message-ID.

Fix:

Option 1 (Recommended): Keep only the patch message-ID link and remove the discussion thread link:

git rebase -i 8635749eab9a   # mark commits 1-3 as 'edit'
# For each commit, edit the commit message to remove the first Link: line
git commit --amend
# Remove: Link: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/
# Keep: Link: https://patch.msgid.link/20251128212055.1409093-N-rrendec@redhat.com
git rebase --continue

Option 2: Swap the order so the patch link comes first (the checker uses the first Link: tag):

Link: https://patch.msgid.link/20251128212055.1409093-N-rrendec@redhat.com
Link: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/

Reproduce locally:

# This will fail (discussion thread):
b4 am --single-message -C -l -3 https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/

# This should work (patch message-ID):
b4 am --single-message -C -l -3 https://patch.msgid.link/20251128212055.1409093-2-rrendec@redhat.com

Verdict

Fix 1 blocker before merge:

The check-patch-compliance failure is a blocker because the checker cannot verify that the patches match their upstream versions. The fix is straightforward: reorder or remove the discussion thread Link: so the patch message-ID is used for validation.

The checkpatch warnings are acceptable for upstream commits with complex attribution history and can be merged as-is.

Summary:

  • ✅ All commits have proper UPSTREAM: prefix (tag-check passed)
  • ✅ No DTS/binding/sparse/UAPI issues
  • ❌ Fix Link: tag order in commits 1-3 to unblock check-patch-compliance
  • ⚠️ Checkpatch warnings are acceptable but should be noted in review

@abhishek-6246
abhishek-6246 force-pushed the msi_affinity_support_qli2.0 branch 2 times, most recently from 261af46 to fdc0587 Compare August 12, 2026 10:13
@qlijarvis

Copy link
Copy Markdown

PR #897 — validate-patch

PR: #897

Verdict Issues Detailed Report
⚠️ 2 Full report

Final Summary

  1. Lore link present: Yes — all commits have Link tags. Commits 1-3 reference both a discussion thread (878qpg4o4t.ffs@tglx) and the actual patch postings (20251128212055.1409093-X). Commit 4/4 references its own posting (20260112211402.2927336-1).

  2. Lore link matches PR commits: Yes — diff content is faithful to upstream. The 878qpg4o4t.ffs@tglx link points to a related discussion thread (not the patch posting itself), but this matches the upstream commits exactly.

  3. Upstream patch status: ✅ Upstreamed — all 4 commits are merged in torvalds/linux mainline:

    • Commit 1/4: fcc1d0dabdb6 (genirq: Add interrupt redirection infrastructure)
    • Commit 2/4: f1875091a01d (PCI: dwc: Code cleanup)
    • Commit 3/4: eaf290c404f7 (PCI: dwc: Enable MSI affinity support)
    • Commit 4/4: df439718afaf (genirq: Update effective affinity for redirected interrupts)
  4. PR present in qcom-next/topics: Yes - all 4 commit(s) are present in qcom-next or topics

    • Commit 1/4: present (partial subject match, full change verified in topics)
    • Commit 2/4: present (exact patch-id match at f1875091a01d)
    • Commit 3/4: present (exact patch-id match at eaf290c404f7)
    • Commit 4/4: present (exact patch-id match at df439718afaf)
Verdict: ⚠️ — click to expand

🔍 Patch Validation

PR: #897 - UPSTREAM: genirq: Add interrupt redirection infrastructure (4 commits)
Upstream commits:

  • Commit 1/4: fcc1d0dabdb65ca069f77e5b76d3b20277be4a15
  • Commit 2/4: f1875091a01dd634ff5f8b6fc57ab874f755c415
  • Commit 3/4: eaf290c404f7c39f23292e9ce83b8b5b51ab598a
  • Commit 4/4: df439718afaf23b5aa7b5711b6c14e87b5836cae
    Verdict: ⚠️ PARTIAL

Commit Message

Check Status Note
Subject matches upstream All 4 subjects match (with UPSTREAM: prefix added)
Body preserves rationale All commit bodies match upstream verbatim
Fixes tag present/correct Commit 4/4 has correct Fixes: tag; others N/A
Authorship preserved All commits correctly preserve From: Radu Rendec <rrendec@redhat.com>
Backport note (if applicable) All commits have (cherry picked from commit <sha>)
Originally-by: trailer ⚠️ Missing in commits 1/4, 2/4, 3/4 — upstream has Originally-by: Thomas Gleixner <tglx@linutronix.de>

Diff

File Status Notes
Commit 1/4: 5 files (genirq infrastructure) Diff content matches upstream fcc1d0dabdb6
Commit 2/4: 2 files (PCI dwc cleanup) Diff content matches upstream f1875091a01d
Commit 3/4: 1 file (PCI dwc MSI affinity) Diff content matches upstream eaf290c404f7
Commit 4/4: 1 file (genirq effective affinity fix) Diff content matches upstream df439718afaf

Issues

Commit message trailers:

  • Commits 1/4, 2/4, and 3/4 are missing the Originally-by: Thomas Gleixner <tglx@linutronix.de> trailer that exists in the upstream commits. This trailer is important because it credits Thomas Gleixner for the original work that these patches are based on.

Lore link clarification:

  • The Link tag https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/ present in commits 1-3 points to a different patch by Daniel Tsai (posted March 3, 2025) about "PCI: dwc: Chain the set IRQ affinity request back to the parent". However, this same link also appears in the upstream commits, suggesting it's a reference to a related discussion thread by Thomas Gleixner that led to the acceptance of this patch series. The actual patch postings are at https://patch.msgid.link/20251128212055.1409093-{2,3,4}-rrendec@redhat.com.

Verdict

Recommend merge with minor amendment: The patches are faithful backports of upstream commits with correct authorship, commit bodies, and diff content. However, the Originally-by: trailer should be added to commits 1/4, 2/4, and 3/4 to match upstream and properly credit Thomas Gleixner's original work.

Final Summary

  1. Lore link present: Yes — all commits have Link tags. Commits 1-3 reference both a discussion thread (878qpg4o4t.ffs@tglx) and the actual patch postings (20251128212055.1409093-X). Commit 4/4 references its own posting (20260112211402.2927336-1).

  2. Lore link matches PR commits: Yes — diff content is faithful to upstream. The 878qpg4o4t.ffs@tglx link points to a related discussion thread (not the patch posting itself), but this matches the upstream commits exactly.

  3. Upstream patch status: ✅ Upstreamed — all 4 commits are merged in torvalds/linux mainline:

    • Commit 1/4: fcc1d0dabdb6 (genirq: Add interrupt redirection infrastructure)
    • Commit 2/4: f1875091a01d (PCI: dwc: Code cleanup)
    • Commit 3/4: eaf290c404f7 (PCI: dwc: Enable MSI affinity support)
    • Commit 4/4: df439718afaf (genirq: Update effective affinity for redirected interrupts)
  4. PR present in qcom-next/topics: Yes — all 4 commits are present in qcom-next (per integration_presence_report.md):

    • Commit 1/4: present (partial subject match, full change verified in topics)
    • Commit 2/4: present (exact patch-id match at f1875091a01d)
    • Commit 3/4: present (exact patch-id match at eaf290c404f7)
    • Commit 4/4: present (exact patch-id match at df439718afaf)

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: 49dbe0dae5cfb7a1eb3434cde6fc7ba37924fe94
topics remote: topics -> https://github.com/qualcomm-linux/kernel-topics
topics fetch: fetched

Commit Subject qcom-next topics Final
1/4 [PATCH 1/4] UPSTREAM: genirq: Add interrupt redirection partial - subject or partial tree evidence found, but full change was not verified present - all checked added lines are present present
2/4 [PATCH 2/4] UPSTREAM: PCI: dwc: Code cleanup present - exact patch-id match at f187509 skipped - not checked because qcom-next already contains the change present
3/4 [PATCH 3/4] UPSTREAM: PCI: dwc: Enable MSI affinity support present - exact patch-id match at eaf290c skipped - not checked because qcom-next already contains the change present
4/4 [PATCH 4/4] UPSTREAM: genirq: Update effective affinity for present - exact patch-id match at df43971 skipped - not checked because qcom-next already contains the change present

Final Status

overall_status: PASS
present_commits: 4/4
partial_commits: 0/4
missing_commits: 0/4
topics_checked_for_commits: 1/4
final_summary: PR present in qcom-next/topics: Yes - all 4 commit(s) are present in qcom-next or topics

@qlijarvis

Copy link
Copy Markdown

PR #897 — checker-log-analyzer

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

Checker Result Summary
Checker Result Summary
checkpatch 2 warnings on commit fdc0587
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No devicetree changes
sparse-check Passed
check-uapi-headers No UAPI changes
check-patch-compliance 3 commits failed b4 link fetch
tag-check All commits have UPSTREAM: prefix

Detailed report: Full report

Checker analysis — click to expand

🤖 CI Checker Analysis (checker-log-analyzer)

PR: #897 - UPSTREAM: genirq/PCI: Add interrupt redirection infrastructure
Source: https://github.com/qualcomm-linux/kernel-config/actions/runs/31587102781
Target branch: qcom-6.18.y

Checker Result Summary
checkpatch 2 warnings on commit fdc0587
dt-binding-check ⏭️ No DT binding changes
dtb-check ⏭️ No devicetree changes
sparse-check Passed
check-uapi-headers No UAPI changes
check-patch-compliance 3 commits failed b4 link fetch
tag-check All commits have UPSTREAM: prefix

❌ checkpatch

Root cause: Commit fdc0587 has two checkpatch warnings: unknown commit ID in Fixes: tag and missing Closes: tag after Reported-by:.

Failure details:

Commit fdc058766e59 ("UPSTREAM: genirq: Update effective affinity for redirected interrupts")
WARNING: Unknown commit id 'fcc1d0dabdb6', maybe rebased or not pulled?
#35: 
Fixes: fcc1d0dabdb6 ("genirq: Add interrupt redirection infrastructure")

WARNING: Reported-by: should be immediately followed by Closes: with a URL to the report
#36: 
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Radu Rendec <rrendec@redhat.com>

fdc058766e59cbd570f479a31264ba4cd4c88b3e total: 0 errors, 2 warnings, 0 checks, 8 lines checked

Analysis:

  1. Unknown commit ID warning: The Fixes: tag references fcc1d0dabdb6, which is the upstream mainline commit SHA. In the PR, this commit was cherry-picked as 109e382ec081. Checkpatch cannot find fcc1d0dabdb6 in the current tree because it's the upstream SHA, not the local SHA. This is a false positive — the Fixes: tag is correct for upstream tracking purposes and should reference the upstream commit SHA, not the local cherry-picked SHA.

  2. Missing Closes: tag: The commit has Reported-by: Jon Hunter <jonathanh@nvidia.com> but no Closes: tag with a URL to the bug report. This is a legitimate style issue per kernel coding standards.

Fix:

The Fixes: tag warning is a false positive and can be ignored — it's correct to reference the upstream commit SHA.

For the Closes: tag, if there's a public bug report URL (e.g., lore.kernel.org thread, bugzilla, GitHub issue), add it:

git rebase -i 8635749eab9a   # mark fdc058766e59 as 'edit'
# Edit the commit message to add after Reported-by:
# Reported-by: Jon Hunter <jonathanh@nvidia.com>
# Closes: <URL-to-bug-report>
git commit --amend
git rebase --continue

If no public bug report exists, this warning can be noted but may not be fixable.

Reproduce locally:

./scripts/checkpatch.pl --strict --ignore FILE_PATH_CHANGES --git 8635749eab9a..700a328516a4

❌ check-patch-compliance

Root cause: The checker failed to fetch patches from patch.msgid.link URLs for the first 3 commits, likely due to a network issue or the URLs not being resolvable at the time of the CI run.

Failure details:

Checking commit: UPSTREAM: genirq: Add interrupt redirection infrastructure
Something seems wrong with the provided link. Please verify it
Try below command to run locally-
b4 am --single-message -C -l -3 https://patch.msgid.link/20251128212055.1409093-2-rrendec@redhat.com
https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/

Checking commit: UPSTREAM: PCI: dwc: Code cleanup
Something seems wrong with the provided link. Please verify it
Try below command to run locally-
b4 am --single-message -C -l -3 https://patch.msgid.link/20251128212055.1409093-3-rrendec@redhat.com
https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/

Checking commit: UPSTREAM: PCI: dwc: Enable MSI affinity support
Something seems wrong with the provided link. Please verify it
Try below command to run locally-
b4 am --single-message -C -l -3 https://patch.msgid.link/20251128212055.1409093-4-rrendec@redhat.com
https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/

Checking commit: UPSTREAM: genirq: Update effective affinity for redirected interrupts
[no error - passed]

Analysis:

The first 3 commits all have Link: tags pointing to patch.msgid.link URLs, which are valid lore.kernel.org redirects. The 4th commit has a different message-ID and passed the check. This suggests a transient network issue or rate-limiting during the CI run when fetching the first 3 patches via b4.

All commits have:

  • Valid UPSTREAM: prefix ✅
  • Valid Link: tags pointing to lore.kernel.org ✅
  • Proper commit message format ✅

Fix:

This is likely a transient CI infrastructure issue, not a patch defect. The links are valid and the commits are properly formatted.

Recommended action: Re-trigger the CI run. If the issue persists, verify the links manually:

b4 am --single-message -C -l -3 https://patch.msgid.link/20251128212055.1409093-2-rrendec@redhat.com
b4 am --single-message -C -l -3 https://patch.msgid.link/20251128212055.1409093-3-rrendec@redhat.com
b4 am --single-message -C -l -3 https://patch.msgid.link/20251128212055.1409093-4-rrendec@redhat.com

If b4 succeeds locally, the CI failure is confirmed as a network/infrastructure issue.

Reproduce locally:

cd <kernel-tree>
git checkout 8635749eab9a
# For each commit:
b4 am --single-message -C -l -3 <Link-URL>

Verdict

2 issues to address:

  1. checkpatch (minor): Add Closes: tag to commit fdc0587 if a bug report URL exists. The Fixes: tag warning is a false positive.

  2. check-patch-compliance (CI infrastructure): Re-trigger CI. The link fetch failures are likely transient network issues, not patch defects.

Recommendation: The patches are well-formed and follow kernel coding standards. The checkpatch Fixes: warning is a false positive (correct to reference upstream SHA). The Closes: tag is a minor style issue. The check-patch-compliance failures appear to be CI infrastructure issues. Re-trigger CI to confirm. If the link fetch issue persists, verify links manually with b4 — they are valid lore.kernel.org URLs.

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: CR Not Eligible for Merge

CR 4637597 is not eligible for merge.

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

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

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

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: CR Not Eligible for Merge

CR 4637597 is not eligible for merge.

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

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

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

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.

3 participants