1. 03 12月, 2015 1 次提交
    • A
      ARM: 8457/1: psci-smp is built only for SMP · be95485a
      Arnd Bergmann 提交于
      The PSCI SMP implementation is built only when both CONFIG_SMP and
      CONFIG_ARM_PSCI are set, so a configuration that has the latter
      but not the former can get a link error when it tries to call
      psci_smp_available().
      
      arch/arm/mach-tegra/built-in.o: In function `tegra114_cpuidle_init':
      cpuidle-tegra114.c:(.init.text+0x52a): undefined reference to `psci_smp_available'
      
      This corrects the #ifdef in the psci.h header file to match the
      Makefile conditional we have for building that function.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      be95485a
  2. 02 12月, 2015 1 次提交
  3. 03 8月, 2015 1 次提交
    • M
      ARM: migrate to common PSCI client code · be120397
      Mark Rutland 提交于
      Now that the common PSCI client code has been factored out to
      drivers/firmware, and made safe for 32-bit use, move the 32-bit ARM code
      over to it. This results in a moderate reduction of duplicated lines,
      and will prevent further duplication as the PSCI client code is updated
      for PSCI 1.0 and beyond.
      
      The two legacy platform users of the PSCI invocation code are updated to
      account for interface changes. In both cases the power state parameter
      (which is constant) is now generated using macros, so that the
      pack/unpack logic can be killed in preparation for PSCI 1.0 power state
      changes.
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Acked-by: NRob Herring <robh@kernel.org>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Ashwin Chaugule <ashwin.chaugule@linaro.org>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Will Deacon <will.deacon@arm.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      be120397
  4. 27 5月, 2014 1 次提交
  5. 15 5月, 2014 1 次提交
  6. 21 5月, 2013 1 次提交
    • S
      arm: introduce psci_smp_ops · 05774088
      Stefano Stabellini 提交于
      Rename virt_smp_ops to psci_smp_ops and move them to arch/arm/kernel/psci_smp.c.
      Remove mach-virt/platsmp.c, now unused.
      Compile psci_smp if CONFIG_ARM_PSCI and CONFIG_SMP.
      
      Add a cpu_die smp_op based on psci_ops.cpu_off.
      
      Initialize PSCI before setting smp_ops in setup_arch.
      
      If PSCI is available on the platform, prefer psci_smp_ops over the
      platform smp_ops.
      Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Acked-by: NWill Deacon <will.deacon@arm.com>
      CC: arnd@arndb.de
      CC: marc.zyngier@arm.com
      CC: linux@arm.linux.org.uk
      CC: nico@linaro.org
      CC: rob.herring@calxeda.com
      05774088
  7. 11 1月, 2013 1 次提交