xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Aravind Gopalakrishnan <aravind.gopalakrishnan@amd.com>
To: jbeulich@suse.com, andrew.cooper3@citrix.com
Cc: boris.ostrovsky@oracle.com, keir@xen.org,
	Suravee.Suthikulpanit@amd.com, xen-devel@lists.xen.org
Subject: [PATCH V4 0/2] Update microcode driver
Date: Tue, 11 Aug 2015 14:11:26 -0500	[thread overview]
Message-ID: <1439320288-12279-1-git-send-email-aravind.gopalakrishnan@amd.com> (raw)

Patch 1: Cleans up integer types used for cpu numbers
	 per Jan's suggestion
Patch 2: Fix HW issue by skipping certain microcode levels
	 and aborting microcode update process as otherwise
	 system hangs are known to occur

Changes from V3 (per Jan)
  - const-ify final_levels array
  - cleanup int usage for cpu numbers in a pre-patch

Changes from V2 (per Boris)
  - introduce family check as it's theoritically possible to have
    same patch level for different family too.
  - Indicate that the check is only on Fam10h too while at it

Changes from V1 (per Andrew)
  - use commit text from linux patch
  - include details about how 'final_levels' are obtaines in comments
    (I have also copied it into commit message. But shall remove if you
     feel it's redundant)
  - use ARRAY_SIZE() and kill NULL terminator
  - use XENLOG_INFO in place of pr_debug()
  - correct unsigned int usage

Aravind Gopalakrishnan (2):
  x86/microcode: Cleanup int type usage for cpu numbers
  x86, amd_ucode: Skip microcode updates for final levels

 xen/arch/x86/microcode.c        |  6 ++---
 xen/arch/x86/microcode_amd.c    | 57 +++++++++++++++++++++++++++++++++++++----
 xen/arch/x86/microcode_intel.c  | 15 ++++++-----
 xen/include/asm-x86/microcode.h |  9 ++++---
 xen/include/asm-x86/processor.h |  2 +-
 5 files changed, 69 insertions(+), 20 deletions(-)

-- 
1.9.1

             reply	other threads:[~2015-08-11 19:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-11 19:11 Aravind Gopalakrishnan [this message]
2015-08-11 19:11 ` [PATCH V4 1/2] x86/microcode: Cleanup int type usage for cpu numbers Aravind Gopalakrishnan
2015-08-11 19:11 ` [PATCH V4 2/2] x86, amd_ucode: Skip microcode updates for final levels Aravind Gopalakrishnan
2015-08-12  9:38   ` Jan Beulich
2015-08-13 22:51     ` Aravind Gopalakrishnan
2015-08-20 22:45 ` [PATCH V4 0/2] Update microcode driver Wei Liu

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=1439320288-12279-1-git-send-email-aravind.gopalakrishnan@amd.com \
    --to=aravind.gopalakrishnan@amd.com \
    --cc=Suravee.Suthikulpanit@amd.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).