summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorCollin Walling <walling@linux.ibm.com>2020-06-22 18:46:36 +0300
committerChristian Borntraeger <borntraeger@de.ibm.com>2020-06-23 11:55:33 +0300
commit23a60f834406c8e3805328b630d09d5546b460c1 (patch)
treec53c0cbf0698c72c86cb2ef13701be06181adf78 /virt
parenta23816f3cdcbffe5dc6e8c331914b3f51b87c2f3 (diff)
downloadlinux-23a60f834406c8e3805328b630d09d5546b460c1.tar.xz
s390/kvm: diagnose 0x318 sync and reset
DIAGNOSE 0x318 (diag318) sets information regarding the environment the VM is running in (Linux, z/VM, etc) and is observed via firmware/service events. This is a privileged s390x instruction that must be intercepted by SIE. Userspace handles the instruction as well as migration. Data is communicated via VCPU register synchronization. The Control Program Name Code (CPNC) is stored in the SIE block. The CPNC along with the Control Program Version Code (CPVC) are stored in the kvm_vcpu_arch struct. This data is reset on load normal and clear resets. Signed-off-by: Collin Walling <walling@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Acked-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Link: https://lore.kernel.org/r/20200622154636.5499-3-walling@linux.ibm.com [borntraeger@de.ibm.com: fix sync_reg position] Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions