diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-03-01 06:56:45 -0800 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-03-02 11:35:57 -0800 |
commit | 691d5264158e58004904f285417fefaf8650ffe6 (patch) | |
tree | 2a225e091af5d5ffb934ee4994db91ae0ad181aa /arch/c6x/lib | |
parent | a9ca8eb7afb4f1c90d8e43092e94c4e86785efbc (diff) |
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 <vogt@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/c6x/lib')
0 files changed, 0 insertions, 0 deletions