Skip to content
Snippets Groups Projects
This project is mirrored from https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git. Pull mirroring updated .
  1. Jun 23, 2009
  2. Jun 11, 2009
  3. Jun 10, 2009
  4. Jun 08, 2009
  5. Jun 05, 2009
  6. Jun 04, 2009
  7. Jun 02, 2009
  8. May 30, 2009
  9. May 29, 2009
  10. May 28, 2009
    • Mathieu Desnoyers's avatar
      [ARM] Add cmpxchg support for ARMv6+ systems (v5) · ecd322c9
      Mathieu Desnoyers authored
      
      Add cmpxchg/cmpxchg64 support for ARMv6K and ARMv7 systems
      (original patch from Catalin Marinas <catalin.marinas@arm.com>)
      
      The cmpxchg and cmpxchg64 functions can be implemented using the
      LDREX*/STREX* instructions. Since operand lengths other than 32bit are
      required, the full implementations are only available if the ARMv6K
      extensions are present (for the LDREXB, LDREXH and LDREXD instructions).
      
      For ARMv6, only 32-bits cmpxchg is available.
      
      Mathieu :
      
      Make cmpxchg_local always available with best implementation for all type sizes (1, 2, 4 bytes).
      Make cmpxchg64_local always available.
      
      Use "Ir" constraint for "old" operand, like atomic.h atomic_cmpxchg does.
      
      Change since v3 :
      - Add "memory" clobbers (thanks to Nicolas Pitre)
      - removed __asmeq(), only needed for old compilers, very unlikely on ARMv6+.
      
      Note : ARMv7-M should eventually be ifdefed-out of cmpxchg64. But it's not
      supported by the Linux kernel currently.
      
      Put back arm < v6 cmpxchg support.
      
      Signed-off-by: default avatarMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      CC: Catalin Marinas <catalin.marinas@arm.com>
      CC: Nicolas Pitre <nico@cam.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      ecd322c9
    • Russell King's avatar
      [ARM] barriers: improve xchg, bitops and atomic SMP barriers · bac4e960
      Russell King authored
      
      Mathieu Desnoyers pointed out that the ARM barriers were lacking:
      
      - cmpxchg, xchg and atomic add return need memory barriers on
        architectures which can reorder the relative order in which memory
        read/writes can be seen between CPUs, which seems to include recent
        ARM architectures. Those barriers are currently missing on ARM.
      
      - test_and_xxx_bit were missing SMP barriers.
      
      So put these barriers in.  Provide separate atomic_add/atomic_sub
      operations which do not require barriers.
      
      Reported-Reviewed-and-Acked-by: default avatarMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      bac4e960
    • Paulius Zaleckas's avatar
  11. May 27, 2009
  12. May 26, 2009
  13. May 25, 2009
    • Avi Kivity's avatar
      KVM: Fix PDPTR reloading on CR4 writes · a2edf57f
      Avi Kivity authored
      
      The processor is documented to reload the PDPTRs while in PAE mode if any
      of the CR4 bits PSE, PGE, or PAE change.  Linux relies on this
      behaviour when zapping the low mappings of PAE kernels during boot.
      
      The code already handled changes to CR4.PAE; augment it to also notice changes
      to PSE and PGE.
      
      This triggered while booting an F11 PAE kernel; the futex initialization code
      runs before any CR3 reloads and writes to a NULL pointer; the futex subsystem
      ended up uninitialized, killing PI futexes and pulseaudio which uses them.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
      a2edf57f
    • Avi Kivity's avatar
      KVM: Make paravirt tlb flush also reload the PAE PDPTRs · a8cd0244
      Avi Kivity authored
      
      The paravirt tlb flush may be used not only to flush TLBs, but also
      to reload the four page-directory-pointer-table entries, as it is used
      as a replacement for reloading CR3.  Change the code to do the entire
      CR3 reloading dance instead of simply flushing the TLB.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
      a8cd0244
    • Tejun Heo's avatar
      x86: Remove remap percpu allocator for the time being · 71c9d8b6
      Tejun Heo authored
      Remap percpu allocator has subtle bug when combined with page
      attribute changing.  Remap percpu allocator aliases PMD pages for the
      first chunk and as pageattr doesn't know about the alias it ends up
      updating page attributes of the original mapping thus leaving the
      alises in inconsistent state which might lead to subtle data
      corruption.  Please read the following threads for more information:
      
        http://thread.gmane.org/gmane.linux.kernel/835783
      
      The following is the proposed fix which teaches pageattr about percpu
      aliases.
      
        http://thread.gmane.org/gmane.linux.kernel/837157
      
      
      
      However, the above changes are deemed too pervasive for upstream
      inclusion for 2.6.30 release, so this patch essentially disables
      the remap allocator for the time being.
      
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      LKML-Reference: <4A1A0A27.4050301@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      71c9d8b6
  14. May 23, 2009
  15. May 22, 2009
Loading