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


Groups > linux.kernel > #1408388

Re: [PATCH] x86/mce: Do not use bank 1 for APEI generated error logs.

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/mce: Do not use bank 1 for APEI generated error logs.
Date 2016-05-28 09:40 +0200
Message-ID <rDH0J-63f-5@gated-at.bofh.it> (permalink)
References <rDxE5-e5-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, May 27, 2016 at 02:11:06PM -0700, Tony Luck wrote:
> diff --git a/arch/x86/kernel/cpu/mcheck/mce-apei.c b/arch/x86/kernel/cpu/mcheck/mce-apei.c
> index 34c89a3e8260..9d2c02337713 100644
> --- a/arch/x86/kernel/cpu/mcheck/mce-apei.c
> +++ b/arch/x86/kernel/cpu/mcheck/mce-apei.c
> @@ -46,7 +46,7 @@ void apei_mce_report_mem_error(int severity, struct cper_sec_mem_err *mem_err)
>  		return;
>  
>  	mce_setup(&m);
> -	m.bank = 1;
> +	m.bank = mca_cfg.banks;

There's struct cper_sec_mem_err.bank. Why aren't we copying that?

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] x86/mce: Do not use bank 1 for APEI generated error logs. Tony Luck <tony.luck@intel.com> - 2016-05-27 23:40 +0200
  Re: [PATCH] x86/mce: Do not use bank 1 for APEI generated error logs. Borislav Petkov <bp@alien8.de> - 2016-05-28 09:40 +0200

csiph-web