Re: [PATCH 2/2] ARM: EXYNOS: Add support for firmware-assisted suspend/resume

2014-06-26 Thread Daniel Drake
Hi Tomasz, On Wed, Jun 25, 2014 at 5:18 PM, Tomasz Figa wrote: > On a numer of Exynos-based boards Linux kernel is running in non-secure > mode under a secure firmware. This means that certain operations need to > be handled in special way, with firmware assistance. System-wide > suspend/resume i

Re: [PATCH 2/2] ARM: EXYNOS: Add support for firmware-assisted suspend/resume

2014-06-25 Thread Russell King - ARM Linux
On Wed, Jun 25, 2014 at 06:18:34PM +0200, Tomasz Figa wrote: > +static int exynos_suspend(void) > +{ > + /* Save Power control and Diagnostic registers */ > + asm ("mrc p15, 0, %0, c15, c0, 0\n" > + "mrc p15, 0, %1, c15, c0, 1\n" > + : "=r" (cp15_power), "=r" (cp15_d

[PATCH 2/2] ARM: EXYNOS: Add support for firmware-assisted suspend/resume

2014-06-25 Thread Tomasz Figa
On a numer of Exynos-based boards Linux kernel is running in non-secure mode under a secure firmware. This means that certain operations need to be handled in special way, with firmware assistance. System-wide suspend/resume is an example of such operations. This patch adds support for firmware-as