summaryrefslogtreecommitdiff
path: root/arch/s390/kvm/kvm-s390.c
diff options
context:
space:
mode:
authorPierre Morel <pmorel@linux.ibm.com>2022-05-04 14:29:08 +0200
committerJanosch Frank <frankja@linux.ibm.com>2022-07-20 10:57:36 +0200
commit0130337ec45bffd26ba3e782850da3b68f1eef9d (patch)
treee5390763753c56aef126a00c4b81bc980c7b231e /arch/s390/kvm/kvm-s390.c
parentc3f0e5fd2d33d80c5a5a8b5e5d2bab2841709cc8 (diff)
KVM: s390: Cleanup ipte lock access and SIIF facility checks
We can check if SIIF is enabled by testing the sclp_info struct instead of testing the sie control block eca variable as that facility is always enabled if available. Also let's cleanup all the ipte related struct member accesses which currently happen by referencing the KVM struct via the VCPU struct. Making the KVM struct the parameter to the ipte_* functions removes one level of indirection which makes the code more readable. Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Nico Boehr <nrb@linux.ibm.com> Link: https://lore.kernel.org/all/20220711084148.25017-2-pmorel@linux.ibm.com/ Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.c')
0 files changed, 0 insertions, 0 deletions