qemu-e2k/target/s390x
Yi Min Zhao 3b00f702c2 s390x/cpumodel: add zpci, aen and ais facilities
zPCI instructions and facilities are available since IBM zEnterprise
EC12. To support z/PCI in QEMU we enable zpci, aen and ais facilities
starting with zEC12 GA1. And we always set zpci and aen bits in max cpu
model. Later they might be switched off due to applied real cpu model.
For ais bit, we only provide it in the full cpu model beginning with
zEC12 and defer its enablement in the default cpu model to a later point
in time. At the same time, disable them for 2.9 and older machines.

Because of introducing AIS facility, we could check if it's enabled to
initialize flic->ais_supported with the real value.

Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
2017-07-14 12:29:49 +02:00
..
Makefile.objs makefile: merge GENERATED_HEADERS & GENERATED_SOURCES variables 2017-03-16 11:51:15 +08:00
arch_dump.c s390x/arch_dump: pass cpuid into notes sections 2017-02-24 10:15:18 +01:00
cc_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu-qom.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu.c migration: Remove unneeded includes of migration/vmstate.h 2017-06-01 18:49:22 +02:00
cpu.h s390x/kvm: Rework cmma management 2017-07-14 09:11:12 +02:00
cpu_features.c s390x/cpumodel: add zpci, aen and ais facilities 2017-07-14 12:29:49 +02:00
cpu_features.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu_features_def.h s390x/cpumodel: add zpci, aen and ais facilities 2017-07-14 12:29:49 +02:00
cpu_models.c s390x/cpumodel: provide compat handling for new cpu features 2017-07-14 12:29:47 +02:00
cpu_models.h s390x/cpumodel: provide compat handling for new cpu features 2017-07-14 12:29:47 +02:00
fpu_helper.c target/s390x: implement COMPARE AND SIGNAL 2017-06-06 15:20:38 -07:00
gdbstub.c * QOM interface fix (Eduardo) 2017-01-20 16:42:07 +00:00
gen-features.c s390x/cpumodel: add zpci, aen and ais facilities 2017-07-14 12:29:49 +02:00
helper.c target/s390x: rework PGM interrupt psw.addr handling 2017-06-13 11:09:39 -07:00
helper.h target/s390x: Implement idte instruction 2017-06-23 09:17:45 -07:00
insn-data.def target/s390x: Implement idte instruction 2017-06-23 09:17:45 -07:00
insn-format.def target/s390x: Implement load-on-condition-2 insns 2017-06-23 09:17:44 -07:00
int_helper.c target-s390x: Avoid a loop for popcnt 2017-01-10 08:48:57 -08:00
interrupt.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
ioinst.c s390x/css: fence off MIDA 2017-06-06 10:17:11 +02:00
kvm.c s390x/cpumodel: add zpci, aen and ais facilities 2017-07-14 12:29:49 +02:00
machine.c target/s390x: Implement EXECUTE via new TranslationBlock 2017-06-06 14:34:32 -07:00
mem_helper.c target/s390x: Implement idte instruction 2017-06-23 09:17:45 -07:00
misc_helper.c s390x/cpumodel: wire up cpu type + id for TCG 2017-06-13 11:09:39 -07:00
mmu_helper.c target/s390x: rework PGM interrupt psw.addr handling 2017-06-13 11:09:39 -07:00
trace-events Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
translate.c target/s390x: Implement idte instruction 2017-06-23 09:17:45 -07:00