[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111014072151.GA21913@elte.hu>
Date: Fri, 14 Oct 2011 09:21:51 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Andi Kleen <andi@...stfloor.org>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org,
Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 1/3] x86, intel: Output microcode revision v7
* Andi Kleen <andi@...stfloor.org> wrote:
> From: Andi Kleen <ak@...ux.intel.com>
>
> I got a request to make it easier to determine the microcode update level
> on Intel CPUs. This patch adds a new "microcode" field to /proc/cpuinfo.
>
> The microcode level is also outputed on fatal machine checks together
> with the other CPUID model information.
>
> I removed the respective code from the microcode update driver, it
> just reads the field from cpu_data. Also when the microcode is updated
> it fills in the new values too.
>
> I had to add a memory barrier to native_cpuid to prevent it being
> optimized away when the result is not used.
>
> This turns out to clean up further code which already got this
> information manually. This is done in followon patches.
>
> v2: Lots of updates based on feedback.
> v3: Rename cpu_update to microcode. Misc changes from feedback.
> v4: minor updates. rebased.
> v5: move MSR read to early_intel_init()
> v6: Use sync_core() instead of CPUID 1. Drop a white space change.
> v7: Add Acked-bys.
> Signed-off-by: Andi Kleen <ak@...ux.intel.com>
> Acked-by: H. Peter Anvin <hpa@...or.com>
> ---
> arch/x86/include/asm/processor.h | 4 +++-
> arch/x86/kernel/cpu/intel.c | 9 +++++++++
> arch/x86/kernel/cpu/mcheck/mce.c | 9 +++++++--
> arch/x86/kernel/cpu/proc.c | 2 ++
> arch/x86/kernel/microcode_intel.c | 14 +++++---------
> 5 files changed, 26 insertions(+), 12 deletions(-)
Applied to tip:x86/microcode,
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists