All of lore.kernel.org
 help / color / mirror / Atom feed
* [Linux-kernel-mentees] [PATCH 0/2] PCI: Change to using pci_dev_is_inaccessible()
@ 2019-09-04  4:36 ` Kelsey Skunberg
  0 siblings, 0 replies; 18+ messages in thread
From: skunberg.kelsey @ 2019-09-04  4:36 UTC (permalink / raw)


Patch 1: Change pci_device_is_present() name to pci_dev_is_inaccessible()
         to encourage only using to learn if we should not access a
         device that's inaccessible. Return value will need to be reversed
	 to reflect the name change.

Patch 2: Relies on patch 1. Unify pci_dev_is_disconnected() with
         pci_dev_is_inaccessible() so there is only one function
         needed to learn if a device is inaccessible due to surprise
         removal or an error condition.

Kelsey Skunberg (2):
  PCI: Change pci_device_is_present() to pci_dev_is_inaccessible()
  PCI: Unify pci_dev_is_disconnected() and pci_dev_is_inaccessible()

 drivers/net/ethernet/broadcom/tg3.c       |  4 ++--
 drivers/net/ethernet/intel/igb/igb_main.c |  2 +-
 drivers/nvme/host/pci.c                   |  2 +-
 drivers/pci/access.c                      | 12 ++++++------
 drivers/pci/hotplug/acpiphp_glue.c        |  2 +-
 drivers/pci/msi.c                         |  4 ++--
 drivers/pci/pci.c                         | 12 ++++++------
 drivers/pci/pci.h                         |  5 -----
 drivers/pci/pcie/portdrv_core.c           |  2 +-
 drivers/thunderbolt/nhi.c                 |  2 +-
 include/linux/pci.h                       |  2 +-
 11 files changed, 22 insertions(+), 27 deletions(-)

-- 
2.20.1

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

end of thread, other threads:[~2019-09-05  6:43 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-04  4:36 [Linux-kernel-mentees] [PATCH 0/2] PCI: Change to using pci_dev_is_inaccessible() skunberg.kelsey
2019-09-04  4:36 ` Kelsey Skunberg
2019-09-04  4:36 ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-09-04  4:36 ` [Linux-kernel-mentees] [PATCH 1/2] PCI: Change pci_device_is_present() to pci_dev_is_inaccessible() skunberg.kelsey
2019-09-04  4:36   ` Kelsey Skunberg
2019-09-04  4:36   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-09-04  4:36 ` [Linux-kernel-mentees] [PATCH 2/2] PCI: Unify pci_dev_is_disconnected() and pci_dev_is_inaccessible() skunberg.kelsey
2019-09-04  4:36   ` Kelsey Skunberg
2019-09-04  4:36   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-09-04  5:35   ` lukas
2019-09-04  5:35     ` Lukas Wunner
2019-09-04  5:35     ` [Linux-kernel-mentees] " Lukas Wunner
2019-09-04 18:45     ` helgaas
2019-09-04 18:45       ` Bjorn Helgaas
2019-09-04 18:45       ` [Linux-kernel-mentees] " Bjorn Helgaas
2019-09-05  6:43     ` skunberg.kelsey
2019-09-05  6:43       ` Kelsey Skunberg
2019-09-05  6:43       ` [Linux-kernel-mentees] " Kelsey Skunberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.