summaryrefslogtreecommitdiffstats
path: root/default-configs/ppc64-softmmu.mak
Commit message (Collapse)AuthorAgeFilesLines
* target-ppc: Enable Building of libdecnumberTom Musta2014-06-161-0/+1
| | | | | | | | | | | Enable compilation of the newly added libdecnumber library code. Object file targets are added to Makefile.target using a newly introduced flag CONFIG_LIBDECNUMBER. The flag is added to the PowerPC targets (ppc[64]-linux-user, ppc[64]-softmmu). Signed-off-by: Tom Musta <tommusta@gmail.com> [agraf: add ppcemb and ppc64abi32 config] Signed-off-by: Alexander Graf <agraf@suse.de>
* ppcemb-softmmu: Drop Mac and e500 emulationAndreas Färber2014-02-131-0/+1
| | | | | | They are still available in ppc-softmmu and ppc64-softmmu. Signed-off-by: Andreas Färber <afaerber@suse.de>
* prep: Drop from ppcemb-softmmuAndreas Färber2014-02-101-0/+1
| | | | | | ppcemb covers only embedded processors, which does not include PReP. Signed-off-by: Andreas Färber <andreas.faerber@web.de>
* xics-kvm: Support for in-kernel XICS interrupt controllerDavid Gibson2013-10-251-0/+1
| | | | | | | | | | | | | | | | | | Recent (host) kernels support emulating the PAPR defined "XICS" interrupt controller system within KVM. This patch allows qemu to initialize and configure the in-kernel XICS, and keep its state in sync with qemu's XICS state as necessary. This should give considerable performance improvements. e.g. on a simple IPI ping-pong test between hardware threads, using qemu XICS gives us around 5,000 irqs/second, whereas the in-kernel XICS gives us around 70,000 irqs/s on the same hardware configuration. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [Mike Qiu <qiudayu@linux.vnet.ibm.com>: fixed mistype which caused ics_set_kvm_state() to fail] Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
* default-configs/: CONFIG_GDBSTUB_XML removedÁkos Kovács2013-10-161-1/+0Star
| | | | | | | | | Makefile.target: Build gdbstub-xml.o only when TARGET_XML_FILES is not empty. Signed-off-by: Ákos Kovács <akoskovacs@gmx.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* default-configs/ppc64: add all components of i82378 SuperIO chip used by prepPaolo Bonzini2013-07-251-0/+6
| | | | | | | | | | The device provides an ISA bus so that pseries can also run the endianness test. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Message-id: 1374501278-31549-24-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* default-configs: add test device to all machines supporting ISAPaolo Bonzini2013-07-251-0/+1
| | | | | | | | | | This will let these machines run an endianness test for ISA I/O port space. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Message-id: 1374501278-31549-22-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* pseries: move interrupt controllers to hw/intc/Alexey Kardashevskiy2013-07-111-0/+2
| | | | | | Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
* pci: Cleanup configuration for pci-hotplug.cDavid Gibson2013-07-041-2/+0Star
| | | | | | | | | | | | | | | | | | | | | | pci-hotplug.c and the CONFIG_PCI_HOTPLUG variable which controls its compilation are misnamed. They're not about PCI hotplug in general, but rather about the pci_add/pci_del interface which are now deprecated in favour of the more general device_add/device_del interface. This patch therefore renames them to pci-hotplug-old.c and CONFIG_PCI_HOTPLUG_OLD. CONFIG_PCI_HOTPLUG=y was listed twice in {i386,x86_64}-softmmu.make for no particular reason, so we clean that up too. In addition it was included in ppc64-softmmu.mak for which the old hotplug interface was never used and is unsuitable, so we remove that too. Most of pci-hotplug.c was additionaly protected by #ifdef TARGET_I386. The small piece which wasn't is only called from the pci_add and pci_del hooks in hmp-commands.hx, which themselves were protected by #ifdef TARGET_I386. This patch therefore also removes the #ifdef from pci-hotplug-old.c, and changes the ifdefs in hmp-commands.hx to use CONFIG_PCI_HOTPLUG_OLD. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* kvm/openpic: in-kernel mpic supportScott Wood2013-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Enables support for the in-kernel MPIC that thas been merged into the KVM next branch. This includes irqfd/KVM_IRQ_LINE support from Alex Graf (along with some other improvements). Note from Alex regarding kvm_irqchip_create(): On x86, one would call kvm_irqchip_create() to initialize an in-kernel interrupt controller. That function then goes ahead and initializes global capability variables as well as the default irq routing table. On ppc, we can't call kvm_irqchip_create() because we can have different types of interrupt controllers. So we want to do all the things that function would do for us in the in-kernel device init handler. Signed-off-by: Scott Wood <scottwood@freescale.com> [agraf: squash in kvm_irqchip_commit_routes patch, fix non-kvm build, fix ppcemb] Signed-off-by: Alexander Graf <agraf@suse.de>
* ppc: Remove CONFIG_FDT conditionalsPeter Maydell2013-06-141-2/+2
| | | | | | | | | | | Now that we know we're compiling with libfdt we can remove the CONFIG_FDT conditionals. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Tested-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Message-id: 1369409217-7553-5-git-send-email-peter.maydell@linaro.org
* audio: replace audio card configuration with default-configsPaolo Bonzini2013-04-291-1/+1
| | | | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1366303444-24620-6-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* hw: move interrupt controllers to hw/intc/, configure with default-configs/Paolo Bonzini2013-04-081-0/+1
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* hw: move NICs to hw/net/, configure via default-configs/Paolo Bonzini2013-04-081-0/+1
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* hw: move MC146818RTC to hw/timer/, configure via default-configs/Paolo Bonzini2013-04-081-0/+2
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* hw: make all of hw/pci/ configurable via default-configs/Paolo Bonzini2013-04-081-0/+2
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* hw: move target-independent files to subdirectoriesPaolo Bonzini2013-04-081-1/+1
| | | | | | | This patch tackles all files that are compiled once, moving them to subdirectories of hw/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* ppc: express FDT dependency of pSeries and e500 boards via default-configs/Paolo Bonzini2013-03-011-0/+2
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* make usb devices configurableGerd Hoffmann2013-02-191-0/+1
| | | | | | | | | | | | | | | Leave the core usb devices (usb hub, tablet, mouse, keyboard) enabled unconditionally. Make the other ones configurable. Exceptions: - bluetooth: not qdevified yet, has a vl.c dependency because of that, thus disabling isn't as easy as not linking the object file. - smardcard: ccid-card-emulated depends on that one *and* CONFIG_SMARTCARD_NSS. So it isn't a one-liner and comes as separate patch because of that. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* prep: Use pc87312 device instead of collection of random ISA devicesHervé Poussineau2012-08-151-0/+2
| | | | | | | | | | | | We can't however replace the built-in IDE controller, as the one in pc87312 is only single-channel and can use only IRQ 14. Therefore the pc87312's IDE function gets disabled via the config property. PReP emulation also gains a parallel port emulation this way. Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> [AF: Use TYPE_PC87312 constant, add to ppc64-softmmu and to MAINTAINERS] Signed-off-by: Andreas Färber <andreas.faerber@web.de>
* prep: Include devices for ppc64 as wellAndreas Färber2012-08-151-0/+3
| | | | | | | | Allows running qemu-system-ppc64 -M prep for consistency. Reported-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Andreas Färber <andreas.faerber@web.de> Acked-by: Hervé Poussineau <hpoussineau@reactos.org>
* hw/xilinx_*: Share Xilinx devices between ppc and microblazeAndreas Färber2012-06-151-0/+1
| | | | | | | | | Speeds up the build. xilinx_ethlite uses tswap32() and is thus target-dependent. Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* vga: make Cirrus ISA device optionalBlue Swirl2012-01-221-0/+1
| | | | | Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* i8259: Move to hw libraryJan Kiszka2011-10-161-0/+1
| | | | | | | No target-specific bits remaining, let's move it over. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* config: move ide core and pci to pci.makAlexander Graf2010-12-171-3/+0Star
| | | | | | | | Every device that can do PCI should also be able to do IDE. So let's move the IDE definitions over to pci.mak. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
* PCI config includePaul Brook2010-11-271-2/+1Star
| | | | | | Split PCI config options into a separate file Signed-off-by: Paul Brook <paul@codesourcery.com>
* powerpc: Add a virtex5 ml507 refdesign boardEdgar E. Iglesias2010-09-301-0/+2
| | | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
* Compile dma only onceBlue Swirl2010-05-221-0/+1
| | | | | | | | Use a qemu_irq to request CPU exit. 7 compilations less for the full build. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pckbd only onceBlue Swirl2010-05-221-0/+1
| | | | | | | Use a qemu_irq to indicate A20 line changes. Move I/O port 92 to pckbd.c. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile most PPC devices only onceBlue Swirl2010-03-301-0/+10
| | | | | | Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile prep_pci only onceBlue Swirl2010-03-291-0/+1
| | | | | | Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile openpic only onceBlue Swirl2010-03-291-0/+1
| | | | | | | Replace TARGET_PAGE_SIZE with 4096. Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile ide/macio only onceBlue Swirl2010-03-291-0/+1
| | | | | | | Replace TARGET_PAGE_SIZE with 4096. Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pflash_cfi02 only onceBlue Swirl2010-03-291-0/+1
| | | | | | Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile ide/core only onceBlue Swirl2010-03-271-0/+1
| | | | | | | | | Make win2k install hack unconditional as it is still restricted to x86 only in vl.c. Replace TARGET_PAGE_SIZE and 4096 with PAGE_SIZE. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* target-s390: Don't compile in virtio-pciAlexander Graf2010-03-261-0/+1
| | | | | | | | | | | | | | As soon as virtio-pci.c gets compiled and used on S390 the internal qdev magic gets confused and tries to give us PCI devices instead of S390 virtio devices. Since we don't have PCI on S390, we can safely not compile virtio-pci at all. In order to do this I added a new config option "CONFIG_VIRTIO_PCI" that I enabled for every platform except S390. Thanks to this the change should be a complete nop for every other platform. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* Compile sound devices only onceBlue Swirl2010-03-221-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile serial only onceBlue Swirl2010-03-211-0/+1
| | | | | | Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile ne2000_isa only onceBlue Swirl2010-03-211-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile fdc only onceBlue Swirl2010-03-211-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile most IDE devices only onceBlue Swirl2010-03-211-0/+4
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile i8254 only onceBlue Swirl2010-03-211-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile vga-pci only onceBlue Swirl2010-03-211-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Only compile m48t59 when one target uses itJuan Quintela2009-10-091-0/+1
| | | | | | Patchworks-ID: 35204 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Only compile escc when one target uses itJuan Quintela2009-10-091-0/+1
| | | | | | Patchworks-ID: 35205 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Only compile isa_mmio when one target uses itJuan Quintela2009-10-091-0/+1
| | | | | | Patchworks-ID: 35200 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Only compile usb_ohci when one target uses itJuan Quintela2009-10-091-0/+1
| | | | | | Patchworks-ID: 35199 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Generate gdbstub-xml.c only when neededJuan Quintela2009-10-091-0/+2
| | | | | | | | First user of new config-devices.mak Patchworks-ID: 35198 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Add new config-devices.mak for each targetJuan Quintela2009-10-091-0/+1
We generate config-devices.h from there automatically. We need to do it in main Makefile, because we are going to need a main Makefile for them. Patchworks-ID: 35196 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>