From: Borislav Petkov <bp@alien8.de>
To: Tony Luck <tony.luck@intel.com>
Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org,
Aristeu Rozanski <arozansk@redhat.com>
Subject: Re: [PATCH] x86/mce: Do not use bank 1 for APEI generated error logs.
Date: Sat, 28 May 2016 09:34:04 +0200 [thread overview]
Message-ID: <20160528073404.GA4584@nazgul.tnic> (raw)
In-Reply-To: <e21453c233fbfef844ddd17e6e0336e7b68b3a3d.1464384892.git.tony.luck@intel.com>
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.
--
next prev parent reply other threads:[~2016-05-28 7:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 21:11 [PATCH] x86/mce: Do not use bank 1 for APEI generated error logs Tony Luck
2016-05-28 7:34 ` Borislav Petkov [this message]
2016-05-31 17:11 ` Luck, Tony
2016-05-31 18:09 ` Borislav Petkov
2016-05-31 18:18 ` Luck, Tony
2016-06-03 8:20 ` Borislav Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160528073404.GA4584@nazgul.tnic \
--to=bp@alien8.de \
--cc=arozansk@redhat.com \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).