Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp652193imm; Fri, 22 Jun 2018 03:01:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJQgjix+3nliaOhOyHm1IMEiXW4YPAEgV1z3yubs80yBgCLzEi5WproNVhDt7jZ0gw9rqG6 X-Received: by 2002:a62:1f0c:: with SMTP id f12-v6mr987355pff.253.1529661681109; Fri, 22 Jun 2018 03:01:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529661681; cv=none; d=google.com; s=arc-20160816; b=H9PjrBtvk3XQvdnI2Y22PtXSL5VAYfAwMwBUU3viUTONZ3ovM57lV8vcdrNfGF3Nvr YNZ/clqcLQ0D4RX8JNQWm0yZTo+RKnf5daLgT5/LQU9rFI+/lxkTntLzVIgiHJarMsoQ yBQDls4ijwEyM4+c6nqSGHEVg2M57dgLNbQbLSN7JWLycLFj9G2QNWSCX5vpvF5kt4ry sq3P+HhbpocxlYqAyTMNHuZw1KjQhpzo4DsbAgnGw4BfyrOzoNc17ckBTvThB6HEZQCv FUcRF7BMdkLTMkhPEzu/Xw1KTe/UzSfFWTfsAf1L6i2a/4qVx7LHHhDvepC/lnzDh54d M32w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=2TVYpFiRlXPl1fpkAvm2WYMwfDA/9KTzy6XtaxzqrRI=; b=pApTNTovpbulPlycGcD3s8ajd98LZlV882cbf8764SGHzhykPiRW9FtMY5KA6u5Yhs jUds3VKdeetqWDaNzHPYuexJ+cOHLT6E3tBWBHmsFIDpA0Ey3q/WtpQLD1mzEM89WDi3 /lacqxQQnpPJWgYxHDqyibmWyEzsQYxV2j2tf78Oe20cNu8uk+qCMVbNfETlG+PpBqny htpYgvmXnXIlLl/82m36yOvBvXlmPu9Z+hnuDVL7VbTvc1407AnQkI5+Rg46RZUcSOWO oKnXT6onYeGNxvb3BvD0vatuc5EltuqHKcF5khOTOSBDIZ9zao2FunYoHdTZ+9SQoyiQ Y1Yw== ARC-Authentication-Results: i=1; mx.google.com; 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 w16-v6si5841803pgv.77.2018.06.22.03.01.06; Fri, 22 Jun 2018 03:01:21 -0700 (PDT) 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; 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 S933552AbeFVJ7l (ORCPT + 99 others); Fri, 22 Jun 2018 05:59:41 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:37788 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751439AbeFVJ6V (ORCPT ); Fri, 22 Jun 2018 05:58:21 -0400 X-IronPort-AV: E=Sophos;i="5.51,256,1526367600"; d="scan'208";a="346278391" Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by wolverine01.qualcomm.com with ESMTP; 22 Jun 2018 02:58:20 -0700 X-IronPort-AV: E=McAfee;i="5900,7806,8931"; a="222664696" Received: from westreach.qualcomm.com ([10.228.196.125]) by ironmsg-SD-alpha.qualcomm.com with ESMTP; 22 Jun 2018 02:58:18 -0700 Received: by westreach.qualcomm.com (Postfix, from userid 467151) id 072181F2C; Fri, 22 Jun 2018 05:58:17 -0400 (EDT) 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 v2 0/6] Fix issues and cleanup for ERR_FATAL and ERR_NONFATAL Date: Fri, 22 Jun 2018 05:58:08 -0400 Message-Id: <1529661494-20936-1-git-send-email-poza@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These are follow up patches for the series which modifies ERR_FATAL handling. although there were couple of problems existed before which, itis also fixing. patch-1: Fixes the problem where ERR_FATAL and ERR_NONFATAL status should be cleared taking severity mask into account. patch-2: Takes care of clearing error fatal status patch-3: Follow up patch where no more need of handling ERR_FATAL case. patch-4: Fixes clearing device status in case of uncorrectable errors. (e.g. ERR_FATAL and ERR_NONFATAL) patch-5: Fixes clearing device status in case of correctable errors. patch-6: Follow up patch where no more need of handling pci_channel_io_frozen in pcie_portdrv_slot_reset() Oza Pawandeep (6): PCI/AER: Take severity mask into account while clearing error bits PCI/AER: Clear uncorrectable fatal error status bits PCI/ERR: Cleanup ERR_FATAL of error broadcast PCI/AER: Clear device error status bits during ERR_FATAL and ERR_NONFATAL PCI/AER: Fix correctable status bits clearing in device register PCI/PORTDRV: Remove ERR_FATAL handling from pcie_portdrv_slot_reset() drivers/pci/pcie/aer.c | 35 +++++++++++++++++++++++------------ drivers/pci/pcie/err.c | 15 +++++++-------- drivers/pci/pcie/portdrv_pci.c | 18 ------------------ include/linux/aer.h | 5 +++++ 4 files changed, 35 insertions(+), 38 deletions(-) -- 2.7.4