summary refs log tree commit diff stats
path: root/linux-headers/linux/psci.h
diff options
context:
space:
mode:
authorSteffen Eiden <seiden@linux.ibm.com>2023-08-23 16:22:18 +0200
committerThomas Huth <thuth@redhat.com>2023-09-12 11:35:46 +0200
commit354383c12294f2ee510204cfdc5aaed9f0c42171 (patch)
tree12e6c0d7750e98c90159f4324c062c3843398776 /linux-headers/linux/psci.h
parentda3c22c74a3c6cbd26df40b2f6798a2d41be80ac (diff)
downloadfocaccia-qemu-354383c12294f2ee510204cfdc5aaed9f0c42171.tar.gz
focaccia-qemu-354383c12294f2ee510204cfdc5aaed9f0c42171.zip
target/s390x/kvm: Refactor AP functionalities
kvm_s390_set_attr() is a misleading name as it only sets attributes for
the KVM_S390_VM_CRYPTO group. Therefore, rename it to
kvm_s390_set_crypto_attr().

Add new functions ap_available() and ap_enabled() to avoid code
duplication later.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael Mueller <mimu@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Message-ID: <20230823142219.1046522-5-seiden@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'linux-headers/linux/psci.h')
0 files changed, 0 insertions, 0 deletions