linux/arch/s390/include/uapi/asm
David Hildenbrand 27291e2165 KVM: s390: hardware support for guest debugging
This patch adds support to debug the guest using the PER facility on s390.
Single-stepping, hardware breakpoints and hardware watchpoints are supported. In
order to use the PER facility of the guest without it noticing it, the control
registers of the guest have to be patched and access to them has to be
intercepted(stctl, stctg, lctl, lctlg).

All PER program interrupts have to be intercepted and only the relevant PER
interrupts for the guest have to be given back. Special care has to be taken
about repeated exits on the same hardware breakpoint. The intervention of the
host in the guests PER configuration is not fully transparent. PER instruction
nullification can not be used by the guest and too many storage alteration
events may be reported to the guest (if it is activated for special address
ranges only) when the host concurrently debugging it.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2014-04-22 13:24:51 +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
cmb.h
dasd.h s390/dasd: Fail all requests when DASD_FLAG_ABORTIO is set 2013-07-01 17:31:26 +02:00
debug.h
errno.h
fcntl.h
hypfs.h s390/hypfs: add interface for diagnose 0x304 2014-01-24 09:40:59 +01:00
ioctl.h
ioctls.h
ipcbuf.h
Kbuild s390/sclp: Add SCLP character device driver 2013-06-26 21:10:13 +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_virtio.h
kvm.h KVM: s390: hardware support for guest debugging 2014-04-22 13:24:51 +02:00
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
sigcontext.h s390: fix save and restore of the floating-point-control register 2013-10-24 17:17:11 +02:00
siginfo.h
signal.h unify SS_ONSTACK/SS_DISABLE definitions 2012-12-19 18:07:39 -05:00
socket.h net: introduce SO_BPF_EXTENSIONS 2014-01-18 19:08:58 -08: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
ucontext.h
unistd.h s390: wire up sys_renameat2 2014-04-11 13:53:29 +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