[24.04_linux-nvidia-6.17-next] PCI: mirror PI7C9X3G606GPC Port 4 BAR0#442
[24.04_linux-nvidia-6.17-next] PCI: mirror PI7C9X3G606GPC Port 4 BAR0#442nirmoy wants to merge 1 commit into
Conversation
Some Pericom/Diodes PI7C9X3G606GPC switches require downstream Port 4 BAR0 to mirror the upstream port BAR0. Firmware may apply this during boot, but Linux PCI resource assignment can move the upstream BAR0 and leave Port 4 without the required mirror. Add a final and resume quirk for downstream Port 4. The quirk verifies that the immediate upstream bridge is the same switch, then writes Port 4 BAR0 from the upstream BAR0 after resource assignment and after resume. Port 4 BAR0 may read back as zero even after a successful write, so the write must be validated by platform-specific means. BugLink: https://nvbugspro.nvidia.com/bug/6205517 BugLink: https://nvbugspro.nvidia.com/bug/6134331 Signed-off-by: Nirmoy Das <nirmoyd@nvidia.com>
44e1553 to
31881cf
Compare
Boro reviewLatest watcher review: open review Head: This comment is maintained by nv-pr-bot. It is updated when the GitHub watcher publishes a newer review. |
PR Validation ReportPatchscan ✅ No Missing FixesAll cherry-picked commits checked — no missing upstream fixes found. PR Lint ❌ Errors foundDetailsChecking 1 commits... Cherry-pick digest: ┌──────────────┬──────────────────────────────────────────────────────────────────┬────────────┬─────────┬───────────────────────────┐ │ Local │ Referenced upstream / Patch subject │ Patch-ID │ Subject │ SoB chain │ ├──────────────┼──────────────────────────────────────────────────────────────────┼────────────┼─────────┼───────────────────────────┤ │ 31881cfa3dda │ [SAUCE] pci: quirks: mirror pi7c9x3g606gpc port 4 bar0 │ N/A │ N/A │ nirmoyd │ └──────────────┴──────────────────────────────────────────────────────────────────┴────────────┴─────────┴───────────────────────────┘ Lint: all checks passed. PR metadata: E: PR targets 24.04_linux-nvidia-6.17-next but body has no https://bugs.launchpad.net/... link |
|
Does this PR need to be applied to the 6.18 reference kernel as well? |
|
Do you have tests (scripts) which can verify this patch set is applied and working? |
Yes, we need that for 6.18 too. I will create a PR for that as well
|
So if the patch is not applied to the kernel that message will not be in the dmesg. We should have a test that verifies that message is in the dmesg or the test should fail that the patch has not been applied, correct? |
Yes, ACK we should have a test may be a greenlit one to check the dmesg to verify the patch. |
Summary
Validation
Fresh validation with the exact rebased PR package set is still pending.
References
BugLink: https://nvbugspro.nvidia.com/bug/6205517
BugLink: https://nvbugspro.nvidia.com/bug/6134331
Test artifacts: http://baseos-internal-tools.nvidia.com:8003/