Received: by 10.192.165.156 with SMTP id m28csp197715imm; Sun, 15 Apr 2018 20:55:23 -0700 (PDT) X-Google-Smtp-Source: AIpwx48yUTsyHh4CqQnsIsdZOiPqks6ROwTU7ztm48hYjWO0uWflNB7igfEdWqciFN/gDtwzo0R+ X-Received: by 10.98.23.134 with SMTP id 128mr816941pfx.120.1523850922928; Sun, 15 Apr 2018 20:55:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523850922; cv=none; d=google.com; s=arc-20160816; b=c1ccLHZknchhKibnYKloN1qh0dYH30HmM9MJf9ZoupR57h2ApTg16eGHQYlBNs1G9B HX5Vk6bTcCqm77vJLgeWfOd5xzr61ma9QGWqa2kBlPr3HFsoC68hnfgazxF1E17Yk7pj xDIFdnBKHe8BcrzLrWCDwY2amaNaJe5rHzgkruwiCds7F+cH0iXty+bwSVeoK8J02hfb cK1pFGdWM8Hf3N4yzB75LB5m3KqQjA5GSw43hUzOrJ0BaMR8KsuAdJFvIEShv3IZka7j O3OZXMrxbopli8bNfhp+k6FOUYvWtxLhlGnZyrnIliIdmlgv7JWxU04r7xu5BAg46Gj2 oVEA== 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:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=+efReypN3hTj02hQrvkgiwBI5fp6sZC0QnQUJx9lV/s=; b=yE4ttCFI0S58mAkUIcCTZDuWJW0bSCC1FmVzTzxBboH1zuYxW8hCYjarrMqFJDbSic Zp3ghzeEyd7GIrURPAqAB61NSNyG0zSKNtVzA6zyXEu1mp+k1jMHVMx8tUA6H9o5o4Rl wN9LT7Jj+0/UENpnDxWPuZg0IbH6WdfiNsjVT0ro2QRFbT0h6taCrELzHUb63MXwlx3/ ulqAkL+hI2cMkSKQQdCmyrBUd+PpWxeiQ8Sz3lOfQ0y70SaZy7X+nKkQ+8Zk3WaBbQmo +8WJ+IywP7wt+k8R8oKs767yWJHNGkaAJTcTaC9BcxveQDPHpGlmr5fracYGtibpBdQT 2KbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=RDKzMO7c; dkim=pass header.i=@codeaurora.org header.s=default header.b=GFZFUNrk; 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 c87si8178173pfd.89.2018.04.15.20.55.08; Sun, 15 Apr 2018 20:55:22 -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=@codeaurora.org header.s=default header.b=RDKzMO7c; dkim=pass header.i=@codeaurora.org header.s=default header.b=GFZFUNrk; 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 S1753083AbeDPDxx (ORCPT + 99 others); Sun, 15 Apr 2018 23:53:53 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34018 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753046AbeDPDxw (ORCPT ); Sun, 15 Apr 2018 23:53:52 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CC7AC6072E; Mon, 16 Apr 2018 03:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523850831; bh=ihqWNXnkTf7HAwo6mgcOKNSCMVaOfVnHzO8FhpZ7vDg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=RDKzMO7cNudAD9EgnmoD2ZrJqJWh8QWqQdtW+NP9QBCpBDg5w57KHlJufSHsOmvsP E76seAGUB7xIJFeCKyuyrRphQwT25KeLNHt+rdicFoN10VFfFjtWsoZ6zkIYS+SpdF 59U/zaR/nelEnKouQszQLI+VM4wdhNS5e1JTxNqM= 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 [192.168.0.105] (cpe-174-109-247-98.nc.res.rr.com [174.109.247.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: okaya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id AD1CF6072E; Mon, 16 Apr 2018 03:53:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523850830; bh=ihqWNXnkTf7HAwo6mgcOKNSCMVaOfVnHzO8FhpZ7vDg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=GFZFUNrkPK4/QjFVNZ5Deqloc7FwTKvOqnvDFVGCCbAlILG/Ma2RWRecRMmMfgEax MBB5m64wXn/o56nwZ9LyCpqptZnRbG0k3kQLGEPsGhNa/DJkGIJRVAMlzp8j9lQFjE acViELKDVscRJkb0ukaeGDOXS44UW6RMYSUuh1Fw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AD1CF6072E 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=okaya@codeaurora.org Subject: Re: [PATCH v13 0/6] Address error and recovery for AER and DPC To: Bjorn Helgaas , Oza Pawandeep Cc: 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 , Timur Tabi References: <1523284914-2037-1-git-send-email-poza@codeaurora.org> <20180416031600.GB80087@bhelgaas-glaptop.roam.corp.google.com> From: Sinan Kaya Message-ID: <5b4e667f-bead-a007-78dd-e42d3194f232@codeaurora.org> Date: Sun, 15 Apr 2018 23:53:47 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180416031600.GB80087@bhelgaas-glaptop.roam.corp.google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/15/2018 11:16 PM, Bjorn Helgaas wrote: > On Mon, Apr 09, 2018 at 10:41:48AM -0400, Oza Pawandeep wrote: >> This patch set brings in error handling support for DPC >> >> The current implementation of AER and error message broadcasting to the >> EP driver is tightly coupled and limited to AER service driver. >> It is important to factor out broadcasting and other link handling >> callbacks. So that not only when AER gets triggered, but also when DPC get >> triggered (for e.g. ERR_FATAL), callbacks are handled appropriately. >> >> DPC should behave identical to AER as far as error handling is concerned. >> DPC should remove the devices and not to do recovery for hotplug enabled system. > > Is there a specific bug that's fixed by these patches? I didn't see > one mentioned in the changelogs. > There is no actual bug. We realized that DPC and hotplug is heavily integrated today. We have use cases for systems without hotplug support but still support DPC. That's the problem we are trying to solve with this patchset. -- Sinan Kaya 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.