qemu/hw/ppc
Alexander Graf 84dc96e1e5 PPC: BookE: Make FIT/WDT timers at best millisecond grained
The default granularity for the FIT timer on 440 is on every 0x1000th
transition of TB from 0 to 1. Translated that means 48828 times a second.

Since interrupts are quite expensive for 440 and we don't really care
about the accuracy of the FIT to that significance, let's force FIT and
WDT to at best millisecond granularity.

This basically restores behavior as it was in QEMU 1.6, where timers
could only deal with millisecond granularities at all.

This patch greatly improves performance with the 440 target and restores
roughly the same performance level that QEMU 1.6 had for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
Message-id: 1385416015-22775-3-git-send-email-agraf@suse.de
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
2013-11-25 20:35:12 -08:00
..
e500-ccsr.h ppc: do not use ../ in include files 2013-03-01 13:57:33 +01:00
e500.c cpu: Use QTAILQ for CPU list 2013-09-03 12:25:55 +02:00
e500.h ppc: Don't duplicate QEMUMachineInitArgs in PPCE500Params 2013-08-21 23:22:22 +03:00
e500plat.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
mac_newworld.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
mac_oldworld.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
mac.h PPC: dbdma: Wait for DMA until we have data 2013-07-11 18:51:25 +02:00
Makefile.objs pseries: move interrupt controllers to hw/intc/ 2013-07-11 18:51:23 +02:00
mpc8544_guts.c cpu: Replace cpu_single_env with CPUState current_cpu 2013-07-09 21:20:28 +02:00
mpc8544ds.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
ppc4xx_devs.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
ppc4xx_pci.c hw/p*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
ppc405_boards.c pc,pci,virtio fixes and cleanups 2013-09-03 12:31:07 -05:00
ppc405_uc.c ppc405_uc: Disable debug output 2013-09-02 10:06:41 +02:00
ppc405.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ppc440_bamboo.c loader: drop return value for rom_add_blob_fixed 2013-11-10 12:08:38 +02:00
ppc_booke.c PPC: BookE: Make FIT/WDT timers at best millisecond grained 2013-11-25 20:35:12 -08:00
ppc.c cpu: Use QTAILQ for CPU list 2013-09-03 12:25:55 +02:00
ppce500_spin.c ppce500_spin: QOM cast cleanup 2013-07-29 21:07:00 +02:00
prep.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
spapr_events.c spapr-rtas: add CPU argument to RTAS calls 2013-07-01 01:11:16 +02:00
spapr_hcall.c spapr-rtas: fix h_rtas parameters reading 2013-10-25 23:25:46 +02:00
spapr_iommu.c PPC: spapr: iommu: rework traces 2013-09-02 10:06:43 +02:00
spapr_pci.c spapr-pci: enable irqfd for INTx 2013-10-25 23:25:47 +02:00
spapr_rtas.c spapr: add "stop-self" RTAS call required to support hot CPU unplug 2013-09-02 10:06:42 +02:00
spapr_vio.c spapr: Rename 'dprintf' to 'DPRINTF' 2013-07-29 19:56:46 -05:00
spapr.c Merge remote-tracking branch 'mjt/trivial-patches' into staging 2013-10-31 17:01:43 +01:00
virtex_ml507.c pc,pci,virtio fixes and cleanups 2013-09-03 12:31:07 -05:00