]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mm,tlb: correct tlb flush on page table upgrade
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 28 Oct 2013 13:48:30 +0000 (14:48 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 4 Nov 2013 12:51:47 +0000 (13:51 +0100)
commit803da5347c85534c0af6824a88f64c5eb24756fd
treea65201fd31994348a067c63e820530ad15387476
parent0dc6b2d111b1bd0f3115aa46c7d2bffadc6d4503
s390/mm,tlb: correct tlb flush on page table upgrade

The IDTE instruction used to flush TLB entries for a specific address
space uses the address-space-control element (ASCE) to identify
affected TLB entries. The upgrade of a page table adds a new top
level page table which changes the ASCE. The TLB entries associated
with the old ASCE need to be flushed and the ASCE for the address space
needs to be replaced synchronously on all CPUs which currently use it.
The concept of a lazy ASCE update with an exception handler is broken.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/kernel/entry.h
arch/s390/kernel/pgm_check.S
arch/s390/mm/fault.c
arch/s390/mm/mmap.c
arch/s390/mm/pgtable.c