1. 09 12月, 2011 21 次提交
  2. 07 12月, 2011 1 次提交
  3. 06 12月, 2011 5 次提交
  4. 03 12月, 2011 1 次提交
  5. 02 12月, 2011 12 次提交
    • W
    • M
      arm: pmu: allow platform specific irq enable/disable handling · e0516a64
      Ming Lei 提交于
      This patch introduces .enable_irq and .disable_irq into
      struct arm_pmu_platdata, so platform specific irq enablement
      can be handled after request_irq, and platform specific irq
      disablement can be handled before free_irq.
      
      This patch is for support of  pmu irq routed from CTI on omap4.
      Acked-by: NJean Pihet <j-pihet@ti.com>
      Reviewed-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NMing Lei <ming.lei@canonical.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      e0516a64
    • M
      arm: introduce cross trigger interface helpers · 14eec97f
      Ming Lei 提交于
      OMAP4 uses cross trigger interface(CTI) to route
      performance monitor irq to GIC, so introduce cti
      helpers to make access for cti easily.
      Acked-by: NJean Pihet <j-pihet@ti.com>
      Signed-off-by: NMing Lei <ming.lei@canonical.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      14eec97f
    • W
      ARM: perf: remove unused armpmu_get_max_events · feb45d06
      Will Deacon 提交于
      armpmu_get_max_events is only called from perf_num_counters, so we can
      inline it there. It existed as a separate entity as a hangover from
      the original perf-based oprofile implementation.
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      feb45d06
    • W
      ARM: perf: add support for stalled cycle ABI events · 0445e7a5
      Will Deacon 提交于
      Commit 8f622422 ("perf events: Add generic front-end and back-end
      stalled cycle event definitions") added two new ABI events for counting
      stalled cycles.
      
      This patch adds support for these new events to the ARM perf
      implementation.
      
      Cc: Jamie Iles <jamie@jamieiles.com>
      Cc: Jean Pihet <j-pihet@ti.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      0445e7a5
    • W
      ARM: perf: clean and update ARMv7 event numbers · 4d301512
      Will Deacon 提交于
      This patch updates the ARMv7 perf event numbers so that:
      
      (1) A consistent naming scheme is used between different CPUs.
      
      (2) Only events actually used by Linux are described.
      
      (3) Where possible, architected events are used in preference to
          CPU-specific events.
      
      This results in the removal of a load of unused, hardcoded data and
      makes it more clear as to which events are supported on each PMU.
      
      Cc: Jean Pihet <j-pihet@ti.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      4d301512
    • A
      ARM: exynos4: Fix build error · e1d95eaf
      Axel Lin 提交于
      Trivial fix to fix below build error:
      
        CC      arch/arm/mach-exynos/mach-universal_c210.o
      arch/arm/mach-exynos/mach-universal_c210.c:24: error: expected identifier or '(' before '<' token
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      e1d95eaf
    • A
      ARM: exynos4: Fix build error due to 'gic_bank_offset' undeclared · 69676c37
      Axel Lin 提交于
      Fix below build error:
        CC      arch/arm/mach-exynos/cpu.o
      arch/arm/mach-exynos/cpu.c: In function 'exynos4_init_irq':
      arch/arm/mach-exynos/cpu.c:245: error: 'gic_bank_offset' undeclared (first use in this function)
      arch/arm/mach-exynos/cpu.c:245: error: (Each undeclared identifier is reported only once
      arch/arm/mach-exynos/cpu.c:245: error: for each function it appears in.)
      arch/arm/mach-exynos/cpu.c:243: warning: unused variable 'bank_offset'
      make[1]: *** [arch/arm/mach-exynos/cpu.o] Error 1
      make: *** [arch/arm/mach-exynos] Error 2
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      69676c37
    • L
      Linux 3.2-rc4 · 5611cc45
      Linus Torvalds 提交于
      5611cc45
    • L
      Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2 · 0a4ebed7
      Linus Torvalds 提交于
      * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2: (31 commits)
        ocfs2: avoid unaligned access to dqc_bitmap
        ocfs2: Use filemap_write_and_wait() instead of write_inode_now()
        ocfs2: honor O_(D)SYNC flag in fallocate
        ocfs2: Add a missing journal credit in ocfs2_link_credits() -v2
        ocfs2: send correct UUID to cleancache initialization
        ocfs2: Commit transactions in error cases -v2
        ocfs2: make direntry invalid when deleting it
        fs/ocfs2/dlm/dlmlock.c: free kmem_cache_zalloc'd data using kmem_cache_free
        ocfs2: Avoid livelock in ocfs2_readpage()
        ocfs2: serialize unaligned aio
        ocfs2: Implement llseek()
        ocfs2: Fix ocfs2_page_mkwrite()
        ocfs2: Add comment about orphan scanning
        ocfs2: Clean up messages in the fs
        ocfs2/cluster: Cluster up now includes network connections too
        ocfs2/cluster: Add new function o2net_fill_node_map()
        ocfs2/cluster: Fix output in file elapsed_time_in_ms
        ocfs2/dlm: dlmlock_remote() needs to account for remastery
        ocfs2/dlm: Take inflight reference count for remotely mastered resources too
        ocfs2/dlm: Cleanup dlm_wait_for_node_death() and dlm_wait_for_node_recovery()
        ...
      0a4ebed7
    • A
      ocfs2: avoid unaligned access to dqc_bitmap · 93925579
      Akinobu Mita 提交于
      The dqc_bitmap field of struct ocfs2_local_disk_chunk is 32-bit aligned,
      but not 64-bit aligned.  The dqc_bitmap is accessed by ocfs2_set_bit(),
      ocfs2_clear_bit(), ocfs2_test_bit(), or ocfs2_find_next_zero_bit().  These
      are wrapper macros for ext2_*_bit() which need to take an unsigned long
      aligned address (though some architectures are able to handle unaligned
      address correctly)
      
      So some 64bit architectures may not be able to access the dqc_bitmap
      correctly.
      
      This avoids such unaligned access by using another wrapper functions for
      ext2_*_bit().  The code is taken from fs/ext4/mballoc.c which also need to
      handle unaligned bitmap access.
      Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com>
      Acked-by: NJoel Becker <jlbec@evilplan.org>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJoel Becker <jlbec@evilplan.org>
      93925579
    • L
      Merge branch 'fixes' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm · 3b120ab7
      Linus Torvalds 提交于
      * 'fixes' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm:
        ARM: 7182/1: ARM cpu topology: fix warning
        ARM: 7181/1: Restrict kprobes probing SWP instructions to ARMv5 and below
        ARM: 7180/1: Change kprobes testcase with unpredictable STRD instruction
        ARM: 7177/1: GIC: avoid skipping non-existent PPIs in irq_start calculation
        ARM: 7176/1: cpu_pm: register GIC PM notifier only once
        ARM: 7175/1: add subname parameter to mfp_set_groupg callers
        ARM: 7174/1: Fix build error in kprobes test code on Thumb2 kernels
        ARM: 7172/1: dma: Drop GFP_COMP for DMA memory allocations
        ARM: 7171/1: unwind: add unwind directives to bitops assembly macros
        ARM: 7170/2: fix compilation breakage in entry-armv.S
        ARM: 7168/1: use cache type functions for arch_get_unmapped_area
        ARM: perf: check that we have a platform device when reserving PMU
        ARM: 7166/1: Use PMD_SHIFT instead of PGDIR_SHIFT in dma-consistent.c
        ARM: 7165/2: PL330: Fix typo in _prepare_ccr()
        ARM: 7163/2: PL330: Only register usable channels
        ARM: 7162/1: errata: tidy up Kconfig options for PL310 errata workarounds
        ARM: 7161/1: errata: no automatic store buffer drain
        ARM: perf: initialise used_mask for fake PMU during validation
        ARM: PMU: remove pmu_init declaration
        ARM: PMU: re-export release_pmu symbol to modules
      3b120ab7