From: Sinan Kaya <okaya@codeaurora.org>
To: linux-pci@vger.kernel.org
Cc: Sinan Kaya <okaya@codeaurora.org>,
linux-arm-msm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH V5 0/6] PCI: unify slot and bus reset calls
Date: Mon, 2 Jul 2018 18:58:49 -0400 [thread overview]
Message-ID: <1530572336-20296-1-git-send-email-okaya@codeaurora.org> (raw)
pci_reset_slot() and pci_reset_bus() functions require user to query if a
device is behind a hotplug slot. External users are not following this
requirement.
Hide the implemetnation into PCI core and check hotplug association on
behalf of the user internally.
Changes from v4:
* return code factoring per Andy.
Sinan Kaya (6):
PCI: Handle error return from pci_reset_bridge_secondary_bus()
IB/hfi1: Use pci_try_reset_bus() for initiating pci secondary bus
reset
PCI: Hide pci_reset_bridge_secondary_bus() from drivers
PCI: Unify try slot and bus reset API
PCI: Deprecate pci_reset_bus() and pci_reset_slot() functions
PCI: Rename pci_try_reset_bus() to pci_reset_bus()
drivers/infiniband/hw/hfi1/pcie.c | 4 +-
drivers/pci/hotplug/pciehp_hpc.c | 5 ++-
drivers/pci/pci.c | 91 +++++++++++----------------------------
drivers/pci/pci.h | 1 +
drivers/pci/pcie/aer.c | 5 ++-
drivers/pci/pcie/err.c | 6 ++-
drivers/vfio/pci/vfio_pci.c | 6 +--
include/linux/pci.h | 6 +--
8 files changed, 40 insertions(+), 84 deletions(-)
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2018-07-02 22:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-02 22:58 Sinan Kaya [this message]
2018-07-02 22:58 ` [PATCH V5 1/6] PCI: Handle error return from pci_reset_bridge_secondary_bus() Sinan Kaya
2018-07-02 22:58 ` [PATCH V5 2/6] IB/hfi1: Use pci_try_reset_bus() for initiating pci secondary bus reset Sinan Kaya
2018-07-02 22:58 ` [PATCH V5 3/6] PCI: Hide pci_reset_bridge_secondary_bus() from drivers Sinan Kaya
2018-07-02 22:58 ` [PATCH V5 4/6] PCI: Unify try slot and bus reset API Sinan Kaya
2018-07-02 22:58 ` [PATCH V5 5/6] PCI: Deprecate pci_reset_bus() and pci_reset_slot() functions Sinan Kaya
2018-07-18 22:30 ` Bjorn Helgaas
2018-07-18 22:36 ` Sinan Kaya
2018-07-18 23:29 ` Bjorn Helgaas
2018-07-02 22:58 ` [PATCH V5 6/6] PCI: Rename pci_try_reset_bus() to pci_reset_bus() Sinan Kaya
2018-07-19 23:05 ` [PATCH V5 0/6] PCI: unify slot and bus reset calls Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1530572336-20296-1-git-send-email-okaya@codeaurora.org \
--to=okaya@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).