Skip to content
Snippets Groups Projects
  1. May 26, 2021
  2. May 20, 2021
  3. May 15, 2021
  4. May 12, 2021
  5. May 11, 2021
  6. May 04, 2021
    • BALATON Zoltan's avatar
      hw/ppc: Add emulation of Genesi/bPlan Pegasos II · ba7e5ac1
      BALATON Zoltan authored
      
      Add new machine called pegasos2 emulating the Genesi/bPlan Pegasos II,
      a PowerPC board based on the Marvell MV64361 system controller and the
      VIA VT8231 integrated south bridge/superio chips. It can run Linux,
      AmigaOS and a wide range of MorphOS versions. Currently a firmware ROM
      image is needed to boot and only MorphOS has a video driver to produce
      graphics output. Linux could work too but distros that supported this
      machine don't include usual video drivers so those only run with
      serial console for now.
      
      Signed-off-by: default avatarBALATON Zoltan <balaton@eik.bme.hu>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <30cbfb9cbe6f46a1e15a69a75fac45ac39340122.1616680239.git.balaton@eik.bme.hu>
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      ba7e5ac1
  7. Mar 15, 2021
  8. Mar 14, 2021
  9. Mar 09, 2021
  10. Feb 18, 2021
  11. Jan 18, 2021
  12. Jan 16, 2021
  13. Jan 04, 2021
    • Huacai Chen's avatar
      hw/mips: Add Loongson-3 machine support · c76b409f
      Huacai Chen authored
      Add Loongson-3 based machine support, it use liointc as the interrupt
      controler and use GPEX as the pci controller. Currently it can work with
      both TCG and KVM.
      
      As the machine model is not based on any exiting physical hardware, the
      name of the machine is "loongson3-virt". It may be superseded in future
      by a real machine model. If this happens, then a regular deprecation
      procedure shall occur for "loongson3-virt" machine.
      
      We now already have a full functional Linux kernel (based on Linux-5.4.x
      LTS) here:
      
      https://github.com/chenhuacai/linux
      
      Of course the upstream kernel is also usable (the kvm host side and
      guest side have both been upstream in Linux-5.9):
      
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
      
      
      
      How to use QEMU/Loongson-3?
      1, Download kernel source from the above URL;
      2, Build a kernel with arch/mips/configs/loongson3_defconfig;
      3, Boot a Loongson-3A4000 host with this kernel (for KVM mode);
      4, Build QEMU-master with this patchset;
      5, modprobe kvm (only necessary for KVM mode);
      6, Use QEMU with TCG:
             qemu-system-mips64el -M loongson3-virt,accel=tcg -cpu Loongson-3A1000 -kernel <path_to_kernel> -append ...
         Use QEMU with KVM:
             qemu-system-mips64el -M loongson3-virt,accel=kvm -cpu Loongson-3A4000 -kernel <path_to_kernel> -append ...
      
         The "-cpu" parameter is optional here and QEMU will use the correct type for TCG/KVM automatically.
      
      Co-developed-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Signed-off-by: default avatarHuacai Chen <chenhuacai@kernel.org>
      Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Message-Id: <20201221110538.3186646-5-chenhuacai@kernel.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      [PMD: Set TYPE_LOONGSON_MACHINE instance_size in TypeInfo,
            select FW_CFG_MIPS in Kconfig]
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      c76b409f
  14. Nov 03, 2020
  15. Oct 20, 2020
  16. Oct 06, 2020
  17. Oct 03, 2020
  18. Sep 14, 2020
  19. Sep 09, 2020
  20. Jul 11, 2020
  21. Jun 22, 2020
  22. Jun 09, 2020
  23. Jun 03, 2020
  24. May 26, 2020
  25. May 14, 2020
  26. Mar 19, 2020
  27. Mar 12, 2020
  28. Mar 05, 2020
  29. Feb 20, 2020
    • Shivaprasad G Bhat's avatar
      spapr: Add NVDIMM device support · ee3a71e3
      Shivaprasad G Bhat authored
      
      Add support for NVDIMM devices for sPAPR. Piggyback on existing nvdimm
      device interface in QEMU to support virtual NVDIMM devices for Power.
      Create the required DT entries for the device (some entries have
      dummy values right now).
      
      The patch creates the required DT node and sends a hotplug
      interrupt to the guest. Guest is expected to undertake the normal
      DR resource add path in response and start issuing PAPR SCM hcalls.
      
      The device support is verified based on the machine version unlike x86.
      
      This is how it can be used ..
      Ex :
      For coldplug, the device to be added in qemu command line as shown below
      -object memory-backend-file,id=memnvdimm0,prealloc=yes,mem-path=/tmp/nvdimm0,share=yes,size=1073872896
      -device nvdimm,label-size=128k,uuid=75a3cdd7-6a2f-4791-8d15-fe0a920e8e9e,memdev=memnvdimm0,id=nvdimm0,slot=0
      
      For hotplug, the device to be added from monitor as below
      object_add memory-backend-file,id=memnvdimm0,prealloc=yes,mem-path=/tmp/nvdimm0,share=yes,size=1073872896
      device_add nvdimm,label-size=128k,uuid=75a3cdd7-6a2f-4791-8d15-fe0a920e8e9e,memdev=memnvdimm0,id=nvdimm0,slot=0
      
      Signed-off-by: default avatarShivaprasad G Bhat <sbhat@linux.ibm.com>
      Signed-off-by: default avatarBharata B Rao <bharata@linux.ibm.com>
                     [Early implementation]
      Message-Id: <158131058078.2897.12767731856697459923.stgit@lep8c.aus.stglabs.ibm.com>
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      ee3a71e3
  30. Jan 17, 2020
Loading