public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/6] Fix some issues related to an interrupt type in pci_endpoint_test
@ 2025-02-25 11:02 Kunihiko Hayashi
  2025-02-25 11:02 ` [PATCH v4 1/6] selftests: pci_endpoint: Add GET_IRQTYPE checks to each interrupt test Kunihiko Hayashi
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Kunihiko Hayashi @ 2025-02-25 11:02 UTC (permalink / raw)
  To: Manivannan Sadhasivam, Krzysztof Wilczynski,
	Kishon Vijay Abraham I, Arnd Bergmann, Greg Kroah-Hartman,
	Lorenzo Pieralisi, Gustavo Pimentel, Bjorn Helgaas, Shuah Khan
  Cc: linux-pci, linux-kernel, linux-kselftest, Kunihiko Hayashi

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 includes adding GET_IRQTYPE test (check for failure).
Patch 2-4 include fixes for stable kernels that have global "irq_type".
Patch 5-6 include improvements for the latest.

Changes since v3:
- Add GET_IRQTYPE check to pci_endpoint test in selftests
- Add the reason why global variables aren't necessary (patch 5/6)
- Add Reviewed-by: lines (patch {2, 4, 6}/6)

Changes since v2:
- Rebase to v6.14-rc1
- Update message to clarify, and add result of call trace (patch 1/5)
- Add Reviewed-by: lines (patch 2/5)
- Add new patch to remove global "irq_type" variable (patch 4/5)
- Add new patch to replace "devm" version of IRQ functions (patch 5/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 (6):
  selftests: pci_endpoint: Add GET_IRQTYPE checks to each interrupt test
  misc: pci_endpoint_test: Avoid issue of interrupts remaining after
    request_irq error
  misc: pci_endpoint_test: Fix displaying 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' and 'no_msi'
  misc: pci_endpoint_test: Do not use managed irq functions

 drivers/misc/pci_endpoint_test.c              | 31 +++++++------------
 .../pci_endpoint/pci_endpoint_test.c          | 11 ++++++-
 2 files changed, 21 insertions(+), 21 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-03-13 17:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 11:02 [PATCH v4 0/6] Fix some issues related to an interrupt type in pci_endpoint_test Kunihiko Hayashi
2025-02-25 11:02 ` [PATCH v4 1/6] selftests: pci_endpoint: Add GET_IRQTYPE checks to each interrupt test Kunihiko Hayashi
2025-02-25 11:02 ` [PATCH v4 2/6] misc: pci_endpoint_test: Avoid issue of interrupts remaining after request_irq error Kunihiko Hayashi
2025-02-25 11:02 ` [PATCH v4 3/6] misc: pci_endpoint_test: Fix displaying irq_type " Kunihiko Hayashi
2025-02-25 11:02 ` [PATCH v4 4/6] misc: pci_endpoint_test: Fix irq_type to convey the correct type Kunihiko Hayashi
2025-03-13 17:00   ` Manivannan Sadhasivam
2025-02-25 11:02 ` [PATCH v4 5/6] misc: pci_endpoint_test: Remove global 'irq_type' and 'no_msi' Kunihiko Hayashi
2025-02-25 11:13   ` Arnd Bergmann
2025-03-13 17:00   ` Manivannan Sadhasivam
2025-02-25 11:02 ` [PATCH v4 6/6] misc: pci_endpoint_test: Do not use managed irq functions Kunihiko Hayashi
2025-02-25 11:15   ` Arnd Bergmann
2025-03-05 18:18 ` [PATCH v4 0/6] Fix some issues related to an interrupt type in pci_endpoint_test Krzysztof Wilczynski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox