1. 10 Nov, 2010 2 commits
    • Jack Steiner's avatar
      x86, UV: Update node controller MMRs · 62b0cfc2
      Jack Steiner authored
      A new version of the SGI UV hub node controller is being
      developed. A few of the MMRs (control registers) that exist on
      the current hub no longer exist on the new hub. Fortunately,
      there are alternate MMRs that are are functionally equivalent
      and that exist on both hubs.
      
      This patch changes the UV code to use MMRs that exist in BOTH
      versions of the hub node controller.
      Signed-off-by: default avatarJack Steiner <steiner@sgi.com>
      LKML-Reference: <20101106204056.GA27584@sgi.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      62b0cfc2
    • Jesper Juhl's avatar
      x86: Remove unnecessary casts of void ptr returning alloc function return values · 8e5e9521
      Jesper Juhl authored
      The [vk][cmz]alloc(_node) family of functions return void
      pointers which it's completely unnecessary/pointless to cast to
      other pointer types since that happens implicitly.
      
      This patch removes such casts from arch/x86.
      Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
      Cc: trivial@kernel.org
      Cc: amd64-microcode@amd64.org
      Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
      LKML-Reference: <alpine.LNX.2.00.1011082310220.23697@swampdragon.chaosbits.net>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      8e5e9521
  2. 09 Nov, 2010 1 commit
    • Andi Kleen's avatar
      x86: Address gcc4.6 "set but not used" warnings in apic.h · 0059b243
      Andi Kleen authored
      native_apic_msr_read() and x2apic_enabled() use rdmsr(msr, low, high),
      but only use the low part.
      
      gcc4.6 complains about this:
      .../apic.h:144:11: warning: variable 'high' set but not used [-Wunused-but-set-variable]
      
      rdmsr() is just a wrapper around rdmsrl() which splits the 64bit value
      into low and high, so using rdmsrl() directly solves this.
      
      [tglx: Changed the variables to u64 as suggested by Cyrill. It's less
             confusing and has no code impact as this is 64bit only anyway.
             Massaged changelog as well. ]
      Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
      Cc: x86@kernel.org
      Cc: Cyrill Gorcunov <gorcunov@gmail.com>
      LKML-Reference: <1289251229-19589-1-git-send-email-andi@firstfloor.org>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      0059b243
  3. 01 Nov, 2010 1 commit
    • Rakib Mullick's avatar
      x86, mm: Fix section mismatch in tlb.c · cf38d0ba
      Rakib Mullick authored
      Mark tlb_cpuhp_notify as __cpuinit. It's basically a callback
      function, which is called from __cpuinit init_smp_flash(). So -
      it's safe.
      
      We were warned by the following warning:
      
       WARNING: arch/x86/mm/built-in.o(.text+0x356d): Section mismatch
       in reference from the function tlb_cpuhp_notify() to the
       function .cpuinit.text:calculate_tlb_offset()
       The function tlb_cpuhp_notify() references
       the function __cpuinit calculate_tlb_offset().
       This is often because tlb_cpuhp_notify lacks a __cpuinit
       annotation or the annotation of calculate_tlb_offset is wrong.
      Signed-off-by: default avatarRakib Mullick <rakib.mullick@gmail.com>
      Cc: Borislav Petkov <borislav.petkov@amd.com>
      Cc: Shaohua Li <shaohua.li@intel.com>
      LKML-Reference: <AANLkTinWQRG=HA9uB3ad0KAqRRTinL6L_4iKgF84coph@mail.gmail.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      cf38d0ba
  4. 31 Oct, 2010 6 commits
  5. 30 Oct, 2010 30 commits