linux/arch/s390/kvm
Heiko Carstens 18564756ab s390/fpu: get rid of MACHINE_HAS_VX
Get rid of MACHINE_HAS_VX and replace it with cpu_has_vx() which is a
short readable wrapper for "test_facility(129)".

Facility bit 129 is set if the vector facility is present. test_facility()
returns also true for all bits which are set in the architecture level set
of the cpu that the kernel is compiled for. This means that
test_facility(129) is a compile time constant which returns true for z13
and later, since the vector facility bit is part of the z13 kernel ALS.

In result the compiled code will have less runtime checks, and less code.

Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
2023-12-11 14:33:07 +01:00
..
diag.c KVM: s390/diag: fix racy access of physical cpu number in diag 9c handler 2023-06-16 11:08:09 +02:00
gaccess.c s390 updates for the 6.7 merge window 2023-11-03 10:17:22 -10:00
gaccess.h KVM: s390: Extend MEM_OP ioctl by storage key checked cmpxchg 2023-02-07 18:06:00 +01:00
guestdbg.c KVM: s390: Add memcg accounting to KVM allocations 2020-12-10 13:36:05 +01:00
intercept.c - PV crypto passthrough enablement (Tony, Steffen, Viktor, Janosch) 2023-08-31 13:21:27 -04:00
interrupt.c s390/fpu: get rid of MACHINE_HAS_VX 2023-12-11 14:33:07 +01:00
Kconfig kvm: Remove "select SRCU" 2023-04-05 13:47:42 +00:00
kvm-s390.c s390/fpu: get rid of MACHINE_HAS_VX 2023-12-11 14:33:07 +01:00
kvm-s390.h KVM: s390: export kvm_s390_pv*_is_protected functions 2023-08-18 15:24:35 +02:00
Makefile KVM: s390: pci: add basic kvm_zdev structure 2022-07-11 09:54:27 +02:00
pci.c s390: fix various typos 2023-07-03 11:19:42 +02:00
pci.h KVM: s390: Mark __kvm_s390_init() and its descendants as __init 2022-12-29 15:41:22 -05:00
priv.c s390: use control register bit defines 2023-09-19 13:26:57 +02:00
pv.c - PV crypto passthrough enablement (Tony, Steffen, Viktor, Janosch) 2023-08-31 13:21:27 -04:00
sigp.c s390: fix various typos 2023-07-03 11:19:42 +02:00
trace-s390.h KVM: s390: add tracepoint in gmap notifier 2023-10-16 14:54:29 +02:00
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vsie.c KVM: s390: add stat counter for shadow gmap events 2023-10-16 14:54:29 +02:00