1. 05 9月, 2010 1 次提交
    • A
      KVM: PPC: Add level based interrupt logic · fc87e185
      Alexander Graf 提交于
      KVM on PowerPC used to have completely broken interrupt logic. Usually,
      interrupts work by having a PIC that pulls a line up/down, so the CPU knows
      that an interrupt is active. This line stays active until some action is
      done to the PIC to release the line.
      
      On KVM for PPC, we just checked if there was an interrupt pending and pulled
      a line in the kernel module. We never released it though, hoping that kernel
      space would just declare an interrupt as released when injected - which is
      wrong.
      
      To fix this, we need to completely redesign the interrupt injection logic.
      Whenever an interrupt line gets triggered, we need to notify kernel space
      that the line is up. Whenever it gets released, we do the same. This way
      we can assure that the interrupt state is always known to kernel space.
      
      This fixes random stalls in KVM guests on PowerPC that were waiting for
      an interrupt while everyone else thought they received it already.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      fc87e185
  2. 19 5月, 2010 1 次提交
  3. 21 12月, 2009 3 次提交
  4. 07 11月, 2009 1 次提交
  5. 12 10月, 2009 1 次提交
    • G
      rom loader: fix sparc -kernel boot. · 3c178e72
      Gerd Hoffmann 提交于
      Changes:
      (1) register pstrcpy_targphys() in rom list, it is used for kernel
      command lines by a number of architectures.
      (2) add rom_ptr() function to get a pointer for applying changes
      to loaded images.  Needed for example to tell the linux kernel
      where it finds the initrd image by updating the header.
      (3) make sparc use rom_ptr for initrd setup.
      
      booting sparc-test works now, and 'info roms' shows this:
      
      (qemu) info roms
      addr=0000000000000000 size=0x2a3828 mem=ram name="phdr #0: vmlinux-2.6.11+tcx"
      addr=00000000007ff000 size=0x00000e mem=ram name="cmdline"
      addr=0000000000800000 size=0x400000 mem=ram name="/root/qemu-test/sparc-test/linux.img"
      addr=0000000070000000 size=0x0e4000 mem=rom name="phdr #0: /home/kraxel/projects/qemu/build-zfull/pc-bios/openbios-sparc32"
      
      reboot via 'system_reset' works too.
      
      Patchworks-ID: 35262
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3c178e72
  6. 02 10月, 2009 2 次提交
  7. 20 9月, 2009 1 次提交
    • B
      Compile loader only once · ca20cf32
      Blue Swirl 提交于
      Callers must pass ELF machine, byte swapping and symbol LSB clearing
      information to ELF loader. A.out loader needs page size information, pass
      that too as a parameter.
      
      Extract prototypes to a separate file. Move loader.[ch] and elf_ops.h under hw.
      
      Adjust callers. Also use target_phys_addr_t instead of target_ulong for
      addresses: loader addresses aren't virtual.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      ca20cf32
  8. 11 9月, 2009 1 次提交
  9. 16 8月, 2009 2 次提交
  10. 13 7月, 2009 1 次提交
  11. 10 4月, 2009 1 次提交
  12. 03 3月, 2009 1 次提交
  13. 06 2月, 2009 1 次提交
  14. 16 1月, 2009 2 次提交
  15. 26 10月, 2008 1 次提交
  16. 04 10月, 2008 1 次提交
  17. 20 9月, 2008 1 次提交
  18. 24 11月, 2007 1 次提交
  19. 18 11月, 2007 1 次提交
  20. 17 11月, 2007 2 次提交
  21. 29 10月, 2007 2 次提交
  22. 14 10月, 2007 2 次提交
  23. 08 10月, 2007 2 次提交
  24. 03 10月, 2007 1 次提交
  25. 01 10月, 2007 1 次提交
  26. 30 9月, 2007 2 次提交
  27. 29 9月, 2007 1 次提交
  28. 27 9月, 2007 1 次提交
    • J
      Great rework and cleanups to ease PowerPC implementations definitions. · a750fc0b
      j_mayer 提交于
      * cleanup cpu.h, removing definitions used only in translate.c/translate_init.c
      * add new flags to define instructions sets more precisely
      * various changes in MMU models definitions
      * add definitions for PowerPC 440/460 support (insns and SPRs).
      * add definitions for PowerPC 401/403 and 620 input pins model
      * Fix definitions for most PowerPC 401, 403, 405, 440, 601, 602, 603 and 7x0
      * Preliminary support for PowerPC 74xx (aka G4) without altivec.
      * Code provision for other PowerPC support (7x5, 970, ...).
      * New SPR and PVR defined, from PowerPC 2.04 specification and other sources
      * Misc code bugs, error messages and styles fixes.
      * Update status files for PowerPC cores support.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3244 c046a42c-6fe2-441c-8c8c-71466251a162
      a750fc0b
  29. 17 9月, 2007 2 次提交