mbox series

[v3,0/5] Fix some issues related to an interrupt type in pci_endpoint_test

Message ID 20250210075812.3900646-1-hayashi.kunihiko@socionext.com (mailing list archive)
Headers show
Series Fix some issues related to an interrupt type in pci_endpoint_test | expand

Message

Kunihiko Hayashi Feb. 10, 2025, 7:58 a.m. UTC
This series solves some issues about global "irq_type" that is used for
indicating the current type for users.

In addition, avoid an unexpected warning that occur due to interrupts
remaining after displaying an error caused by devm_request_irq().

Patch 1-3 include fixes for stable kernels that have global "irq_type".
Patch 4-5 include improvements for the latest.

Changes since v2:
- Rebase to v6.14-rc1
- Update message to clarify, and add result of call trace (patch 1)
- Add Reviewed-by: lines (patch 2)
- Add new patch to remove global "irq_type" variable (patch 4)
- Add new patch to replace "devm" version of IRQ functions (patch 5)

Changes since v1:
- Divide original patch into two
- Add an error message example
- Add "pcitest" display example
- Add a patch to fix an interrupt remaining issue

Kunihiko Hayashi (5):
  misc: pci_endpoint_test: Avoid issue of interrupts remaining after
    request_irq error
  misc: pci_endpoint_test: Fix disyplaying irq_type after request_irq
    error
  misc: pci_endpoint_test: Fix irq_type to convey the correct type
  misc: pci_endpoint_test: Remove global irq_type
  misc: pci_endpoint_test: Do not use managed irq functions

 drivers/misc/pci_endpoint_test.c | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)