From patchwork Wed Jun 11 19:00:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 4338021 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4CD549F314 for ; Wed, 11 Jun 2014 19:01:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EABA9202BE for ; Wed, 11 Jun 2014 19:01:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 09988202F0 for ; Wed, 11 Jun 2014 19:01:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752587AbaFKTAj (ORCPT ); Wed, 11 Jun 2014 15:00:39 -0400 Received: from mail.skyhub.de ([78.46.96.112]:47841 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752572AbaFKTAh (ORCPT ); Wed, 11 Jun 2014 15:00:37 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1402513236; bh=zwF5g4y7vJu1ZKsunkrVEgR2urS1uIWKFwMFeCHepsQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=bl+an0fGk1EOdS39krtKodPaPwNIkDxk1VQyf/ FQZUT5uBoSsDmzn9Ofa5sdzVLGVpDWul62/rRa+KP64Nih5ehd9TztYF/Mh4yTYtBmc biEGd5YuPJlU+i3tRtUUqfgf3NAdKiTgSIyNGbBfqr9kq+9kYl15ZOzjBb7/RAmmIw= Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8-AvnnyBQCGj; Wed, 11 Jun 2014 21:00:36 +0200 (CEST) Received: from liondog.tnic (p5DDC4B69.dip0.t-ipconnect.de [93.220.75.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 207581DA26E; Wed, 11 Jun 2014 21:00:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1402513236; bh=zwF5g4y7vJu1ZKsunkrVEgR2urS1uIWKFwMFeCHepsQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=bl+an0fGk1EOdS39krtKodPaPwNIkDxk1VQyf/ FQZUT5uBoSsDmzn9Ofa5sdzVLGVpDWul62/rRa+KP64Nih5ehd9TztYF/Mh4yTYtBmc biEGd5YuPJlU+i3tRtUUqfgf3NAdKiTgSIyNGbBfqr9kq+9kYl15ZOzjBb7/RAmmIw= Received: by liondog.tnic (Postfix, from userid 1000) id 2FB3F10105E; Wed, 11 Jun 2014 21:00:35 +0200 (CEST) Date: Wed, 11 Jun 2014 21:00:35 +0200 From: Borislav Petkov To: "Chen, Gong" Cc: tony.luck@intel.com, m.chehab@samsung.com, rostedt@goodmis.org, linux-acpi@vger.kernel.org, lkml Subject: Re: [PATCH 2/7 v3] trace, AER: Move trace into unified interface Message-ID: <20140611190035.GC14923@pd.tnic> References: <1402475691-30045-1-git-send-email-gong.chen@linux.intel.com> <1402475691-30045-3-git-send-email-gong.chen@linux.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1402475691-30045-3-git-send-email-gong.chen@linux.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Wed, Jun 11, 2014 at 04:34:46AM -0400, Chen, Gong wrote: > AER uses a separate trace interface by now. To make it > consistent, move it into unified RAS trace interface. > > v3 -> v2: change dependency rule of RAS_TRACE. > v2 -> v1: remove unnecessary dependency in drivers/ras/Kconfig. > > Signed-off-by: Chen, Gong > --- > drivers/pci/pcie/aer/Kconfig | 1 + > drivers/pci/pcie/aer/aerdrv_errprint.c | 4 +- > include/ras/ras_event.h | 64 ++++++++++++++++++++++++++++ > include/trace/events/ras.h | 77 ---------------------------------- > 4 files changed, 66 insertions(+), 80 deletions(-) > delete mode 100644 include/trace/events/ras.h > > diff --git a/drivers/pci/pcie/aer/Kconfig b/drivers/pci/pcie/aer/Kconfig > index 50e94e0..c611384 100644 > --- a/drivers/pci/pcie/aer/Kconfig > +++ b/drivers/pci/pcie/aer/Kconfig > @@ -5,6 +5,7 @@ > config PCIEAER > boolean "Root Port Advanced Error Reporting support" > depends on PCIEPORTBUS > + select RAS_TRACE > default y > help > This enables PCI Express Root Port Advanced Error Reporting With this hunk changed to --- Acked-by: Borislav Petkov Index: b/drivers/pci/pcie/aer/Kconfig =================================================================== --- a/drivers/pci/pcie/aer/Kconfig 2014-06-11 17:33:57.298417802 +0200 +++ b/drivers/pci/pcie/aer/Kconfig 2014-06-11 17:34:16.302417487 +0200 @@ -5,6 +5,7 @@ config PCIEAER boolean "Root Port Advanced Error Reporting support" depends on PCIEPORTBUS + select RAS default y help This enables PCI Express Root Port Advanced Error Reporting