diff options
author | Alexander Egorenkov <egorenar@linux.ibm.com> | 2021-06-25 09:51:15 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-07-27 09:39:14 +0200 |
commit | 7f33565b256697727fec7fc86bc1ca07683d7c81 (patch) | |
tree | 7e2cb5b6442ccabec231353a21a1e524bab3576e /drivers/hwmon/sht3x.c | |
parent | 42c89439b9fa0368fabd4e1564bdb4a05aeed7eb (diff) |
s390/uv: de-duplicate checks for Protected Host Virtualization
De-duplicate checks for Protected Host Virtualization in decompressor and
kernel.
Set prot_virt_host=0 in the decompressor in *any* of the following cases
and hand it over to the decompressed kernel:
* No explicit prot_virt=1 is given on the kernel command-line
* Protected Guest Virtualization is enabled
* Hardware support not present
* kdump or stand-alone dump
The decompressed kernel needs to use only is_prot_virt_host() instead of
performing again all checks done by the decompressor.
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/hwmon/sht3x.c')
0 files changed, 0 insertions, 0 deletions