Public bug reported:

Commit 5467801f1fcb ("gpio: Restrict usage of GPIO chip irq members
before initialization") attempted to fix a race condition that lead to a
NULL pointer, but in the process caused a regression for _AEI/_EVT
declared GPIOs.

This manifests in messages showing deferred probing while trying to
allocate IRQs like so:

  amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err -517
  amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x002C to IRQ, err -517
  amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x003D to IRQ, err -517
  [ .. more of the same .. ]

The code for walking _AEI doesn't handle deferred probing and so this
leads to non-functional GPIO interrupts.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete

** Affects: linux-oem-5.14 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-oem-5.17 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err
  -517

Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.14 package in Ubuntu:
  New
Status in linux-oem-5.17 package in Ubuntu:
  New

Bug description:
  Commit 5467801f1fcb ("gpio: Restrict usage of GPIO chip irq members
  before initialization") attempted to fix a race condition that lead to
  a NULL pointer, but in the process caused a regression for _AEI/_EVT
  declared GPIOs.

  This manifests in messages showing deferred probing while trying to
  allocate IRQs like so:

    amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err -517
    amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x002C to IRQ, err -517
    amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x003D to IRQ, err -517
    [ .. more of the same .. ]

  The code for walking _AEI doesn't handle deferred probing and so this
  leads to non-functional GPIO interrupts.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to