qemu-patch-raspberry4/target/s390x
David Hildenbrand 076d4d39b6 s390x/cpumodel: wire up cpu type + id for TCG
Let's properly expose the CPU type (machine-type number) via "STORE CPU
ID" and "STORE SUBSYSTEM INFORMATION".

As TCG emulates basic mode, the CPU identification number has the format
"Annnnn", whereby A is the CPU address, and n are parts of the CPU serial
number (0 for us for now).

A specification exception will be injected if the address is not aligned
to a double word. Low address protection will not be checked as
we're missing some more general support for that.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170609133426.11447-3-david@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
2017-06-13 11:09:39 -07: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/cpumodel: wire up cpu type + id for TCG 2017-06-13 11:09:39 -07:00
cpu_features.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu_features.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu_features_def.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu_models.c s390x/cpumodel: wire up cpu type + id for TCG 2017-06-13 11:09:39 -07:00
cpu_models.h s390x/cpumodel: take care of the cpuid format bit for KVM 2017-06-06 10:50:40 +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 Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
helper.c target/s390x: rework PGM interrupt psw.addr handling 2017-06-13 11:09:39 -07:00
helper.h target/s390x: implement STORE PAIR TO QUADWORD 2017-06-06 15:25:14 -07:00
insn-data.def s390x/cpumodel: wire up cpu type + id for TCG 2017-06-13 11:09:39 -07:00
insn-format.def Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01: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: take care of the cpuid format bit for KVM 2017-06-06 10:50:40 +02:00
machine.c target/s390x: Implement EXECUTE via new TranslationBlock 2017-06-06 14:34:32 -07:00
Makefile.objs makefile: merge GENERATED_HEADERS & GENERATED_SOURCES variables 2017-03-16 11:51:15 +08:00
mem_helper.c target/s390x: check alignment in CDSG in the !CONFIG_ATOMIC128 case 2017-06-06 15:25:14 -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 s390x/cpumodel: wire up cpu type + id for TCG 2017-06-13 11:09:39 -07:00