linux/arch/s390/include/uapi/asm
David Hildenbrand 0a763c780b KVM: s390: interface to query and configure cpu subfunctions
We have certain instructions that indicate available subfunctions via
a query subfunction (crypto functions and ptff), or via a test bit
function (plo).

By exposing these "subfunction blocks" to user space, we allow user space
to
1) query available subfunctions and make sure subfunctions won't get lost
   during migration - e.g. properly indicate them via a CPU model
2) change the subfunctions to be reported to the guest (even adding
   unavailable ones)

This mechanism works just like the way we indicate the stfl(e) list to
user space.

This way, user space could even emulate some subfunctions in QEMU in the
future. If this is ever applicable, we have to make sure later on, that
unsupported subfunctions result in an intercept to QEMU.

Please note that support to indicate them to the guest is still missing
and requires hardware support. Usually, the IBC takes already care of these
subfunctions for migration safety. QEMU should make sure to always set
these bits properly according to the machine generation to be emulated.

Available subfunctions are only valid in combination with STFLE bits
retrieved via KVM_S390_VM_CPU_MACHINE and enabled via
KVM_S390_VM_CPU_PROCESSOR. If the applicable bits are available, the
indicated subfunctions are guaranteed to be correct.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2016-06-10 12:07:17 +02:00
..
Kbuild Linux 3.16-rc7 2014-07-28 10:00:33 +02:00
auxvec.h
bitsperlong.h
byteorder.h
chpid.h s390/chpid: make headers usable (again) 2012-10-18 17:50:07 +02:00
chsc.h s390/cio: Introduce on-close CHSC IOCTLs 2013-06-26 21:10:12 +02:00
clp.h s390/pci: add ioctl interface for CLP 2016-03-07 16:54:32 +01:00
cmb.h
dasd.h s390/dasd: Add new ioctl BIODASDCHECKFMT 2016-04-15 18:16:39 +02:00
debug.h
errno.h
fcntl.h
hypfs.h s390/hypfs: Add diagnose 0c support 2015-02-10 16:38:58 +01:00
ioctl.h
ioctls.h
ipcbuf.h
kvm.h KVM: s390: interface to query and configure cpu subfunctions 2016-06-10 12:07:17 +02:00
kvm_para.h s390,uapi: do not use uapi/asm-generic/kvm_para.h 2012-10-19 11:07:18 +02:00
kvm_perf.h perf kvm: Add stat support on s390 2014-07-16 17:57:33 -03:00
kvm_virtio.h
mman.h
monwriter.h
msgbuf.h
param.h
poll.h
posix_types.h
ptrace.h s390/ptrace: add support for PTRACE_SINGLEBLOCK 2014-03-14 12:59:38 +01:00
qeth.h
resource.h
schid.h
sclp_ctl.h s390/sclp: Add SCLP character device driver 2013-06-26 21:10:13 +02:00
sembuf.h
setup.h
shmbuf.h
sie.h KVM: s390: Add sthyi emulation 2016-06-10 12:07:12 +02:00
sigcontext.h s390: add support for vector extension 2014-10-09 09:14:13 +02:00
siginfo.h
signal.h unify SS_ONSTACK/SS_DISABLE definitions 2012-12-19 18:07:39 -05:00
socket.h net: Facility to report route quality of connected sockets 2016-02-25 22:01:22 -05:00
sockios.h
stat.h
statfs.h s390/uapi: fix struct statfs64 definition 2014-01-22 14:02:18 +01:00
swab.h
tape390.h
termbits.h
termios.h
types.h s390: add support for vector extension 2014-10-09 09:14:13 +02:00
ucontext.h s390: add support for vector extension 2014-10-09 09:14:13 +02:00
unistd.h s390: wire up preadv2/pwritev2 syscalls 2016-04-01 08:42:38 +02:00
virtio-ccw.h KVM: s390: Export virtio-ccw api. 2013-03-05 19:12:10 -03:00
vtoc.h
zcrypt.h s390/zcrypt: add support for EP11 coprocessor cards 2013-12-18 17:37:15 +01:00