1. 04 1月, 2018 1 次提交
  2. 28 2月, 2017 1 次提交
  3. 05 11月, 2016 1 次提交
  4. 21 6月, 2016 1 次提交
  5. 25 2月, 2016 2 次提交
  6. 02 12月, 2015 1 次提交
  7. 21 7月, 2015 1 次提交
  8. 06 6月, 2015 5 次提交
  9. 14 5月, 2015 1 次提交
    • K
      ARM: EXYNOS: Fix failed second suspend on Exynos4 · 6f024978
      Krzysztof Kozlowski 提交于
      On Exynos4412 boards (Trats2, Odroid U3) after enabling L2 cache in
      56b60b8b ("ARM: 8265/1: dts: exynos4: Add nodes for L2 cache
      controller") the second suspend to RAM failed. First suspend worked fine
      but the next one hang just after powering down of secondary CPUs (system
      consumed energy as it would be running but was not responsive).
      
      The issue was caused by enabling delayed reset assertion for CPU0 just
      after issuing power down of cores. This was introduced for Exynos4 in
      13cfa6c4 ("ARM: EXYNOS: Fix CPU idle clock down after CPU off").
      
      The whole behavior is not well documented but after checking with vendor
      code this should be done like this (on Exynos4):
      1. Enable delayed reset assertion when system is running (for all CPUs).
      2. Disable delayed reset assertion before suspending the system.
         This can be done after powering off secondary CPUs.
      3. Re-enable the delayed reset assertion when system is resumed.
      
      Fixes: 13cfa6c4 ("ARM: EXYNOS: Fix CPU idle clock down after CPU off")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Tested-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Tested-by: NChanwoo Choi <cw00.choi@samsung.com>
      Signed-off-by: NKukjin Kim <kgene@kernel.org>
      6f024978
  10. 27 3月, 2015 1 次提交
  11. 27 2月, 2015 1 次提交
  12. 30 1月, 2015 1 次提交
    • B
      cpuidle: exynos: add coupled cpuidle support for exynos4210 · 712eddf7
      Bartlomiej Zolnierkiewicz 提交于
      The following patch adds coupled cpuidle support for Exynos4210 to
      an existing cpuidle-exynos driver.  As a result it enables AFTR mode
      to be used by default on Exynos4210 without the need to hot unplug
      CPU1 first.
      
      The patch is heavily based on earlier cpuidle-exynos4210 driver from
      Daniel Lezcano:
      
      http://www.spinics.net/lists/linux-samsung-soc/msg28134.html
      
      Changes from Daniel's code include:
      - porting code to current kernels
      - fixing it to work on my setup (by using S5P_INFORM register
        instead of S5P_VA_SYSRAM one on Revison 1.1 and retrying poking
        CPU1 out of the BOOT ROM if necessary)
      - fixing rare lockup caused by waiting for CPU1 to get stuck in
        the BOOT ROM (CPU hotplug code in arch/arm/mach-exynos/platsmp.c
        doesn't require this and works fine)
      - moving Exynos specific code to arch/arm/mach-exynos/pm.c
      - using cpu_boot_reg_base() helper instead of BOOT_VECTOR macro
      - using exynos_cpu_*() helpers instead of accessing registers
        directly
      - using arch_send_wakeup_ipi_mask() instead of dsb_sev()
        (this matches CPU hotplug code in arch/arm/mach-exynos/platsmp.c)
      - integrating separate exynos4210-cpuidle driver into existing
        exynos-cpuidle one
      
      Cc: Colin Cross <ccross@google.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
      Cc: Tomasz Figa <tomasz.figa@gmail.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NKukjin Kim <kgene@kernel.org>
      712eddf7
  13. 21 11月, 2014 1 次提交
  14. 20 10月, 2014 4 次提交
  15. 14 9月, 2014 1 次提交
  16. 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
  17. 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
  18. 19 7月, 2014 1 次提交
  19. 18 7月, 2014 1 次提交
    • R
      ARM: make it easier to check the CPU part number correctly · af040ffc
      Russell King 提交于
      Ensure that platform maintainers check the CPU part number in the right
      manner: the CPU part number is meaningless without also checking the
      CPU implement(e|o)r (choose your preferred spelling!)  Provide an
      interface which returns both the implementer and part number together,
      and update the definitions to include the implementer.
      
      Mark the old function as being deprecated... indeed, using the old
      function with the definitions will now always evaluate as false, so
      people must update their un-merged code to the new function.  While
      this could be avoided by adding new definitions, we'd also have to
      create new names for them which would be awkward.
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      af040ffc
  20. 15 7月, 2014 1 次提交
  21. 17 6月, 2014 1 次提交
  22. 31 5月, 2014 1 次提交
  23. 26 5月, 2014 2 次提交
  24. 16 5月, 2014 1 次提交
  25. 15 5月, 2014 1 次提交
  26. 21 3月, 2014 1 次提交
  27. 19 12月, 2013 2 次提交
  28. 12 12月, 2013 1 次提交
  29. 15 7月, 2013 1 次提交
    • P
      arm: delete __cpuinit/__CPUINIT usage from all ARM users · 8bd26e3a
      Paul Gortmaker 提交于
      The __cpuinit type of throwaway sections might have made sense
      some time ago when RAM was more constrained, but now the savings
      do not offset the cost and complications.  For example, the fix in
      commit 5e427ec2 ("x86: Fix bit corruption at CPU resume time")
      is a good example of the nasty type of bugs that can be created
      with improper use of the various __init prefixes.
      
      After a discussion on LKML[1] it was decided that cpuinit should go
      the way of devinit and be phased out.  Once all the users are gone,
      we can then finally remove the macros themselves from linux/init.h.
      
      Note that some harmless section mismatch warnings may result, since
      notify_cpu_starting() and cpu_up() are arch independent (kernel/cpu.c)
      and are flagged as __cpuinit  -- so if we remove the __cpuinit from
      the arch specific callers, we will also get section mismatch warnings.
      As an intermediate step, we intend to turn the linux/init.h cpuinit
      related content into no-ops as early as possible, since that will get
      rid of these warnings.  In any case, they are temporary and harmless.
      
      This removes all the ARM uses of the __cpuinit macros from C code,
      and all __CPUINIT from assembly code.  It also had two ".previous"
      section statements that were paired off against __CPUINIT
      (aka .section ".cpuinit.text") that also get removed here.
      
      [1] https://lkml.org/lkml/2013/5/20/589
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      8bd26e3a
  30. 19 6月, 2013 1 次提交