Re: [PATCH 2/7 v3] trace, AER: Move trace into unified interface

From: Borislav Petkov
Date: Wed Jun 11 2014 - 15:00:44 EST


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 <gong.chen@xxxxxxxxxxxxxxx>
> ---
> 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

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
--

Acked-by: Borislav Petkov <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/