mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
To: <dougthompson@xmission.com>, <bp@alien8.de>, <mchehab@osg.samsung.com>
Cc: <linux-edac@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<x86@kernel.org>
Subject: [PATCH 0/3] Updates to EDAC mce_amd_inj
Date: Tue, 9 Jun 2015 11:45:14 -0500	[thread overview]
Message-ID: <1433868317-18417-1-git-send-email-Aravind.Gopalakrishnan@amd.com> (raw)

This is basically a V3 of the final 3 patches of an earlier patchset
to update injection interfaces in mce_amd_inj.
Here's a link to V2 of the original series:
http://marc.info/?l=linux-edac&m=143327677901235&w=2

Patches 1-6 of above are currently in 'for-next' of bp.git

Spinning this as a separate series as they needed to be rebased on
top of CONFIG_X86_HT removal patch which made it into tip.

Patch 1: Store number of nodes as a static global in amd.c
	 No functional change.
Patch 2: Provide accessor function to obtain the number of nodes per processor
Patch 3: Modify injection mechanism for bank 4 errors. Since they are
	 typically logged or reported only on NBC, we make sure that
	 we inject on the correct core here.

Since the earlier patches are split across tip and bp.git, this series is
based on top of tip with EDAC patches merged from 'for-next' of bp.git

Changes wrt V2 of the original series:
  - Rebase on top of CONFIG_X86_HT removal patch
  - Remove unnecessary amd_set_num_nodes() function (from patch 7 of original
    series) and simplify code. Current changes are in Patch 1
     - And reword the commit message.
  - checkpatch with --strict threw couple of checks on Patch 3, fixed them
  - Update copyright info in mce_amd_inj.c

Aravind Gopalakrishnan (3):
  x86, amd: Store number of nodes in a static global variable
  x86, amd: Provide accessor for number of nodes
  edac, mce_amd_inj: Inject errors on NBC for bank 4 errors

 arch/x86/include/asm/processor.h |  1 +
 arch/x86/kernel/cpu/amd.c        | 23 ++++++++++++----
 drivers/edac/mce_amd_inj.c       | 57 +++++++++++++++++++++++++++++++++++++++-
 3 files changed, 75 insertions(+), 6 deletions(-)

-- 
2.4.0


             reply	other threads:[~2015-06-09 16:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-09 16:45 Aravind Gopalakrishnan [this message]
2015-06-09 16:45 ` [PATCH 1/3] x86, amd: Store number of nodes in a static global variable Aravind Gopalakrishnan
2015-06-10  8:02   ` Borislav Petkov
2015-06-18 10:55   ` [tip:x86/cpu] x86/cpu/amd: Give access to the number of nodes in a physical package tip-bot for Aravind Gopalakrishnan
2015-06-09 16:45 ` [PATCH 2/3] x86, amd: Provide accessor for number of nodes Aravind Gopalakrishnan
2015-06-09 16:45 ` [PATCH 3/3] edac, mce_amd_inj: Inject errors on NBC for bank 4 errors Aravind Gopalakrishnan
2015-06-10  8:25   ` 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=1433868317-18417-1-git-send-email-Aravind.Gopalakrishnan@amd.com \
    --to=aravind.gopalakrishnan@amd.com \
    --cc=bp@alien8.de \
    --cc=dougthompson@xmission.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@osg.samsung.com \
    --cc=x86@kernel.org \
    /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

all inboxes | Powered by JetHome®