APPLIED: [SRU][J:linux-bluefield][PATCH v1 0/1] gpio_mlxbf2: error getting IRQ for instance 1 and 2
Kuba Pawlak
kuba.pawlak at canonical.com
Tue Aug 19 17:02:42 UTC 2025
On 5.08.2025 22:37, David Thompson wrote:
> BugLink: https://bugs.launchpad.net/bugs/2119569
>
> SRU Justification:
>
> [Impact]
> The gpio-mlxbf2 driver interfaces with four GPIO controllers,
> device instances 0-3. There are two IRQ resources shared between
> the four controllers, and they are found in the ACPI table for
> instances 0 and 3. The driver should not use platform_get_irq(),
> otherwise this error is logged when probing instances 1 and 2:
> mlxbf2_gpio MLNXBF22:01: error -ENXIO: IRQ index 0 not found
>
> [Fix]
> The fix is to cherry pick the following upstream patch:
> 63c7bc53a35e gpio: mlxbf2: use platform_get_irq_optional()
> which makes use of the "platform_get_irq_optional()" API.
>
> [Test Case]
> * Boot BlueField-2 platform with software containing fix
> * Verify that gpio-mlxbf2 module is loaded properly
> * Check the kernel log via dmesg for proper messages from gpio subsystem
> * Verify that there are no error logs caused by gpio-mlxbf2
> * Reboot several times and keep checking log
>
> [Regression Potential]
> This fix is upstreamed and tested well.
>
> David Thompson (1):
> gpio: mlxbf2: use platform_get_irq_optional()
>
> drivers/gpio/gpio-mlxbf2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied-by: Kuba Pawlak <kuba.pawlak at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x216A9D7E3B63DCB4.asc
Type: application/pgp-keys
Size: 3139 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250819/e7920f80/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250819/e7920f80/attachment.sig>
More information about the kernel-team
mailing list