]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: protvirt: Add new gprs location handling
authorJanosch Frank <frankja@linux.ibm.com>
Wed, 8 May 2019 13:52:00 +0000 (15:52 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 27 Feb 2020 18:47:11 +0000 (19:47 +0100)
commitc4100ce35c5d95d54b892c29808f7f132c5be5e1
tree8b504f789c3e601b86a36f1bd98796506cfc8a6d
parent79dbf56a1450434e5a1264453c75ae1eb24c4db7
KVM: s390: protvirt: Add new gprs location handling

Guest registers for protected guests are stored at offset 0x380.  We
will copy those to the usual places.  Long term we could refactor this
or use register access functions.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
[borntraeger@de.ibm.com: patch merging, splitting, fixing]
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c