Received: by 10.223.164.202 with SMTP id h10csp713229wrb; Wed, 15 Nov 2017 06:47:39 -0800 (PST) X-Google-Smtp-Source: AGs4zMad09GIlohnVE3gkfmjRLsTL/ZwX0jIykm4qMwZflneVommlCR6KU294ucpqEdkDzKFnUSY X-Received: by 10.84.230.137 with SMTP id e9mr16378292plk.46.1510757259254; Wed, 15 Nov 2017 06:47:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510757259; cv=none; d=google.com; s=arc-20160816; b=FyIjZsniG0CSjCMpgYy75hGnyZWyiHHp3TCkxqPHQlErEPV6RBF6OGbh2PY0IQGlxj nJ2ej0RCj+FLLnGndqlHAz9bMVgGsqZugl6EYBwRwaIPYmqdhr5QBGq4ObZVu0G1CCO7 iz0WoQNZok1gL9F4KjqH+3IT63/G/21exTLV3+ecLnCf5nJhT4ej63MhgRaNmzb3ek3+ EXBeuY5cFl5Elz1Ro1KaL85geZiROx9J9Ac+JFaTTuDw5fgTZQzoro0K9K/jDiBpw+ZR olcYiE8hdp4koTzGlHI+QkhqdAs0+BWMglZ9U9UFyfUV1Qj3Kfx9bbCohxKsJhtrcwXI x6vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=kvKX7VFQ0oXTS5XOoasRKrHPpQvw4ANGUx6WT3ItFWY=; b=EI8Q7P+Q5EyxUbv3NKPA+BN2hIzPQnredxMVME2heRwRTc7D55D0KVNlrF6pKKb6Ip hGew+82vqXPyPwt/NL0XAcS4pyDcd5ohDmNXmfpMERxiFLVeHqY0xfRg8on8wCWgqYGb R1XmrCZBLo6TJhbL2Vq+pHCsoB/++NHWOKZV5bRBVqNb6mWfIYn4CZN6VGf5l5/S1QYZ kK6A4Mt6lDDpNnaXo7sQRyW7NGO+FLufdLyd45SrSLk2Mmc6fnXGhLUmjDAfsk6CTJ4t cmkf3QYIxSWEA82Eadd7j0fKUTeQuNB3VTjKiAy8b4B4QmGMBjuMPDGjfPH7UGEQezSy TDnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ljqrQ72x; dkim=pass header.i=@codeaurora.org header.s=default header.b=ljqrQ72x; 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 v124si17612542pgv.557.2017.11.15.06.47.26; Wed, 15 Nov 2017 06:47:39 -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=ljqrQ72x; dkim=pass header.i=@codeaurora.org header.s=default header.b=ljqrQ72x; 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 S1757805AbdKOOqu (ORCPT + 89 others); Wed, 15 Nov 2017 09:46:50 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:53542 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755719AbdKOOqp (ORCPT ); Wed, 15 Nov 2017 09:46:45 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C75096080B; Wed, 15 Nov 2017 14:46:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510757204; bh=ReTB8EP0fTqOqK+SS0ZF8o1ElKnvVF6aF9uKw/8bH/0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ljqrQ72xB/wDIp2Z/0KFlNg67Dcg1ENfhyzZ3z5+mJ2obNj0knlHANiiEhKyFc0fZ pQtmOB6OodKM8+E+AzBnIntH8xWtrdl5ILky2dlojhdN4YSinhW4SFwMaZv4RH2zVN zAF7CskMziNg4mf8IreEOChHNffmKW6IQpANI4vE= 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 [10.235.228.46] (global_nat1_iad_fw.qualcomm.com [129.46.232.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tbaicar@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id B6DCE60310; Wed, 15 Nov 2017 14:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510757204; bh=ReTB8EP0fTqOqK+SS0ZF8o1ElKnvVF6aF9uKw/8bH/0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ljqrQ72xB/wDIp2Z/0KFlNg67Dcg1ENfhyzZ3z5+mJ2obNj0knlHANiiEhKyFc0fZ pQtmOB6OodKM8+E+AzBnIntH8xWtrdl5ILky2dlojhdN4YSinhW4SFwMaZv4RH2zVN zAF7CskMziNg4mf8IreEOChHNffmKW6IQpANI4vE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B6DCE60310 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=tbaicar@codeaurora.org Subject: Re: [PATCH] PCI/AER: don't call recovery process for correctable errors To: Bjorn Helgaas Cc: bhelgaas@google.com, jonathan.derrick@intel.com, keith.busch@intel.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org References: <1503940184-29423-1-git-send-email-tbaicar@codeaurora.org> <20171002231903.GE5407@bhelgaas-glaptop.roam.corp.google.com> From: Tyler Baicar Message-ID: <86882a99-ef54-a71b-3e97-8ecc46d8d14b@codeaurora.org> Date: Wed, 15 Nov 2017 09:46:42 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171002231903.GE5407@bhelgaas-glaptop.roam.corp.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/2/2017 7:19 PM, Bjorn Helgaas wrote: > On Mon, Aug 28, 2017 at 11:09:44AM -0600, Tyler Baicar wrote: >> Correctable errors do not need any software intervention, so >> avoid calling into the software recovery process for correctable >> errors. >> >> Signed-off-by: Tyler Baicar >> --- >> drivers/pci/pcie/aer/aerdrv_core.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c >> index b1303b3..4765c11 100644 >> --- a/drivers/pci/pcie/aer/aerdrv_core.c >> +++ b/drivers/pci/pcie/aer/aerdrv_core.c >> @@ -626,7 +626,8 @@ static void aer_recover_work_func(struct work_struct *work) >> continue; >> } >> cper_print_aer(pdev, entry.severity, entry.regs); >> - do_recovery(pdev, entry.severity); >> + if (entry.severity != AER_CORRECTABLE) >> + do_recovery(pdev, entry.severity); > I think this is fine, and it mirrors what is done in > handle_error_source(). > Hello, Will this patch be pulled into 4.15? Thanks, Tyler -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project. From 1583466412996301871@xxx Wed Nov 08 03:20:48 +0000 2017 X-GM-THRID: 1576995657442027352 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread