• Krzysztof Kozlowski's avatar
    ARM: exynos: Fix imprecise abort during Exynos5422 suspend to RAM · e0b35c1a
    Krzysztof Kozlowski authored
    Suspend to RAM on Odroid XU3/XU4/HC1 family (Exynos5422) causes
    imprecise abort:
    
    	PM: Syncing filesystems ... done.
    	Freezing user space processes ... (elapsed 0.003 seconds) done.
    	OOM killer disabled.
    	Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done.
    	wake enabled for irq 139
    	Disabling non-boot CPUs ...
    	IRQ51 no longer affine to CPU1
    	IRQ52 no longer affine to CPU2
    	IRQ53 no longer affine to CPU3
    	IRQ54 no longer affine to CPU4
    	IRQ55 no longer affine to CPU5
    	IRQ56 no longer affine to CPU6
    	cpu cpu4: Dropping the link to regulator.40
    	IRQ57 no longer affine to CPU7
    	Unhandled fault: external abort on non-linefetch (0x1008) at 0xf081a028
    	Internal error: : 1008 [#1] PREEMPT SMP ARM
    
    with last call trace in exynos_suspend_enter().
    
    The abort is caused by writing to register in secure part of sysram.
    Boards booted under secure firmware (e.g. Hardkernel Odroid boards)
    should access non-secure sysram.
    Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
    e0b35c1a
suspend.c 16.2 KB