summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorDominik Dingel <dingel@linux.vnet.ibm.com>2018-07-13 11:28:25 +0100
committerJanosch Frank <frankja@linux.ibm.com>2018-07-30 11:20:18 +0100
commit964c2c05c9f3095a18387a57b289cf06de637521 (patch)
treeef033cdb80985640fc0688d021381ea7fed86d16 /arch/x86
parent0959e168678d2d95648317e1e5e46bcb358272eb (diff)
downloadlinux-stable-964c2c05c9f3095a18387a57b289cf06de637521.tar.gz
linux-stable-964c2c05c9f3095a18387a57b289cf06de637521.tar.bz2
linux-stable-964c2c05c9f3095a18387a57b289cf06de637521.zip
s390/mm: Clear huge page storage keys on enable_skey
When a guest starts using storage keys, we trap and set a default one for its whole valid address space. With this patch we are now able to do that for large pages. To speed up the storage key insertion, we use __storage_key_init_range, which in-turn will use sske_frame to set multiple storage keys with one instruction. As it has been previously used for debuging we have to get rid of the default key check and make it quiescing. Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com> Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com> [replaced page_set_storage_key loop with __storage_key_init_range] Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions