1. 12 Apr, 2009 3 commits
    • Suresh Siddha's avatar
      x86: add linux kernel support for YMM state · a30469e7
      Suresh Siddha authored
      Impact: save/restore Intel-AVX state properly between tasks
      
      Intel Advanced Vector Extensions (AVX) introduce 256-bit vector processing
      capability. More about AVX at http://software.intel.com/sites/avx
      
      Add OS support for YMM state management using xsave/xrstor infrastructure
      to support AVX.
      Signed-off-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
      LKML-Reference: <1239402084.27006.8057.camel@localhost.localdomain>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      a30469e7
    • Marcin Slusarz's avatar
      x86: fix wrong section of pat_disable & make it static · 1ee4bd92
      Marcin Slusarz authored
      pat_disable cannot be __cpuinit anymore because it's called from pat_init
      and the callchain looks like this:
      pat_disable [cpuinit] <- pat_init <- generic_set_all <-
       ipi_handler <- set_mtrr <- (other non init/cpuinit functions)
      
      WARNING: arch/x86/mm/built-in.o(.text+0x449e): Section mismatch in reference
      from the function pat_init() to the function .cpuinit.text:pat_disable()
      The function pat_init() references
      the function __cpuinit pat_disable().
      This is often because pat_init lacks a __cpuinit
      annotation or the annotation of pat_disable is wrong.
      
      Non CONFIG_X86_PAT version of pat_disable is static inline, so this version
      can be static too (and there are no callers outside of this file).
      Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      LKML-Reference: <49DFB055.6070405@gmail.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      1ee4bd92
    • Rakib Mullick's avatar
      x86: Fix section mismatches in mpparse · 57592224
      Rakib Mullick authored
      Impact: fix section mismatch
      
      In arch/x86/kernel/mpparse.c, smp_reserve_bootmem() has been called
      and also refers to a function which is in .init section. Thus causes
      the first warning. And check_irq_src() also requires an __init,
      because it refers to an .init section.
      Signed-off-by: default avatarRakib Mullick <rakib.mullick@gmail.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      LKML-Reference: <b9df5fa10904102004g51265d9axc8d07278bfdb6ba0@mail.gmail.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      57592224
  2. 10 Apr, 2009 3 commits
    • Masami Hiramatsu's avatar
      x86: fix set_fixmap to use phys_addr_t · 9b987aeb
      Masami Hiramatsu authored
      Impact: fix kprobes crash on 32-bit with RAM above 4G
      
      Use phys_addr_t for receiving a physical address argument
      instead of unsigned long. This allows fixmap to handle
      pages higher than 4GB on x86-32.
      Signed-off-by: default avatarMasami Hiramatsu <mhiramat@redhat.com>
      Acked-by: default avatarMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
      Cc: systemtap-ml <systemtap@sources.redhat.com>
      Cc: Gary Hade <garyhade@us.ibm.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      LKML-Reference: <49DE3695.6040800@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      9b987aeb
    • Andy Grover's avatar
      x86: Document get_user_pages_fast() · a0d22f48
      Andy Grover authored
      While better than get_user_pages(), the usage of gupf(),
      especially the return values and the fact that it can
      potentially only partially pin the range, warranted some
      documentation.
      Signed-off-by: default avatarAndy Grover <andy.grover@oracle.com>
      Cc: npiggin@suse.de
      Cc: akpm@linux-foundation.org
      LKML-Reference: <1239320729-3262-1-git-send-email-andy.grover@oracle.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      a0d22f48
    • Weidong Han's avatar
      x86, intr-remap: fix eoi for interrupt remapping without x2apic · 746cddd3
      Weidong Han authored
      To simplify level irq migration in the presence of interrupt-remapping,
      Suresh used a virtual vector (io-apic pin number) to eliminate io-apic
      RTE modification. Level triggered interrupt will appear as an edge to
      the local apic cpu but still as level to the IO-APIC. So in addition to
      do the local apic EOI, it still needs to do IO-APIC directed EOI to clear
      the remote IRR bit in the IO-APIC RTE. Pls refer to Suresh's patch for
      more details (commit 0280f7c4).
      
      Now interrupt remapping is decoupled from x2apic, it also needs to do the
      directed EOI for apic. Otherwise, apic interrupts won't work correctly.
      Signed-off-by: default avatarWeidong Han <weidong.han@intel.com>
      Cc: iommu@lists.linux-foundation.org
      Cc: Weidong Han <weidong.han@intel.com>
      Cc: suresh.b.siddha@intel.com
      Cc: dwmw2@infradead.org
      Cc: allen.m.kay@intel.com
      LKML-Reference: <1239355037-22856-1-git-send-email-weidong.han@intel.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      746cddd3
  3. 09 Apr, 2009 1 commit
  4. 08 Apr, 2009 4 commits
  5. 07 Apr, 2009 29 commits