[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170901111648.jrb3picf5m4clu3s@pd.tnic>
Date: Fri, 1 Sep 2017 13:16:48 +0200
From: Borislav Petkov <bp@...e.de>
To: Xie XiuQi <xiexiuqi@...wei.com>
Cc: catalin.marinas@....com, will.deacon@....com, mingo@...hat.com,
x86@...nel.org, mark.rutland@....com, ard.biesheuvel@...aro.org,
james.morse@....com, takahiro.akashi@...aro.org,
tbaicar@...eaurora.org, shiju.jose@...wei.com,
zjzhang@...eaurora.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
wangxiongfeng2@...wei.com, zhengqiang10@...wei.com,
gengdongjiu@...wei.com
Subject: Re: [RFC PATCH v1 1/3] arm64/ras: support sea error recovery
On Fri, Sep 01, 2017 at 06:31:59PM +0800, Xie XiuQi wrote:
> diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
> index d661d45..fa9400d 100644
> --- a/drivers/acpi/apei/ghes.c
> +++ b/drivers/acpi/apei/ghes.c
> @@ -52,6 +52,7 @@
> #include <acpi/ghes.h>
> #include <acpi/apei.h>
> #include <asm/tlbflush.h>
> +#include <asm/ras.h>
> #include <ras/ras_event.h>
>
> #include "apei-internal.h"
> @@ -520,6 +521,7 @@ static void ghes_do_proc(struct ghes *ghes,
> else if (guid_equal(sec_type, &CPER_SEC_PROC_ARM)) {
> struct cper_sec_proc_arm *err = acpi_hest_get_payload(gdata);
>
> + arm_proc_error_check(ghes, err);
> log_arm_hw_error(err);
Wrap those two in a single arm_process_error() which does everything
needed on ARM.
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
Powered by blists - more mailing lists