lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 16 Dec 2015 11:30:04 +0100
From:	Borislav Petkov <bp@...en8.de>
To:	fu.wei@...aro.org
Cc:	linaro-acpi@...ts.linaro.org, linux-kernel@...r.kernel.org,
	zjzhang@...eaurora.org, tony.luck@...el.com, gong.chen@...el.com,
	ying.huang@...el.com, tomasz.nowicki@...aro.org,
	tekkamanninja@...il.com, graeme.gregory@...aro.org,
	al.stone@...aro.org, hanjun.guo@...aro.org, jcm@...hat.com,
	mark.rutland@....com, catalin.marinas@....com, will.deacon@....com,
	rjw@...ysocki.net, matt.fleming@...el.com,
	"Chen, Gong" <gong.chen@...ux.intel.com>
Subject: Re: [PATCH v2 2/2] acpi, apei, bert: Clear error status at the end
 of error handling

On Wed, Aug 19, 2015 at 12:44:17AM +0800, fu.wei@...aro.org wrote:
> From: Tomasz Nowicki <tomasz.nowicki@...aro.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@...aro.org>
> Signed-off-by: Chen, Gong <gong.chen@...ux.intel.com>
> Tested-by: Jonathan (Zhixiong) Zhang <zjzhang@...eaurora.org>
> Signed-off-by: Tony Luck <tony.luck@...el.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ