Philipp Stanner 25216afc9d PCI: Add managed pcim_intx()
pci_intx() is a "hybrid" function, i.e., it is managed if
pcim_enable_device() has been called, but unmanaged otherwise.

Add pcim_intx(), which is always managed, and implement pci_intx() using
it.

Remove the now-unused struct pci_devres.orig_intx and .restore_intx and
find_pci_dr().

Link: https://lore.kernel.org/r/20240613115032.29098-11-pstanner@redhat.com
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
[kwilczynski: squashed in
https://lore.kernel.org/r/426645d40776198e0fcc942f4a6cac4433c7a9aa.camel@redhat.com
to fix problem reported and tested by Ashish Kalra <Ashish.Kalra@amd.com>:
https://lore.kernel.org/r/20240708214656.4721-1-Ashish.Kalra@amd.com
https://lore.kernel.org/r/8c4634e9-4f02-4c54-9c89-d75e2f4bf026@amd.com/]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2024-07-11 16:20:01 -05:00
..
2024-05-16 18:14:13 -05:00
2024-05-16 18:14:14 -05:00
2024-05-21 10:09:28 -07:00
2024-05-16 18:14:14 -05:00
2023-10-24 16:55:45 -05:00
2024-07-11 16:20:01 -05:00
2024-04-09 09:33:15 -05:00
2024-07-10 04:20:01 +00:00
2024-02-12 10:35:40 -06:00
2024-03-12 12:14:23 -05:00
2023-10-28 13:30:59 -05:00
2024-03-12 12:14:24 -05:00
2024-07-11 16:20:01 -05:00
2024-07-11 16:20:01 -05:00
2024-05-16 18:14:14 -05:00
2024-05-21 10:09:28 -07:00
2023-09-28 16:49:44 -05:00
2023-10-24 16:55:45 -05:00
2023-11-02 14:05:18 -10:00