1. 16 8月, 2012 2 次提交
  2. 31 5月, 2012 1 次提交
  3. 01 5月, 2012 1 次提交
  4. 15 3月, 2012 1 次提交
  5. 21 1月, 2012 1 次提交
    • B
      pseries: SLOF PCI flag day · 4d8d5467
      Benjamin Herrenschmidt 提交于
      Currently on the pseries machine the SLOF firmware is used normally,
      but we bypass it when -kernel is specified.  Having these two
      
      different boot paths can cause some confusion.
      
      In particular at present we need to "probe" the (emulated) PCI bus and
      produce device tree nodes for the PCI devices in qemu, for the -kernel
      case.  In the SLOF case, it takes the device tree from qemu adds some
      stuff to it then passes it on to the kernel.
      
      It's been decided that a better approach is to always boot through
      SLOF, even when using -kernel.  WIth this approach we can leave PCI
      probing and device node creation to SLOF in all cases which removes a
      bunch of code in qemu, and avoids iterating the PCI devices from the
      machine specific init code which we're not supposed to do.
      
      This patch changes qemu to always boot through SLOF, and not to create
      PCI nodes.  Simultaneously it updates the included version of SLOF
      (submodule and binary image) to one which supports (and requires) the
      new approach.
      
      The new SLOF version also includes a number of unrelated enhancements:
      support for booting from virtio-pci devices and e1000, greatly
      improved FCode support and many bugfixes.  It also makes SLOF ready to
      be used even when specifying a kernel on the qemu command line.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      4d8d5467
  6. 08 11月, 2011 1 次提交
  7. 31 10月, 2011 2 次提交
  8. 08 10月, 2011 1 次提交
  9. 29 9月, 2011 1 次提交
  10. 21 7月, 2011 1 次提交
  11. 17 6月, 2011 1 次提交
  12. 19 4月, 2011 1 次提交
  13. 02 4月, 2011 1 次提交
    • D
      Add SLOF-based partition firmware for pSeries machine, allowing more boot options · a9f8ad8f
      David Gibson 提交于
      Currently, the emulated pSeries machine requires the use of the
      -kernel parameter in order to explicitly load a guest kernel.  This
      means booting from the virtual disk, cdrom or network is not possible.
      
      This patch addresses this limitation by inserting a within-partition
      firmware image (derived from the "SLOF" free Open Firmware project).
      If -kernel is not specified, qemu will now load the SLOF image, which
      has access to the qemu boot device list through the device tree, and
      can boot from any of the usual virtual devices.
      
      In order to support the new firmware, an extension to the emulated
      machine/hypervisor is necessary.  Unlike Linux, which expects
      multi-CPU entry to be handled kexec() style, the SLOF firmware expects
      only one CPU to be active at entry, and to use a hypervisor RTAS
      method to enable the other CPUs one by one.
      
      This patch also implements this 'start-cpu' method, so that SLOF can
      start the secondary CPUs and marshal them into the kexec() holding
      pattern ready for entry into the guest OS.  Linux should, and in the
      future might directly use the start-cpu method to enable initially
      disabled CPUs, but for now it does require kexec() entry.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      a9f8ad8f
  14. 30 1月, 2011 1 次提交
  15. 22 11月, 2010 1 次提交
  16. 14 10月, 2010 1 次提交
  17. 27 8月, 2010 1 次提交
  18. 14 7月, 2010 1 次提交
  19. 20 6月, 2010 1 次提交
  20. 19 5月, 2010 1 次提交
  21. 13 5月, 2010 1 次提交
  22. 02 4月, 2010 1 次提交
  23. 03 3月, 2010 1 次提交
  24. 23 2月, 2010 1 次提交
  25. 18 1月, 2010 1 次提交
  26. 16 1月, 2010 1 次提交
  27. 12 1月, 2010 1 次提交
  28. 28 12月, 2009 1 次提交
  29. 06 12月, 2009 1 次提交
  30. 31 10月, 2009 1 次提交
  31. 30 10月, 2009 1 次提交
  32. 04 9月, 2009 1 次提交
  33. 29 8月, 2009 1 次提交
  34. 06 7月, 2009 1 次提交
  35. 31 3月, 2009 1 次提交
  36. 08 3月, 2009 1 次提交
  37. 02 3月, 2009 1 次提交
  38. 09 2月, 2009 1 次提交