Received: by 10.223.185.116 with SMTP id b49csp526480wrg; Wed, 21 Feb 2018 02:30:10 -0800 (PST) X-Google-Smtp-Source: AH8x225ZCKJpuTSu6svZbDl1sPQ9m27k9Yt72gryWVFMimRn3SmlGPoCBI1seVKHMcJUxLPdu3sx X-Received: by 2002:a17:902:d68e:: with SMTP id v14-v6mr1869853ply.199.1519209010619; Wed, 21 Feb 2018 02:30:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519209010; cv=none; d=google.com; s=arc-20160816; b=dwLRajiFwMCjanLzk4mQnDy8HzCv/NLJaC9W6yk6OX9h2P9gg8sjFmKRjPcTy20qdI gSjB3WijGaaW2PiwY2NUwPIIOen2OfxFhGqCwmN3kjuqa6DeG1PfilYj5fyQX8qsVtOw jiaTza8j/XWpP1k2HkLyrxEJAhUJ68IP/pKwJHr2/9pj0q+mp/+rb4oy/C800ZtxsQJZ H9FuxLoy4nTRUkTj7hnszYnOaMenmxiA7SRkHl/H51+21dtNjQ77k0x1P6f2PsJbkN9h RRKDoGCoJMD5nNJlZpnINqdeJDCqYaIdPPmiwJnU9blNtk86IMqiCVWPW8Cz7CPo2S/e RA6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=RaKMbTFB5oF00Hf2eKXWu7Ptl/gIUMxWoq4RM47QGhw=; b=CtAVMcVPcWEnWYkdVB339XczWCnnLQR9yigZdzhQ7L1kiw6O5NbH0Soh5RIKHddfgG 1FcuR232wFKfeDT9x79OjbiYjl9OMT6+bFiBky8SET5yXyc0HKRS/2miu2o9VdkfVr+h Epj3gH3tiqTkyWgomWUUNfdn3zSmTo9w6+nt3qH7B6foTw14dhAyywP0L14gfRwabrfK oEaPMBQdhxSljRTyqq2ABlYAz7M94K4vEOqovQzfONju9/MDmEeF/rQ92p/iuV/9QLl5 Uqz+vnabAWXK0CQKIQAAK+Pz9oO2GZA56gfZg0Y2u2JYyl6EZca2Em6I4ZVZr5lYByvf 9cXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=EuoF5FaZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=m6EK1V0V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w61-v6si852231plb.412.2018.02.21.02.29.56; Wed, 21 Feb 2018 02:30:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=EuoF5FaZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=m6EK1V0V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933034AbeBUK1J (ORCPT + 99 others); Wed, 21 Feb 2018 05:27:09 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:47510 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932807AbeBUK1F (ORCPT ); Wed, 21 Feb 2018 05:27:05 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id F167A60A61; Wed, 21 Feb 2018 10:27:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519208825; bh=lSCopR66eYe/tPVO9BoPDqoDCQO/SPvZLTKiU34jtnw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EuoF5FaZ4VX+UBXckVTCRH7f2Abr9swXMVmhHBCSZpSffTCTJYHnGJ6rhkRgQ0f5/ fpaEydabM/kJytVd9QQWzkd6hdOYQczitsGWdxBrzV1vUNr7rgdUjPV/od7ezH/f+R JNKY6wJ1K/9SGaIh4SaLLtWR814MyLUFLgC0/gFY= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-poza.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: poza@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id F3564605FD; Wed, 21 Feb 2018 10:26:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519208823; bh=lSCopR66eYe/tPVO9BoPDqoDCQO/SPvZLTKiU34jtnw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m6EK1V0VXiAR1RY7LZFoIL2ENwL31eL5mA/UwF9olEy/Jgh31cp+/gJUWxt7eZ17Z n13uy9zps/jmKHWCE73TAZXI7ifmHcwWgZgqWRukszTBgqsE1HoGVlhLDJzkXVdvSt aZnfnEs75uswOLy/coJ15FpcekGjIlVWe93w6ZMo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org F3564605FD Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=poza@codeaurora.org From: Oza Pawandeep To: Bjorn Helgaas , Philippe Ombredanne , Thomas Gleixner , Greg Kroah-Hartman , Kate Stewart , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Dongdong Liu , Keith Busch , Wei Zhang , Sinan Kaya , Timur Tabi Cc: Oza Pawandeep Subject: [PATCH v8 1/7] PCI/AER: Rename error recovery to generic pci naming Date: Wed, 21 Feb 2018 15:56:38 +0530 Message-Id: <1519208804-24512-2-git-send-email-poza@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1519208804-24512-1-git-send-email-poza@codeaurora.org> References: <1519208804-24512-1-git-send-email-poza@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch renames error recovery to generic name with pci prefix Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c index a4bfea5..306bf2f 100644 --- a/drivers/pci/pcie/aer/aerdrv_core.c +++ b/drivers/pci/pcie/aer/aerdrv_core.c @@ -478,7 +478,7 @@ static pci_ers_result_t reset_link(struct pci_dev *dev) } /** - * do_recovery - handle nonfatal/fatal error recovery process + * pci_do_recovery - handle nonfatal/fatal error recovery process * @dev: pointer to a pci_dev data structure of agent detecting an error * @severity: error severity type * @@ -486,7 +486,7 @@ static pci_ers_result_t reset_link(struct pci_dev *dev) * error detected message to all downstream drivers within a hierarchy in * question and return the returned code. */ -static void do_recovery(struct pci_dev *dev, int severity) +static void pci_do_recovery(struct pci_dev *dev, int severity) { pci_ers_result_t status, result = PCI_ERS_RESULT_RECOVERED; enum pci_channel_state state; @@ -566,7 +566,7 @@ static void handle_error_source(struct pcie_device *aerdev, pci_write_config_dword(dev, pos + PCI_ERR_COR_STATUS, info->status); } else - do_recovery(dev, info->severity); + pci_do_recovery(dev, info->severity); } #ifdef CONFIG_ACPI_APEI_PCIEAER @@ -631,7 +631,7 @@ static void aer_recover_work_func(struct work_struct *work) } cper_print_aer(pdev, entry.severity, entry.regs); if (entry.severity != AER_CORRECTABLE) - do_recovery(pdev, entry.severity); + pci_do_recovery(pdev, entry.severity); pci_dev_put(pdev); } } -- 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.