Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757436AbeAHMxd (ORCPT + 1 other); Mon, 8 Jan 2018 07:53:33 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:40626 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755827AbeAHMxa (ORCPT ); Mon, 8 Jan 2018 07:53:30 -0500 X-Google-Smtp-Source: ACJfBosUh9saDIiATPGitPRHT4hPXJp9aOn3xD5x+NXVnCBPW3M8RKCQ4ZABEhjJahuFsvWK/I8Md8Z72yUFbrOvV2k= MIME-Version: 1.0 In-Reply-To: <1515398105-10329-2-git-send-email-poza@codeaurora.org> References: <1515398105-10329-1-git-send-email-poza@codeaurora.org> <1515398105-10329-2-git-send-email-poza@codeaurora.org> From: Philippe Ombredanne Date: Mon, 8 Jan 2018 13:52:48 +0100 Message-ID: Subject: Re: [PATCH v3 1/3] PCI/AER: factor out error reporting from AER To: Oza Pawandeep Cc: Bjorn Helgaas , Thomas Gleixner , Greg Kroah-Hartman , Kate Stewart , linux-pci@vger.kernel.org, LKML , Dongdong Liu , Gabriele Paoloni , Keith Busch , Wei Zhang , Sinan Kaya , Timur Tabi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Oza, On Mon, Jan 8, 2018 at 8:55 AM, Oza Pawandeep wrote: > This patch factors out error reporting callbacks, which are currently > tightly coupled with AER. > DPC should be able to call these callbacks when DPC trigger event occurs. > > Signed-off-by: Oza Pawandeep > --- /dev/null > +++ b/drivers/pci/pcie/pcie-err.c > @@ -0,0 +1,335 @@ > +/* > + * Copyright (c) 2017, The Linux Foundation. All rights reserved. > + > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 and > + * only version 2 as published by the Free Software Foundation. > + > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + */ Do you mind using an SPDX tag there instead of this fine legalese? -- Cordially Philippe Ombredanne