]> 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)
committerJiri Slaby <jslaby@suse.cz>
Mon, 4 May 2015 09:49:48 +0000 (11:49 +0200)
commita8ecee7fe315aa06a3b0a95f613aa58400e9c092
tree123c5c8f2b6c0acce80b879fb8f6fd5e16baadc7
parente6e75e2f847b44e75fee58705ebc01d9567eaaf5
MIPS: Hibernate: flush TLB entries earlier

commit a843d00d038b11267279e3b5388222320f9ddc1d upstream.

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: 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>
Patchwork: https://patchwork.linux-mips.org/patch/9621/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/mips/power/hibernate.S