1. 17 12月, 2015 1 次提交
  2. 07 10月, 2015 2 次提交
  3. 17 9月, 2015 1 次提交
  4. 31 7月, 2015 1 次提交
    • W
      ARM: perf: extend interrupt-affinity property for PPIs · b6c084d7
      Will Deacon 提交于
      On systems containing multiple, heterogeneous clusters we need a way to
      associate a PMU "device" with the CPU(s) on which it exists. For PMUs
      that signal overflow with SPIs, this relationship is determined via the
      "interrupt-affinity" property, which contains a list of phandles to CPU
      nodes for the PMU. For PMUs using PPIs, the per-cpu nature of the
      interrupt isn't enough to determine the set of CPUs which actually
      contain the device.
      
      This patch allows the interrupt-affinity property to be specified on a
      PMU node irrespective of the interrupt type. For PPIs, it identifies
      the set of CPUs signalling the PPI in question.
      
      Tested-by: Stephen Boyd <sboyd@codeaurora.org> # Krait PMU
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      b6c084d7
  5. 24 3月, 2015 1 次提交
  6. 18 3月, 2015 1 次提交
    • S
      ARM: perf: Add support for Scorpion PMUs · 341e42c4
      Stephen Boyd 提交于
      Scorpion supports a set of local performance monitor event
      selection registers (LPM) sitting behind a cp15 based interface
      that extend the architected PMU events to include Scorpion CPU
      and Venum VFP specific events. To use these events the user is
      expected to program the lpm register with the event code shifted
      into the group they care about and then point the PMNx event at
      that region+group combo by writing a LPMn_GROUPx event. Add
      support for this hardware.
      
      Note: the raw event number is a pure software construct that
      allows us to map the multi-dimensional number space of regions,
      groups, and event codes into a flat event number space suitable
      for use by the perf framework.
      
      This is based on code originally written by Sheetal Sahasrabudhe,
      Ashwin Chaugule, and Neil Leeder [1].
      
      [1] https://www.codeaurora.org/cgit/quic/la/kernel/msm/tree/arch/arm/kernel/perf_event_msm.c?h=msm-3.4
      
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Neil Leeder <nleeder@codeaurora.org>
      Cc: Ashwin Chaugule <ashwinc@codeaurora.org>
      Cc: Sheetal Sahasrabudhe <sheetals@codeaurora.org>
      Cc: <devicetree@vger.kernel.org>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      341e42c4
  7. 26 5月, 2014 1 次提交
  8. 21 2月, 2014 2 次提交
  9. 03 12月, 2013 1 次提交
  10. 23 8月, 2012 1 次提交
  11. 29 6月, 2011 1 次提交
    • M
      ARM: 6976/1: pmu: add OF probing support · e73c34c3
      Mark Rutland 提交于
      This is based on an earlier patch from Rob Herring <rob.herring@calxeda.com>
      
      > Add OF match table to enable OF style driver binding. The dts entry is like
      > this:
      >
      > pmu {
      > 	compatible = "arm,cortex-a9-pmu";
      > 	interrupts = <100 101>;
      > };
      >
      > The use of pdev->id as an index breaks with OF device binding, so set the type
      > based on the OF compatible string.
      
      This modification sets the PMU hardware type based on data embedded in the
      binding, allowing easy addition of new PMU types in future.
      
      Support for new PMU types not provided by devicetree can be added later using
      platform_device_id tables in a similar fashion.
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Acked-by: NJamie Iles <jamie@jamieiles.com>
      Acked-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e73c34c3