[GIT PULL] x86, CPU, AMD: Cleanup AMD-specific MSR-rw users

From: Borislav Petkov
Date: Thu Jun 07 2012 - 09:24:46 EST


Hi Peter,

so here are the final versions of the patches, as discussed. 3/4 has
lost the stable tag and all have received Konrad's Acked-by. Other than
that, 1ab46fd319bc takes care of the -stable issue for xen and Greg is
picking that one up. So all those should be queued for 3.6.

Please pull, thanks.

The following changes since commit f8f5701bdaf9134b1f90e5044a82c66324d2073f:

Linux 3.5-rc1 (2012-06-02 18:29:26 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/amd-rdmsr-cleanups-for-3.6

for you to fetch changes up to c5214c0192813ebaa5784be36d2ae142034f84db:

x86, CPU, AMD: Deprecate AMD-specific MSR variants (2012-06-07 12:52:58 +0200)

----------------------------------------------------------------
x86, CPU, AMD: Cleanup AMD-specific MSR-rw users

This patchset takes care of all the {rd,wr}msrl_amd_safe headaches we
had wrt xen. After it is applied, the AMD-specific variants become
private to amd.c and issue a warning when used on anything else beside
K8 because they're supposed to be used only on K8.

This also contains the two patches from Andre which cleanup the PV-side
of things.

----------------------------------------------------------------
Andre Przywara (2):
x86, pvops: Remove hooks for {rd,wr}msr_safe_regs
x86, AMD: Fix crash as Xen Dom0 on AMD Trinity systems

Borislav Petkov (2):
x86, CPU: Fix show_msr MSR accessing function
x86, CPU, AMD: Deprecate AMD-specific MSR variants

arch/x86/include/asm/msr.h | 42 ++---------------------------------
arch/x86/include/asm/paravirt.h | 39 --------------------------------
arch/x86/include/asm/paravirt_types.h | 2 --
arch/x86/kernel/cpu/amd.c | 37 ++++++++++++++++++++++++++++--
arch/x86/kernel/cpu/common.c | 2 +-
arch/x86/kernel/paravirt.c | 2 --
arch/x86/lib/msr-reg-export.c | 4 ++--
arch/x86/lib/msr-reg.S | 10 ++++-----
arch/x86/xen/enlighten.c | 2 --
9 files changed, 45 insertions(+), 95 deletions(-)

--
Regards/Gruss,
Boris.

osrc-kernel@xxxxxxxxxxxx - where all your Linux questions get answered.

Operating Systems Research Center
Advanced Micro Devices, Inc.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/