Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1292879 > unrolled thread

Re: [PATCH v2 2/2] acpi, apei, bert: Clear error status at the end of error handling

Started byBorislav Petkov <bp@alien8.de>
First post2015-12-16 11:40 +0100
Last post2015-12-16 11:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 2/2] acpi, apei, bert: Clear error status at the end  of error handling Borislav Petkov <bp@alien8.de> - 2015-12-16 11:40 +0100

#1292879 — Re: [PATCH v2 2/2] acpi, apei, bert: Clear error status at the end of error handling

FromBorislav Petkov <bp@alien8.de>
Date2015-12-16 11:40 +0100
SubjectRe: [PATCH v2 2/2] acpi, apei, bert: Clear error status at the end of error handling
Message-ID<qGhF0-zW-23@gated-at.bofh.it>
On Wed, Aug 19, 2015 at 12:44:17AM +0800, fu.wei@linaro.org wrote:
> From: Tomasz Nowicki <tomasz.nowicki@linaro.org>
> 
> Once error log is printed out clear error status so it would not be
> print during next boot again.
> 
> Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
> Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
> Tested-by: Jonathan (Zhixiong) Zhang <zjzhang@codeaurora.org>
> Signed-off-by: Tony Luck <tony.luck@intel.com>
> ---
>  drivers/acpi/apei/bert.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/acpi/apei/bert.c b/drivers/acpi/apei/bert.c
> index 1426227..dc2b79f 100644
> --- a/drivers/acpi/apei/bert.c
> +++ b/drivers/acpi/apei/bert.c
> @@ -65,6 +65,9 @@ static void __init bert_print_all(struct acpi_hest_generic_status *region,
>  		}
>  
>  		cper_estatus_print(KERN_INFO HW_ERR, estatus);
> +
> +		/* Clear error status */
> +		estatus->block_status = 0;
>  next:
>  		estatus = (void *)estatus + estatus_len;
>  		remain -= estatus_len;
> -- 

This one should be merged with the previous patch.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web