summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorPierre Morel <pmorel@linux.ibm.com>2018-10-05 10:31:09 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2018-10-05 13:10:18 +0200
commit0e237e44699465139c07f969b051f83066a2ec1d (patch)
treeb071184641074850e2e8eeb980af4e686797f287 /arch/s390/include
parent8e41bd54317b04f2bf03012a4ca8ab7360c9beef (diff)
downloadlinux-stable-0e237e44699465139c07f969b051f83066a2ec1d.tar.gz
linux-stable-0e237e44699465139c07f969b051f83066a2ec1d.tar.bz2
linux-stable-0e237e44699465139c07f969b051f83066a2ec1d.zip
KVM: s390: Tracing APCB changes
kvm_arch_crypto_set_masks is a new function to centralize the setup the APCB masks inside the CRYCB SIE satellite. To trace APCB mask changes, we add KVM_EVENT() tracing to both kvm_arch_crypto_set_masks and kvm_arch_crypto_clear_masks. Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> Message-Id: <1538728270-10340-2-git-send-email-pmorel@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/kvm_host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index 36d35313e840..22aa4da91f7a 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -861,6 +861,8 @@ void kvm_arch_async_page_present(struct kvm_vcpu *vcpu,
struct kvm_async_pf *work);
void kvm_arch_crypto_clear_masks(struct kvm *kvm);
+void kvm_arch_crypto_set_masks(struct kvm *kvm, unsigned long *apm,
+ unsigned long *aqm, unsigned long *adm);
extern int sie64a(struct kvm_s390_sie_block *, u64 *);
extern char sie_exit;