From: Martin Schwidefsky Date: Sun, 1 Mar 2015 14:56:45 +0000 (-0800) Subject: s390/mm: fix incorrect ASCE after crst_table_downgrade X-Git-Tag: omap-for-v4.1/wl12xx-dt~32^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=691d5264158e58004904f285417fefaf8650ffe6;p=pandora-kernel.git s390/mm: fix incorrect ASCE after crst_table_downgrade The switch_mm function does nothing in case the prev and next mm are the same. It can happen that a crst_table_downgrade has changed the top-level pgd in the meantime on a different CPU. Always store the new ASCE to be picked up in entry.S. [heiko.carstens@de.ibm.com]: Bug was introduced with git commit 53e857f30867 ("s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries") and causes random crashes due to broken page tables being used. Reported-by: Dominik Vogt Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens --- Reading git-diff-tree failed