From: sashiko-bot@kernel.org
To: "Krishna Chaitanya Chundru" <krishna.chundru@oss.qualcomm.com>
Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org,
linux-phy@lists.infradead.org, robh@kernel.org,
conor+dt@kernel.org, vkoul@kernel.org, neil.armstrong@linaro.org,
olteanv@gmail.com
Subject: Re: [PATCH 01/11] PCI: epf-mhi: Pass the actual number of MSI vectors to pci_epc_set_msi()
Date: Sun, 22 Nov 2026 03:03:08 +0000 [thread overview]
Message-ID: <sashiko-outbox-227654@kernel.org> (raw)
In-Reply-To: <20261122-nord_ep-v1-1-6d8839ffa9aa@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] PCI: epf-mhi: wrong Fixes tag and attribution for
pci_epc_set_msi() bug
--
commit 65569d8fa7d0b7d1c73f3c6a6921db637279c429
Author: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
> PCI: epf-mhi: Pass the actual number of MSI vectors to pci_epc_set_msi()
>
> Since commit f62da6e7270c ("PCI: endpoint: Align pci_epc_set_msi(),
> pci_epc_ops::set_msi() nr_irqs encoding"), pci_epc_set_msi() takes the
> number of MSI interrupts directly; the controller driver encodes it into
> the Multiple Message Capable field.
>
> The MHI function driver still passes order_base_2(info->msi_count), which
> is now encoded a second time: for msi_count = 32 the controller advertises
> only 8 MSI vectors instead of 32.
>
> Pass info->msi_count directly.
>
> Fixes: f62da6e7270c ("PCI: endpoint: Align pci_epc_set_msi(), pci_epc_ops::set_msi() nr_irqs encoding")
> Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
[Severity: Low]
Prior to commit f62da6e7270c ("PCI: endpoint: Align pci_epc_set_msi(),
pci_epc_ops::set_msi() nr_irqs encoding"), pci_epc_set_msi() already
took the unencoded number of interrupts (1..32) and called
order_base_2() internally before invoking epc->ops->set_msi(); that
commit only moved the order_base_2() call into the controller drivers.
The double order_base_2() encoding in pci_epf_mhi_epc_init() has been
present since the driver was added, and pointing Fixes: at f62da6e7270c
("PCI: endpoint: Align pci_epc_set_msi(), pci_epc_ops::set_msi() nr_irqs
encoding") (which is marked stable+noautosel) prevents older stable
trees from picking up this fix. Should the commit message and Fixes:
tag instead reference the commit that introduced the driver:
Fixes: 1bf5f25324f7 ("PCI: endpoint: Add PCI Endpoint function driver for MHI bus")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261122-nord_ep-v1-0-6d8839ffa9aa@oss.qualcomm.com?part=1
WARNING: multiple messages have this Message-ID (diff)
From: sashiko-bot@kernel.org
To: "Krishna Chaitanya Chundru" <krishna.chundru@oss.qualcomm.com>
Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org,
linux-phy@lists.infradead.org, robh@kernel.org,
conor+dt@kernel.org, vkoul@kernel.org, neil.armstrong@linaro.org,
olteanv@gmail.com
Subject: Re: [PATCH 01/11] PCI: epf-mhi: Pass the actual number of MSI vectors to pci_epc_set_msi()
Date: Sun, 22 Nov 2026 03:03:08 +0000 [thread overview]
Message-ID: <sashiko-outbox-227654@kernel.org> (raw)
In-Reply-To: <20261122-nord_ep-v1-1-6d8839ffa9aa@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] PCI: epf-mhi: wrong Fixes tag and attribution for
pci_epc_set_msi() bug
--
commit 65569d8fa7d0b7d1c73f3c6a6921db637279c429
Author: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
> PCI: epf-mhi: Pass the actual number of MSI vectors to pci_epc_set_msi()
>
> Since commit f62da6e7270c ("PCI: endpoint: Align pci_epc_set_msi(),
> pci_epc_ops::set_msi() nr_irqs encoding"), pci_epc_set_msi() takes the
> number of MSI interrupts directly; the controller driver encodes it into
> the Multiple Message Capable field.
>
> The MHI function driver still passes order_base_2(info->msi_count), which
> is now encoded a second time: for msi_count = 32 the controller advertises
> only 8 MSI vectors instead of 32.
>
> Pass info->msi_count directly.
>
> Fixes: f62da6e7270c ("PCI: endpoint: Align pci_epc_set_msi(), pci_epc_ops::set_msi() nr_irqs encoding")
> Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
[Severity: Low]
Prior to commit f62da6e7270c ("PCI: endpoint: Align pci_epc_set_msi(),
pci_epc_ops::set_msi() nr_irqs encoding"), pci_epc_set_msi() already
took the unencoded number of interrupts (1..32) and called
order_base_2() internally before invoking epc->ops->set_msi(); that
commit only moved the order_base_2() call into the controller drivers.
The double order_base_2() encoding in pci_epf_mhi_epc_init() has been
present since the driver was added, and pointing Fixes: at f62da6e7270c
("PCI: endpoint: Align pci_epc_set_msi(), pci_epc_ops::set_msi() nr_irqs
encoding") (which is marked stable+noautosel) prevents older stable
trees from picking up this fix. Should the commit message and Fixes:
tag instead reference the commit that introduced the driver:
Fixes: 1bf5f25324f7 ("PCI: endpoint: Add PCI Endpoint function driver for MHI bus")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261122-nord_ep-v1-0-6d8839ffa9aa@oss.qualcomm.com?part=1
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2026-11-22 3:03 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 2:56 [PATCH 00/11] PCI: qcom-ep: Add Nord PCIe Endpoint controller support Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-22 2:56 ` [PATCH 01/11] PCI: epf-mhi: Pass the actual number of MSI vectors to pci_epc_set_msi() Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-22 3:03 ` sashiko-bot [this message]
2026-11-22 3:03 ` sashiko-bot
2026-11-23 10:03 ` Niklas Cassel
2026-11-23 10:03 ` Niklas Cassel
2026-11-22 2:56 ` [PATCH 02/11] PCI: qcom-ep: Add MSI-X support Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-22 3:08 ` sashiko-bot
2026-11-22 3:08 ` sashiko-bot
2026-11-23 16:41 ` Frank Li
2026-11-23 16:41 ` Frank Li
2026-11-22 2:56 ` [PATCH 03/11] PCI: epf-mhi: " Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-22 3:15 ` sashiko-bot
2026-11-22 3:15 ` sashiko-bot
2026-11-23 16:48 ` Frank Li
2026-11-23 16:48 ` Frank Li
2026-11-22 2:56 ` [PATCH 04/11] PCI: dwc: Preserve glue-provided eDMA HDMA channel separation Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-23 16:49 ` Frank Li
2026-11-23 16:49 ` Frank Li
2026-11-22 2:56 ` [PATCH 05/11] phy: qcom: qmp-pcie: Add PCIe endpoint mode support Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-23 16:56 ` Frank Li
2026-11-23 16:56 ` Frank Li
2026-11-22 2:56 ` [PATCH 06/11] phy: qcom: qmp-pcie: Add Nord endpoint mode init sequences Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-23 16:57 ` Frank Li
2026-11-23 16:57 ` Frank Li
2026-11-22 2:56 ` [PATCH 07/11] dt-bindings: PCI: qcom-ep: Add Nord PCIe Endpoint Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-22 2:56 ` [PATCH 08/11] PCI: qcom-ep: Add Nord PCIe Endpoint controller support Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-22 3:08 ` sashiko-bot
2026-11-22 3:08 ` sashiko-bot
2026-11-23 17:12 ` Frank Li
2026-11-23 17:12 ` Frank Li
2026-11-22 2:56 ` [PATCH 09/11] PCI: epf-mhi: Add Nord endpoint support Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-22 2:56 ` [PATCH 10/11] bus: mhi: host: pci_generic: Add support for Qualcomm Nord Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-22 3:19 ` sashiko-bot
2026-11-22 3:19 ` sashiko-bot
2026-11-23 17:19 ` Frank Li
2026-11-23 17:19 ` Frank Li
2026-11-22 2:56 ` [PATCH 11/11] arm64: dts: qcom: nord: Add PCIe endpoint nodes Krishna Chaitanya Chundru
2026-11-22 2:56 ` Krishna Chaitanya Chundru
2026-11-22 3:17 ` sashiko-bot
2026-11-22 3:17 ` sashiko-bot
2026-11-22 3:19 ` [PATCH 00/11] PCI: qcom-ep: Add Nord PCIe Endpoint controller support sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-227654@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krishna.chundru@oss.qualcomm.com \
--cc=linux-pci@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=olteanv@gmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.