diff options
| author | Niklas Neronin <[email protected]> | 2025-08-19 12:58:44 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-08-19 14:12:13 +0000 |
| commit | ff9a09b3e09c7b794b56f2f5858f5ce42ba46cb3 (patch) | |
| tree | 6cf4617f72e51958bbe65ce22644cd3d1be9b9f5 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | usb: xhci: Fix slot_id resource race conflict (diff) | |
| download | kernel-ff9a09b3e09c7b794b56f2f5858f5ce42ba46cb3.tar.gz kernel-ff9a09b3e09c7b794b56f2f5858f5ce42ba46cb3.zip | |
usb: xhci: fix host not responding after suspend and resume
Partially revert commit e1db856bd288 ("usb: xhci: remove '0' write to
write-1-to-clear register") because the patch cleared the Interrupt Pending
bit during interrupt enabling and disabling. The Interrupt Pending bit
should only be cleared when the driver has handled the interrupt.
Ideally, all interrupts should be handled before disabling the interrupt;
consequently, no interrupt should be pending when enabling the interrupt.
For this reason, keep the debug message informing if an interrupt is still
pending when an interrupt is disabled.
Because the Interrupt Pending bit is write-1-to-clear, writing '0' to it
ensures that the state does not change.
Link: https://lore.kernel.org/linux-usb/20250818231103.672ec7ed@foxbook
Fixes: e1db856bd288 ("usb: xhci: remove '0' write to write-1-to-clear register")
Closes: https://bbs.archlinux.org/viewtopic.php?id=307641
cc: [email protected] # 6.16+
Signed-off-by: Niklas Neronin <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
