** Changed in: linux-bluefield (Ubuntu)
     Assignee: (unassigned) => Kuba Pawlak (kuba-t-pawlak)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/2119569

Title:
  gpio_mlxbf2: error getting IRQ for instance 1 and 2

Status in linux-bluefield package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2119569/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to