s390/protvirt: add ultravisor initialization
authorVasily Gorbik <gor@linux.ibm.com>
Wed, 23 Oct 2019 11:56:39 +0000 (13:56 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 27 Feb 2020 18:44:40 +0000 (19:44 +0100)
commit29d37e5b82f3e96dd648167657d5a0e0111ce877
treedea4d0fedbb0471918625eb77e57bf4eb41c9921
parentecdc5d842bb3c166c3d549e52ba91a3955b257f2
s390/protvirt: add ultravisor initialization

Before being able to host protected virtual machines, donate some of
the memory to the ultravisor. Besides that the ultravisor might impose
addressing limitations for memory used to back protected VM storage. Treat
that limit as protected virtualization host's virtual memory limit.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@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/uv.h
arch/s390/kernel/setup.c
arch/s390/kernel/uv.c