]> 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)
commit4becaf069c61f1eebe544b3e1907033cbfd396c8
treea65201fd31994348a067c63e820530ad15387476
parent990c7cd600de13866164851619b8394a5dfab23b
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