[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170313095852.0c424d53@gandalf.local.home>
Date: Mon, 13 Mar 2017 09:58:52 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Xie XiuQi <xiexiuqi@...wei.com>
Cc: "Baicar, Tyler" <tbaicar@...eaurora.org>,
<christoffer.dall@...aro.org>, <marc.zyngier@....com>,
<pbonzini@...hat.com>, <rkrcmar@...hat.com>,
<linux@...linux.org.uk>, <catalin.marinas@....com>,
<will.deacon@....com>, <rjw@...ysocki.net>, <lenb@...nel.org>,
<matt@...eblueprint.co.uk>, <robert.moore@...el.com>,
<lv.zheng@...el.com>, <nkaje@...eaurora.org>,
<zjzhang@...eaurora.org>, <mark.rutland@....com>,
<james.morse@....com>, <akpm@...ux-foundation.org>,
<eun.taik.lee@...sung.com>, <sandeepa.s.prabhu@...il.com>,
<labbott@...hat.com>, <shijie.huang@....com>,
<rruigrok@...eaurora.org>, <paul.gortmaker@...driver.com>,
<tn@...ihalf.com>, <fu.wei@...aro.org>, <bristot@...hat.com>,
<linux-arm-kernel@...ts.infradead.org>,
<kvmarm@...ts.cs.columbia.edu>, <kvm@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-acpi@...r.kernel.org>,
<linux-efi@...r.kernel.org>, <devel@...ica.org>,
<Suzuki.Poulose@....com>, <punit.agrawal@....com>,
<astone@...hat.com>, <harba@...eaurora.org>,
<hanjun.guo@...aro.org>, <john.garry@...wei.com>,
<shiju.jose@...wei.com>, <joe@...ches.com>,
"wangxiongfeng2@...wei.com" <wangxiongfeng2@...wei.com>,
Guo Hanjun <guohanjun@...wei.com>,
"Zhengqiang (turing)" <zhengqiang10@...wei.com>
Subject: Re: [PATCH V12 09/10] trace, ras: add ARM processor error trace
event
On Mon, 13 Mar 2017 17:00:59 +0800
Xie XiuQi <xiexiuqi@...wei.com> wrote:
> ---
> drivers/acpi/apei/ghes.c | 8 +++++
> include/linux/cper.h | 5 +++
> include/ras/ras_event.h | 87 ++++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 100 insertions(+)
>
> diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
> index 251d7e0..6d34c26 100644
> --- a/drivers/acpi/apei/ghes.c
> +++ b/drivers/acpi/apei/ghes.c
> @@ -518,9 +518,17 @@ static void ghes_do_proc(struct ghes *ghes,
> else if (!uuid_le_cmp(sec_type, CPER_SEC_PROC_ARM) &&
> trace_arm_event_enabled()) {
> struct cper_sec_proc_arm *arm_err;
> + struct cper_arm_err_info *err_info;
> + int i;
>
> arm_err = acpi_hest_generic_data_payload(gdata);
> trace_arm_event(arm_err);
> +
if (trace_arm_proc_err_enabled()) {
> + err_info = (struct cper_arm_err_info *)(arm_err + 1);
> + for (i = 0; i < arm_err->err_info_num; i++) {
> + trace_arm_proc_err(err_info);
> + err_info += 1;
> + }
}
-- Steve
> } else if (trace_unknown_sec_event_enabled()) {
> void *unknown_err = acpi_hest_generic_data_payload(gdata);
> trace_unknown_sec_event(&sec_type,
> diff --git a/include/linux/cper.h b/include/linux/cper.h
Powered by blists - more mailing lists