Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp793328imm; Fri, 28 Sep 2018 06:59:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV62erDODuRNCXUEFgwQJ+RlavGJ9NQm0PW7pGakTpnOCQnto0D0KpAoEnJ29MA8dZ3LPd15h X-Received: by 2002:a17:902:1ab:: with SMTP id b40-v6mr4437129plb.82.1538143148557; Fri, 28 Sep 2018 06:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538143148; cv=none; d=google.com; s=arc-20160816; b=dyWoIun5VN+7sDqiEWWRULYuTuBaFHds2TMvr7S+ndO7S97+zUMxSycMuALC16zp4M hD/NMUYhKGbP5b4rxlqoDZ5eU++aXYSIGyP8ZL6y+d6rGkvlUCLlQuNXyfW/gpITjcu7 xLzLNGPwkchs70Wdx/o87FpafPBSLhcizbTdV6bkZL8+SjArGAdArfPwRU9yS53ezkvN a3mGN7qlFr8/QUcFuiHjYB5FPbjVGUMQ9qLCa9XI5BWnPgzv0aCdfTkZW7Ee5g4iSh+u LyftlhiBXlhYFtG40XZ9e1IOoZ4EekmARRoDGyNJex1yfn2bNcobIjL2iqs1OYy+iDUg 1WcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=87QV+ucw6Zoo+9PaV9gPPoHczFG37GnIIJW39fw6CWE=; b=bm/mHPx20aaMjEm1t3195jCbRtOFrm/PSTSq6WjaUcMdAQsr9r0k69Pmah4MrIFZyP 6hxDdSksouvkA/ro8tYezmMrLz7ai4bg35lMqTKWTMvsdoXnAGYoydbocMoRfr57uS0n TxCdYHhgmgwJj/CORti5XrSe42q490+QVR+a5OVckEqNibXBmW4mtLbH/qwbizwiZwqH l+7rtrlbvwJ1bnG6fID4njLosP4VP3mLQuvcX9qgDDjqw+gMVwxCHID+W84MbXjvgIyK 2TGb3CM4ABJQV6Qfx1dEeabbYlvtcwf9Py4K0FykE9FfpDcBT8aV6HVCnHkyAMPHvEad Si9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BOaVEn0Y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g19-v6si2799862pfg.225.2018.09.28.06.58.51; Fri, 28 Sep 2018 06:59:08 -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; dkim=pass header.i=@kernel.org header.s=default header.b=BOaVEn0Y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728946AbeI1UWZ (ORCPT + 99 others); Fri, 28 Sep 2018 16:22:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:56774 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726121AbeI1UWZ (ORCPT ); Fri, 28 Sep 2018 16:22:25 -0400 Received: from [10.80.45.152] (unknown [71.69.156.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 846E721546; Fri, 28 Sep 2018 13:58:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538143110; bh=Deu93XPZfuEJ9mpfV/Oq5EYyF8dFSBBGdahp/kPxwN4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=BOaVEn0Y3qZuDKsLQRL7FWKJ7iU8NjUZcHpIdfMeAHWr1UO4OKoUAYlnm6OjRfIK2 eA2KqvyQGloiKfHvJ/SpT8NTqGo/gV6ipsmxhoejXrvFPywzDi2zxxf8GT7kRci43A CDD7PgzU7mQ5rmDIYU9W6TWQJKw3/LBnfPH6xDeg= Subject: Re: [PATCH] PCI/AER: Clear uncorrectable error status for device To: poza@codeaurora.org, Bjorn Helgaas Cc: Bjorn Helgaas , Philippe Ombredanne , Thomas Gleixner , Greg Kroah-Hartman , Kate Stewart , linux-pci@vger.kernel.org, Keith Busch , Wei Zhang , linux-kernel@vger.kernel.org, Giovanni Cabiddu , Herbert Xu , "David S . Miller" , Dan Williams , Kees Cook , Sagi Grimberg , Adaptec OEM Raid Solutions , "James E . J . Bottomley" , "Martin K . Petersen" References: <1537258829-15763-1-git-send-email-poza@codeaurora.org> <20180926220848.GK28024@bhelgaas-glaptop.roam.corp.google.com> <605a3c5d65ae2f42237c7258a6c3e21b@codeaurora.org> From: Sinan Kaya Message-ID: Date: Fri, 28 Sep 2018 09:58:27 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <605a3c5d65ae2f42237c7258a6c3e21b@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/28/2018 6:24 AM, poza@codeaurora.org wrote: > 1) Does that seem like the right place? > IMO, I think best is to call after driver callback in PCI core. A driver specific action can cause some of these errors. We don't want to return with outstanding errors. > 2) I guess all we need now would be to remove the calls from the >    drivers? > yes > 3) If we remove all the calls from the drivers, we should remove the >    declaration from include/linux/aer.h, too. > makes sense > I can take care of these updates if we agree they're the right thing > to do.