accel/kvm/kvm-all.c | 12 + cpu-common.c | 7 +- hw/block/m25p80.c | 3 + hw/intc/pnv_xive2.c | 566 +++++++++++++--- hw/intc/pnv_xive2_regs.h | 108 +++ hw/intc/xive.c | 12 +- hw/intc/xive2.c | 33 +- hw/ppc/Kconfig | 3 + hw/ppc/meson.build | 1 + hw/ppc/pnv.c | 389 +++++++++-- hw/ppc/pnv_adu.c | 206 ++++++ hw/ppc/pnv_chiptod.c | 7 +- hw/ppc/pnv_core.c | 127 +++- hw/ppc/pnv_lpc.c | 162 ++++- hw/ppc/pnv_xscom.c | 9 - hw/ppc/spapr.c | 1 + hw/ppc/spapr_caps.c | 1 + hw/ppc/spapr_cpu_core.c | 16 +- hw/ppc/spapr_vhyp_mmu.c | 21 +- hw/ppc/spapr_vof.c | 2 +- hw/ppc/trace-events | 4 + hw/ppc/vof.c | 2 +- hw/ssi/Kconfig | 4 + hw/ssi/meson.build | 1 + hw/ssi/pnv_spi.c | 1268 +++++++++++++++++++++++++++++++++++ hw/ssi/trace-events | 21 + include/exec/cpu-common.h | 2 + include/hw/ppc/pnv.h | 8 + include/hw/ppc/pnv_adu.h | 32 + include/hw/ppc/pnv_chip.h | 13 +- include/hw/ppc/pnv_core.h | 31 + include/hw/ppc/pnv_lpc.h | 22 +- include/hw/ppc/pnv_xscom.h | 11 +- include/hw/ppc/spapr.h | 1 + include/hw/ppc/xive2_regs.h | 9 + include/hw/ssi/pnv_spi.h | 67 ++ include/hw/ssi/pnv_spi_regs.h | 133 ++++ include/sysemu/kvm.h | 8 + linux-headers/asm-powerpc/kvm.h | 3 + target/ppc/arch_dump.c | 24 +- target/ppc/cpu.h | 45 +- target/ppc/cpu_init.c | 38 +- target/ppc/excp_helper.c | 69 +- target/ppc/fpu_helper.c | 60 +- target/ppc/helper.h | 92 +-- target/ppc/insn32.decode | 98 +++ target/ppc/int_helper.c | 22 +- target/ppc/kvm.c | 46 ++ target/ppc/mem_helper.c | 8 +- target/ppc/misc_helper.c | 111 +-- target/ppc/mmu-book3s-v3.c | 1 - target/ppc/mmu-book3s-v3.h | 43 -- target/ppc/mmu-hash32.c | 69 +- target/ppc/mmu-hash32.h | 56 +- target/ppc/mmu-hash64.c | 50 ++ target/ppc/mmu-hash64.h | 1 + target/ppc/mmu-radix64.c | 50 ++ target/ppc/mmu-radix64.h | 53 +- target/ppc/mmu_common.c | 333 ++++----- target/ppc/timebase_helper.c | 89 +-- target/ppc/translate.c | 27 +- target/ppc/translate/vmx-impl.c.inc | 290 +++++--- target/ppc/translate/vmx-ops.c.inc | 19 +- target/ppc/translate/vsx-impl.c.inc | 592 ++++++++-------- target/ppc/translate/vsx-ops.c.inc | 82 --- tests/qtest/meson.build | 1 + tests/qtest/pnv-spi-seeprom-test.c | 110 +++ tests/qtest/pnv-xscom.h | 2 +- tests/tcg/ppc64/Makefile.target | 12 + 69 files changed, 4417 insertions(+), 1402 deletions(-) create mode 100644 hw/ppc/pnv_adu.c create mode 100644 hw/ssi/pnv_spi.c create mode 100644 include/hw/ppc/pnv_adu.h create mode 100644 include/hw/ssi/pnv_spi.h create mode 100644 include/hw/ssi/pnv_spi_regs.h create mode 100644 tests/qtest/pnv-spi-seeprom-test.c