1. 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
  2. 27 3月, 2015 1 次提交
  3. 19 3月, 2015 1 次提交
  4. 18 3月, 2015 1 次提交
  5. 19 2月, 2015 1 次提交
    • U
      ARM: make arrays containing machine compatible strings const · 543c5040
      Uwe Kleine-König 提交于
      The definition
      
      	static const char *axxia_dt_match[] __initconst = {
      		...
      
      defines a changable array of constant strings. That is you must not do:
      
      	*axxia_dt_match[0] = 'k';
      
      but
      
      	axxia_dt_match[0] = "different string";
      
      is fine. So the annotation __initconst is wrong and yields a compiler
      error when other really const variables are added with __initconst.
      
      As the struct machine_desc member dt_compat is declared as
      
      	const char *const *dt_compat;
      
      making the arrays const is the better alternative over changing all
      annotations to __initdata.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      543c5040
  6. 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
  7. 12 1月, 2015 1 次提交
  8. 09 1月, 2015 1 次提交
  9. 22 11月, 2014 2 次提交
  10. 21 11月, 2014 1 次提交
  11. 13 11月, 2014 1 次提交
  12. 20 10月, 2014 1 次提交
  13. 24 9月, 2014 1 次提交
  14. 09 9月, 2014 1 次提交
  15. 30 7月, 2014 1 次提交
    • L
      arm: Add devicetree fixup machine function · 5a12a597
      Laura Abbott 提交于
      Commit 1c2f87c2
      (ARM: 8025/1: Get rid of meminfo) dropped the upper bound on
      the number of memory banks that can be added as there was no
      technical need in the kernel. It turns out though, some bootloaders
      (specifically the arndale-octa exynos boards) may pass invalid memory
      information and rely on the kernel to not parse this data. This is a
      bug in the bootloader but we still need to work around this.
      Work around this by introducing a dt_fixup function. This function
      gets called before the flattened devicetree is scanned for memory
      and the like. In this fixup function for exynos, limit the maximum
      number of memory regions in the devicetree.
      Signed-off-by: NLaura Abbott <lauraa@codeaurora.org>
      Tested-by: NAndreas Färber <afaerber@suse.de>
      [glikely: Added a comment and fixed up function name]
      Signed-off-by: NGrant Likely <grant.likely@linaro.org>
      5a12a597
  16. 29 7月, 2014 2 次提交
  17. 23 7月, 2014 2 次提交
  18. 19 7月, 2014 1 次提交
  19. 15 7月, 2014 3 次提交
  20. 11 7月, 2014 1 次提交
  21. 05 7月, 2014 1 次提交
  22. 17 6月, 2014 2 次提交
  23. 01 6月, 2014 1 次提交
  24. 31 5月, 2014 2 次提交
  25. 30 5月, 2014 4 次提交
  26. 26 5月, 2014 4 次提交
  27. 15 5月, 2014 1 次提交