]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
MIPS: Hibernate: flush TLB entries earlier
authorHuacai Chen <chenhc@lemote.com>
Sun, 29 Mar 2015 02:54:05 +0000 (10:54 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 17 May 2015 23:11:52 +0000 (19:11 -0400)
commit886b9d665eefdafd00b37d4bf47fb890b551b672
treea9f453fa4ef4a0547a844e12ec693cdde2f8d0c1
parent38d99bff82b98d02c254e00a5865b4bb1203e48c
MIPS: Hibernate: flush TLB entries earlier

[ Upstream commit a843d00d038b11267279e3b5388222320f9ddc1d ]

We found that TLB mismatch not only happens after kernel resume, but
also happens during snapshot restore. So move it to the beginning of
swsusp_arch_suspend().

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: <stable@vger.kernel.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: stable@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/9621/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/mips/power/hibernate.S