From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: From: Oza Pawandeep To: linux-pci@vger.kernel.org, okaya@codeaurora.org, timur@codeaurora.org Subject: [PATCH v2 0/4] PCI: query active service list Date: Wed, 15 Nov 2017 10:26:44 +0530 Message-Id: <1510721808-27164-1-git-send-email-poza@codeaurora.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oza Pawandeep , Gabriele Paoloni , Greg Kroah-Hartman , Dongdong Liu , linux-arm-msm@vger.kernel.org, Bjorn Helgaas , Thomas Gleixner , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+bjorn=helgaas.com@lists.infradead.org List-ID: The list of patches provides querying facility to all services drivers. They can query any other service, to see if it is active/registered. This is useful when multiple service drivers do not want to race for actions based on service interrupt trigger. for e.g. if both AER and DPC are triggering, AER should not race since DPC is going to bring down the link and all the devices beneath, and going to recover HW. Another example; If hot plug service is not active DPC can do enumeration. Changes Since v1: Sinan's comment implemented. Oza Pawandeep (4): PCI: Add port service list node for pci_dev. PCI/portdrv: Add/Remove port services to the list PCI/portdrv: Implement interface to query the registered service PCI/AER: Dont do recovery when DPC is enabled drivers/pci/pcie/aer/aerdrv_core.c | 33 ++++++++++++++++++++++++++++++++ drivers/pci/pcie/portdrv_core.c | 39 ++++++++++++++++++++++++++++++++++++++ drivers/pci/probe.c | 1 + include/linux/pci.h | 2 ++ include/linux/pcieport_if.h | 4 +++- 5 files changed, 78 insertions(+), 1 deletion(-) -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc., a Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel