[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <527D19A2.5050604@ti.com>
Date: Fri, 8 Nov 2013 12:04:34 -0500
From: Santosh Shilimkar <santosh.shilimkar@...com>
To: Stephen Boyd <sboyd@...eaurora.org>
CC: <linux-arm-kernel@...ts.infradead.org>,
Mahesh Sivasubramanian <msivasub@...eaurora.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ARM: Save/Restore 64-bit TTBR registers on LPAE suspend/resume
On Thursday 07 November 2013 08:20 PM, Stephen Boyd wrote:
> From: Mahesh Sivasubramanian <msivasub@...eaurora.org>
>
> LPAE enabled kernels use the 64-bit version of TTBR0 and TTBR1
> registers. If we're running an LPAE kernel, fill the upper half
> of TTBR0 with 0 because we're setting it to the idmap here (the
> idmap is guaranteed to be < 4Gb) and fully restore TTBR1 instead
> of just restoring the lower 32 bits. Failure to do so can cause
> failures on resume from suspend when these registers are only
> half restored.
>
> Signed-off-by: Mahesh Sivasubramanian <msivasub@...eaurora.org>
> Signed-off-by: Stephen Boyd <sboyd@...eaurora.org>
> ---
Looks like the trick of TTBR1 as discussed on irc worked for you.
Patch looks good to me.
Acked-by: Santosh Shilimkar <santosh.shilimkar@...com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists