1. 05 7月, 2010 1 次提交
    • W
      ARM: 6205/1: perf: ensure counter delta is treated as unsigned · 446a5a8b
      Will Deacon 提交于
      Hardware performance counters on ARM are 32-bits wide but atomic64_t
      variables are used to represent counter data in the hw_perf_event structure.
      
      The armpmu_event_update function right-shifts a signed 64-bit delta variable
      and adds the result to the event count. This can lead to shifting in sign-bits
      if the MSB of the 32-bit counter value is set. This results in perf output
      such as:
      
       Performance counter stats for 'sleep 20':
      
       18446744073460670464  cycles             <-- 0xFFFFFFFFF12A6000
              7783773  instructions             #      0.000 IPC
                  465  context-switches
                  161  page-faults
              1172393  branches
      
         20.154242147  seconds time elapsed
      
      This patch ensures that the delta value is treated as unsigned so that the
      right shift sets the upper bits to zero.
      
      Cc: <stable@kernel.org>
      Acked-by: NJamie Iles <jamie.iles@picochip.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      446a5a8b
  2. 02 7月, 2010 2 次提交
  3. 01 7月, 2010 8 次提交
  4. 28 6月, 2010 1 次提交
  5. 24 6月, 2010 1 次提交
  6. 17 6月, 2010 1 次提交
  7. 14 6月, 2010 1 次提交
  8. 13 6月, 2010 3 次提交
  9. 10 6月, 2010 3 次提交
  10. 09 6月, 2010 7 次提交
  11. 08 6月, 2010 1 次提交
    • D
      msm: dma: add completion.h header · 6d7b7d57
      Daniel Walker 提交于
      At some point this was exposed (not sure how),
      
      linux-2.6/arch/arm/mach-msm/dma.c:92: error: field 'complete' has incomplete type
      linux-2.6/arch/arm/mach-msm/dma.c: In function 'dmov_exec_cmdptr_complete_func':
      linux-2.6/arch/arm/mach-msm/dma.c:108: error: implicit declaration of function 'complete'
      linux-2.6/arch/arm/mach-msm/dma.c: In function 'msm_dmov_exec_cmd':
      linux-2.6/arch/arm/mach-msm/dma.c:120: error: implicit declaration of function 'init_completion'
      linux-2.6/arch/arm/mach-msm/dma.c:123: error: implicit declaration of function 'wait_for_completion'
      
      and the fix is just to add the header.
      Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
      6d7b7d57
  12. 31 5月, 2010 2 次提交
  13. 28 5月, 2010 9 次提交