From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aravind Gopalakrishnan Subject: [PATCH V4 0/2] Update microcode driver Date: Tue, 11 Aug 2015 14:11:26 -0500 Message-ID: <1439320288-12279-1-git-send-email-aravind.gopalakrishnan@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org 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 List-Id: xen-devel@lists.xenproject.org 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