]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] fix pgste update logic
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2011 16:18:47 +0000 (17:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2011 16:19:00 +0000 (17:19 +0100)
commit9e68d1c6731a4b6d200d14a48e55a9dbb23e3d26
tree8bec6a28d819ff52b6c97592b045d693516343bd
parentbbaf6f4e5fe21af864ce08679149642206969e1b
[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