Hi Peter, This is my current patch queue for ppc. Please pull.
Alex The following changes since commit e00fcfeab3d452cba3d0a08991a39ab15df66424: Merge remote-tracking branch 'remotes/awilliam/tags/vfio-pci-for-qemu-20140602.0' into staging (2014-06-03 14:37:43 +0100) are available in the git repository at: git://github.com/agraf/qemu.git tags/signed-ppc-for-upstream for you to fetch changes up to fbe4d727461729382e651279388400b1382caac6: PPC: spapr: Expose /hypervisor node in device tree (2014-06-04 14:38:17 +0200) ---------------------------------------------------------------- Patch queue for ppc - 2014-06-04 This pull request brings a lot of fun things. Among others we have - e500: u-boot firmware support - sPAPR: magic page enablement - sPAPR: add "compat" CPU option to support older guests - sPAPR: refactorings in preparation for VFIO - mac99: expose bus frequency - little endian core dump, gdb and disas support - new ppc64le-linux-user target - DFP emulation - bug fixes ---------------------------------------------------------------- Alex Zuepke (1): PPC: e500: Fix MMUCSR0 emulation Alexander Graf (21): KVM: PPC: Don't secretly add 1T segment feature to CPU PPC: Fix TCG chunks that don't free their temps PPC: Fail on leaking temporaries PPC: Make all e500 CPUs SVR aware PPC: Add definitions for GIVORs PPC: Fix SPR access control of L1CFG0 PPC: Add L1CFG1 SPR emulation PPC: Properly emulate L1CSR0 and L1CSR1 PPC: Add dcbtls emulation PPC: e500: Expose kernel load address in dt PPC: Add u-boot firmware for e500 PPC: e500: Move to u-boot as firmware PPC: openpic_kvm: Implement reset macio ide: Do remainder access asynchronously macio: Fix timer endianness PPC: e500: Fix TLB lookup for 32bit CPUs PPC: SPE: Fix high-bits bitmask linux-headers: include psci.h linux-headers: update linux headers to kvm/next KVM: PPC: Expose fixup hcall capability PPC: spapr: Expose /hypervisor node in device tree Alexey Kardashevskiy (28): spapr_nvram: Correct max nvram size target-ppc: Create versionless CPU class per family if KVM target-ppc: Move alias lookup after class lookup target-ppc: Remove redundant POWER7 declarations spapr_pci: Fix number of returned vectors in ibm, change-msi target-ppc: Remove PVR check from migration spapr_pci: fix MSI limit spapr: Add support for time base offset migration spapr: Add ibm, chip-id property in device tree target-ppc: Add "compat" CPU option spapr: Move SMT-related properties out of skeleton fdt target-ppc: Implement "compat" CPU option target-ppc: Define Processor Compatibility Masks spapr: Add ibm, client-architecture-support call spapr: Rework spapr_fixup_cpu_dt() spapr: Limit threads per core according to current compatibility mode spapr: Implement processor compatibility in ibm, client-architecture-support KVM: PPC: Enable compatibility mode spapr_iommu: Replace @instance_id with LIOBN for migration spapr: Enable dynamic change of the supported hypercalls list spapr_iommu: Enable multiple TCE requests spapr_pci: Introduce a finish_realize() callback spapr_pci: spapr_iommu: Make DMA window a subregion spapr_pci: Allow multiple TCE tables per PHB spapr_iommu: Convert old qdev_init_nofail() to object_property_set_bool spapr_iommu: Get rid of window_size in sPAPRTCETable spapr_iommu: Introduce page_shift in sPAPRTCETable spapr_iommu: Introduce bus_offset in sPAPRTCETable BALATON Zoltan (1): mac99: Added FW_CFG_PPC_BUSFREQ to match CLOCKFREQ and TBFREQ already there Bharat Bhushan (2): PPC: e500: some pci related cleanup PPC: e500: implement PCI INTx routing Bharata B Rao (3): dump: Make DumpState and endian conversion routines available for arch-specific dump code target-ppc: Support dump for little endian ppc64 target-ppc: Set the correct endianness in ELF dump header Doug Kwan (3): target-ppc: Support little-endian PPC64 in user mode. target-ppc: Allow little-endian user mode. target-ppc: Add a new user mode target for little-endian PPC64. Fabien Chouteau (1): Fix typo in eTSEC Ethernet controller Greg Kurz (2): spapr-pci: remove io ports workaround target-ppc: Introduce callback for interrupt endianness Mark Cave-Ayland (1): macio: handle non-block ATAPI DMA transfers Paul Janzen (2): openpic: Move definition of openpic_reset openpic: Reset IRQ source private members Peter Maydell (1): hw/pci-host/ppce500: Fix typo in vmstate definition Thomas Falcon (2): target-ppc: extract register length calculation in gdbstub target-ppc: gdbstub allow byte swapping for reading/writing registers Tom Musta (50): target-ppc: Fix target_disas monitor: QEMU Monitor Instruction Disassembly Incorrect for PowerPC LE Mode target-ppc: Eliminate Magic Number MSR Masks libdecnumber: Introduce libdecnumber Code libdecnumber: Eliminate #include *Symbols.h libdecnumber: Prepare libdecnumber for QEMU include structure libdecnumber: Modify dconfig.h to Integrate with QEMU libdecnumber: Change gstdint.h to stdint.h libdecnumber: Eliminate redundant declarations libdecnumber: Eliminate Unused Variable in decSetSubnormal target-ppc: Enable Building of libdecnumber libdecnumber: Introduce decNumberFrom[U]Int64 libdecnumber: Introduce decNumberIntegralToInt64 libdecnumber: Fix decNumberSetBCD target-ppc: Define FPR Pointer Type for Helpers target-ppc: Introduce Generator Macros for DFP Arithmetic Forms target-ppc: Introduce Decoder Macros for DFP target-ppc: Introduce DFP Helper Utilities target-ppc: Introduce DFP Post Processor Utilities target-ppc: Introduce DFP Add target-ppc: Introduce DFP Subtract target-ppc: Introduce DFP Multiply target-ppc: Introduce DFP Divide target-ppc: Introduce DFP Compares target-ppc: Introduce DFP Test Data Class target-ppc: Introduce DFP Test Data Group target-ppc: Introduce DFP Test Exponent target-ppc: Introduce DFP Test Significance target-ppc: Introduce DFP Quantize target-ppc: Introduce DFP Reround target-ppc: Introduce DFP Round to Integer target-ppc: Introduce DFP Convert to Long/Extended target-ppc: Introduce Round to DFP Short/Long target-ppc: Introduce DFP Convert to Fixed target-ppc: Introduce DFP Convert to Fixed target-ppc: Introduce DFP Decode DPD to BCD target-ppc: Introduce DFP Encode BCD to DPD target-ppc: Introduce DFP Extract Biased Exponent target-ppc: Introduce DFP Insert Biased Exponent target-ppc: Introduce DFP Shift Significand util: Add S-Box and InvS-Box Arrays to Common AES Utils util: Add AES ShiftRows and InvShiftRows Tables util: Add InvMixColumns target-i386: Use Common ShiftRows and InvShiftRows Tables target-arm: Use Common Tables in AES Instructions target-ppc: Refactor AES Instructions target-ppc: Fix popcntb Opcode Bug target-ppc: Support VSX in PPC User Mode target-ppc: Confirm That .bss Pages Are Valid target-ppc: Store Quadword Conditional Drops Size Bit .gitmodules | 3 + Makefile.target | 6 + configure | 6 + default-configs/ppc-linux-user.mak | 1 + default-configs/ppc-softmmu.mak | 1 + default-configs/ppc64-linux-user.mak | 1 + default-configs/ppc64-softmmu.mak | 1 + default-configs/ppc64abi32-linux-user.mak | 1 + default-configs/ppc64le-linux-user.mak | 2 + default-configs/ppcemb-softmmu.mak | 1 + disas.c | 21 +- dump.c | 227 +- hw/ide/macio.c | 71 +- hw/intc/openpic.c | 99 +- hw/intc/openpic_kvm.c | 15 +- hw/misc/macio/mac_dbdma.c | 6 + hw/misc/macio/macio.c | 2 +- hw/net/fsl_etsec/rings.c | 2 +- hw/nvram/spapr_nvram.c | 2 +- hw/pci-host/ppce500.c | 41 +- hw/ppc/e500.c | 147 +- hw/ppc/mac_newworld.c | 5 +- hw/ppc/mac_oldworld.c | 5 +- hw/ppc/ppc.c | 79 + hw/ppc/spapr.c | 194 +- hw/ppc/spapr_hcall.c | 127 + hw/ppc/spapr_iommu.c | 179 +- hw/ppc/spapr_pci.c | 128 +- hw/ppc/spapr_vio.c | 6 +- include/elf.h | 5 + include/hw/pci-host/spapr.h | 22 +- include/hw/ppc/mac_dbdma.h | 5 + include/hw/ppc/ppc.h | 2 + include/hw/ppc/spapr.h | 17 +- include/libdecnumber/dconfig.h | 40 + include/libdecnumber/decContext.h | 257 + include/libdecnumber/decDPD.h | 1214 +++++ include/libdecnumber/decNumber.h | 202 + include/libdecnumber/decNumberLocal.h | 665 +++ include/libdecnumber/dpd/decimal128.h | 100 + include/libdecnumber/dpd/decimal128Local.h | 47 + include/libdecnumber/dpd/decimal32.h | 98 + include/libdecnumber/dpd/decimal64.h | 100 + include/qemu/aes.h | 14 + include/sysemu/dump-arch.h | 28 + include/sysemu/dump.h | 47 +- libdecnumber/decContext.c | 433 ++ libdecnumber/decNumber.c | 8194 ++++++++++++++++++++++++++++ libdecnumber/dpd/decimal128.c | 564 ++ libdecnumber/dpd/decimal128Local.h | 42 + libdecnumber/dpd/decimal32.c | 489 ++ libdecnumber/dpd/decimal64.c | 850 +++ linux-headers/asm-arm/kvm.h | 10 +- linux-headers/asm-arm64/kvm.h | 13 +- linux-headers/asm-mips/kvm.h | 35 + linux-headers/asm-powerpc/kvm.h | 2 +- linux-headers/asm-powerpc/kvm_para.h | 6 + linux-headers/linux/kvm.h | 10 + linux-headers/linux/psci.h | 90 + linux-user/elfload.c | 24 +- linux-user/main.c | 10 +- linux-user/ppc/syscall.h | 4 + monitor.c | 4 + pc-bios/README | 5 + pc-bios/u-boot.e500 | Bin 0 -> 330260 bytes roms/Makefile | 9 + roms/u-boot | 1 + scripts/update-linux-headers.sh | 3 +- stubs/dump.c | 2 +- target-arm/crypto_helper.c | 79 +- target-i386/ops_sse.h | 32 +- target-ppc/Makefile.objs | 1 + target-ppc/arch_dump.c | 107 +- target-ppc/cpu-models.c | 32 +- target-ppc/cpu-models.h | 12 +- target-ppc/cpu-qom.h | 22 + target-ppc/cpu.h | 31 + target-ppc/dfp_helper.c | 1317 +++++ target-ppc/gdbstub.c | 124 +- target-ppc/helper.h | 57 +- target-ppc/int_helper.c | 292 +- target-ppc/kvm.c | 57 +- target-ppc/kvm_ppc.h | 20 +- target-ppc/machine.c | 8 +- target-ppc/mem_helper.c | 26 +- target-ppc/mmu_helper.c | 7 +- target-ppc/translate.c | 569 +- target-ppc/translate_init.c | 1046 +++- trace-events | 13 + util/aes.c | 343 ++ 90 files changed, 18203 insertions(+), 1034 deletions(-) create mode 100644 default-configs/ppc64le-linux-user.mak create mode 100644 include/libdecnumber/dconfig.h create mode 100644 include/libdecnumber/decContext.h create mode 100644 include/libdecnumber/decDPD.h create mode 100644 include/libdecnumber/decNumber.h create mode 100644 include/libdecnumber/decNumberLocal.h create mode 100644 include/libdecnumber/dpd/decimal128.h create mode 100644 include/libdecnumber/dpd/decimal128Local.h create mode 100644 include/libdecnumber/dpd/decimal32.h create mode 100644 include/libdecnumber/dpd/decimal64.h create mode 100644 include/sysemu/dump-arch.h create mode 100644 libdecnumber/decContext.c create mode 100644 libdecnumber/decNumber.c create mode 100644 libdecnumber/dpd/decimal128.c create mode 100644 libdecnumber/dpd/decimal128Local.h create mode 100644 libdecnumber/dpd/decimal32.c create mode 100644 libdecnumber/dpd/decimal64.c create mode 100644 linux-headers/linux/psci.h create mode 100755 pc-bios/u-boot.e500 create mode 160000 roms/u-boot create mode 100644 target-ppc/dfp_helper.c