]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] fix pgste update logic
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 8 Nov 2011 14:17:08 +0000 (15:17 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 8 Nov 2011 14:17:20 +0000 (15:17 +0100)
commit769508add89d5783d663570c19c4ec94ef629d6f
treeb5ff5ccab5e0a6fbbb985f442afb4f0b641ed55e
parent4d2801ab1bde915aa2b621d9375f2ac9cc198a82
[S390] fix pgste update logic

The pgste_update_all / pgste_update_young and pgste_set_pte need to
check if the pte entry contains a valid page address before the storage
key can be accessed. In addition pgste_set_pte needs to set the access
key and fetch protection bit of the new pte entry, not the old entry.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pgtable.h