1. 23 7月, 2014 1 次提交
    • P
      ARM: EXYNOS: Refactored code for using PMU address via DT · 2e94ac42
      Pankaj Dubey 提交于
      Under "arm/mach-exynos" many files are using PMU register offsets.
      Since we have added support for accessing PMU base address via DT,
      now we can remove PMU mapping from exynosX_iodesc. Let's convert
      all these access using iomapped address.
      This will help us in removing static mapping of PMU base address
      as well as help in reducing dependency over machine header files.
      Thus helping for migration of PMU implementation from machine to
      driver folder which can be reused for ARM64 based SoC.
      
      Also as we have removed static mappings from "regs-pmu.h" it does
      not need map.h anymore. But "platsmp.c" needed this and till now it
      got included indirectly. So lets move header inclusion of
      "mach/map.h" from "regs-pmu.h" to "platsmp.c".
      Signed-off-by: NPankaj Dubey <pankaj.dubey@samsung.com>
      Reviewed-by: NTomasz Figa <t.figa@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      2e94ac42
  2. 20 7月, 2014 1 次提交
    • K
      ARM: EXYNOS: Fix build breakge with PM_SLEEP=n · 7310d99f
      Krzysztof Kozlowski 提交于
      Fix building of exynos_defconfig with disabled PM_SLEEP:
      CONFIG_PM_SLEEP=n
      CONFIG_PM_SLEEP_SMP=n
      CONFIG_SUSPEND=n
      by moving functions for power up/down of CPU and cluster to platsmp.c
      
      The build error messages:
      arch/arm/mach-exynos/built-in.o: In function `exynos_boot_secondary':
      arch/arm/mach-exynos/platsmp.c:111: undefined reference to `exynos_cpu_power_state'
      arch/arm/mach-exynos/platsmp.c:112: undefined reference to `exynos_cpu_power_up'
      arch/arm/mach-exynos/platsmp.c:116: undefined reference to `exynos_cpu_power_state'
      make: *** [vmlinux] Error 1
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Reviewed-by: Tomasz Figa <t.figa@samsung.com>,
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      7310d99f
  3. 19 7月, 2014 1 次提交
  4. 15 7月, 2014 1 次提交
  5. 18 6月, 2014 1 次提交
    • A
      ARM: EXYNOS: fix pm code to check for cortex A9 rather than the SoC · c0c3c359
      Abhilash Kesavan 提交于
      We have an soc check to ensure that the scu and certain A9 specific
      registers are not accessed on Exynos5250 (which is A15 based).
      Rather than adding another soc specific check for 5420 let us test
      for the Cortex A9 primary part number.
      
      This resolves the below crash seen on exynos5420 during core switching
      after the CPUIdle consolidation series was merged.
      
      [  155.975589] [<c0013174>] (scu_enable) from [<c001b0dc>] (exynos_cpu_pm_notifier+0x80/0xc4)
      [  155.983833] [<c001b0dc>] (exynos_cpu_pm_notifier) from [<c003c1b0>] (notifier_call_chain+0x44/0x84)
      [  155.992851] [<c003c1b0>] (notifier_call_chain) from [<c007a49c>] (cpu_pm_notify+0x20/0x3c)
      [  156.001089] [<c007a49c>] (cpu_pm_notify) from [<c007a564>] (cpu_pm_exit+0x20/0x38)
      [  156.008635] [<c007a564>] (cpu_pm_exit) from [<c0019e98>] (bL_switcher_thread+0x298/0x40c)
      [  156.016788] [<c0019e98>] (bL_switcher_thread) from [<c003842c>] (kthread+0xcc/0xe8)
      [  156.024426] [<c003842c>] (kthread) from [<c000e438>] (ret_from_fork+0x14/0x3c)
      [  156.031621] Code: ea017fec c0530a00 c052e3f8 c0012dcc (e5903000
      Signed-off-by: NAbhilash Kesavan <a.kesavan@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      c0c3c359
  6. 26 5月, 2014 9 次提交
  7. 16 5月, 2014 2 次提交
  8. 21 3月, 2014 3 次提交
  9. 14 2月, 2014 1 次提交
  10. 19 12月, 2013 3 次提交
  11. 12 12月, 2013 1 次提交
  12. 16 7月, 2013 1 次提交
  13. 19 6月, 2013 1 次提交
  14. 31 1月, 2013 1 次提交
    • A
      ARM: SAMSUNG: Gracefully exit on suspend failure · d3fcacf5
      Abhilash Kesavan 提交于
      As per the Exynos5250 User Manual:
      When there are pending interrupt events, WFI/WFE instruction are
      ignored. To cancel the power-down sequence follow these steps:
      1) Disable system power-down using CENTRAL_SEQ_CONFIGURATION register
      2) Clear WAKEUP_STAT register
      3) Enable interrupt service routine for CPU
      
      Code for early wakeup for exynos already exists. Remove the panic
      on suspend failure, clear the wakeup state register and return 1
      from cpu_suspend to indicate a failed suspend (to a user daemon).
      
      Older Samsung SoCs have similar panics and I have removed them all.
      Haven't touched the S3C2410 sleep code.
      Signed-off-by: NAbhilash Kesavan <a.kesavan@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      d3fcacf5
  15. 11 1月, 2013 1 次提交
  16. 28 11月, 2012 2 次提交
  17. 20 11月, 2012 1 次提交
  18. 20 5月, 2012 4 次提交
  19. 16 5月, 2012 1 次提交
  20. 14 5月, 2012 1 次提交
  21. 11 3月, 2012 1 次提交
  22. 09 3月, 2012 1 次提交
  23. 27 1月, 2012 1 次提交