Public bug reported:
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.
** Affects: linux-bluefield (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2119569
Title:
gpio_mlxbf2: error getting IRQ for instance 1 and 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2119569/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs