1. 17 1月, 2015 1 次提交
  2. 30 10月, 2014 1 次提交
    • M
      bus: cci: move away from arm_pmu framework · c6f85cb4
      Mark Rutland 提交于
      The ARM CPU PMUs and the ARM CCI PMU are using the same framework
      despite being substantially different in programming model, which makes
      it difficult to handle either particularly well.
      
      This patch migrates the ARM CCI PMU driver away from the arm_pmu
      framework, matching the style of the CCN PMU driver and other 'uncore'
      PMU drivers. This will enable refactoring of the arm_pmu framework to
      better support CPU PMUs. Event context migration on hotplug is not yet
      added due to a race on event->ctx in the core perf code.
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Acked-by: NPunit Agrawal <punit.agrawal@arm.com>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Will Deacon <will.deacon@arm.com>
      [will: fix whitespace issues]
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      c6f85cb4
  3. 31 7月, 2014 1 次提交
  4. 26 2月, 2014 2 次提交
  5. 01 2月, 2014 1 次提交
  6. 20 10月, 2013 1 次提交
  7. 24 9月, 2013 1 次提交
  8. 17 9月, 2013 1 次提交
  9. 21 8月, 2013 1 次提交
  10. 03 6月, 2013 1 次提交
    • A
      drivers/bus: arm-cci: fix combined ARMv6+v7 build · f4902492
      Arnd Bergmann 提交于
      When we build a kernel with support for both ARMv6 and ARMv7,
      gas is trying to be helpful by pointing out that the arm-cci
      driver would not work on ARMv6:
      
      /tmp/ccu1LDeU.s: Assembler messages:
      /tmp/ccu1LDeU.s:450: Error: selected processor does not support ARM mode `wfi '
      /tmp/ccu1LDeU.s:451: Error: selected processor does not support ARM mode `wfe '
      make[4]: *** [drivers/bus/arm-cci.o] Error 1
      
      We know that the driver will only be used on ARMv7, hence we
      can annotate the inline assembly listing to allow those instructions.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Cc: Dave Martin <dave.martin@linaro.org>
      f4902492
  11. 30 5月, 2013 2 次提交
    • N
      drivers/bus: arm-cci: function to enable CCI ports from early boot code · 62158f81
      Nicolas Pitre 提交于
      This provides cci_enable_port_for_self().  This is the counterpart to
      cci_disable_port_by_cpu(self).
      
      This is meant to be called from the MCPM machine specific power_up_setup
      callback code when the appropriate affinity level needs to be initialized.
      The code therefore has to be position independent as the MMU is still off
      and it cannot rely on any stack space.
      Signed-off-by: NNicolas Pitre <nico@linaro.org>
      Reviewed-by: NDave Martin <dave.martin@linaro.org>
      62158f81
    • L
      drivers: bus: add ARM CCI support · ed69bdd8
      Lorenzo Pieralisi 提交于
      On ARM multi-cluster systems coherency between cores running on
      different clusters is managed by the cache-coherent interconnect (CCI).
      It allows broadcasting of TLB invalidates and memory barriers and it
      guarantees cache coherency at system level through snooping of slave
      interfaces connected to it.
      
      This patch enables the basic infrastructure required in Linux to handle and
      programme the CCI component.
      
      Non-local variables used by the CCI management functions called by power
      down function calls after disabling the cache must be flushed out to main
      memory in advance, otherwise incoherency of those values may occur if they
      are sitting in the cache of some other CPU when power down functions
      execute. Driver code ensures that relevant data structures are flushed
      from inner and outer caches after the driver probe is completed.
      
      CCI slave port resources are linked to set of CPUs through bus masters
      phandle properties that link the interface resources to masters node in
      the device tree.
      
      Documentation describing the CCI DT bindings is provided with the patch.
      Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      ed69bdd8