qemu/hw/ppc
Alexander Graf 455df3f323 PPC: Make BookE FIT/WDT timers more lazy
Today we fire FIT and WDT timer events every time the respective bit
position in TB flips from 0 -> 1.

However, there is no need to do this if the end result would be that
we're changing a TSR bit that is set to 1 to 1 again. No guest visible
change would have occured.

So whenever we see that the TSR bit to our timer is already set, don't
even bother to update the timer that would potentially fire it off.

However, we do need to make sure that we update our timer that notifies
us of the TB flip when the respective TSR bit gets unset. In that case
we do care about the flip and need to notify the guest again. So add
a callback into our timer handlers when TSR bits get unset.

This improves performance for me when the guest is busy processing things.

Signed-off-by: Alexander Graf <agraf@suse.de>
Message-id: 1385416015-22775-2-git-send-email-agraf@suse.de
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
2013-11-25 20:35:11 -08:00
..
Makefile.objs
e500-ccsr.h
e500.c
e500.h
e500plat.c
mac.h
mac_newworld.c
mac_oldworld.c
mpc8544_guts.c
mpc8544ds.c
ppc.c
ppc4xx_devs.c
ppc4xx_pci.c
ppc405.h
ppc405_boards.c pc,pci,virtio fixes and cleanups 2013-09-03 12:31:07 -05:00
ppc405_uc.c
ppc440_bamboo.c loader: drop return value for rom_add_blob_fixed 2013-11-10 12:08:38 +02:00
ppc_booke.c PPC: Make BookE FIT/WDT timers more lazy 2013-11-25 20:35:11 -08:00
ppce500_spin.c
prep.c
spapr.c Merge remote-tracking branch 'mjt/trivial-patches' into staging 2013-10-31 17:01:43 +01:00
spapr_events.c
spapr_hcall.c spapr-rtas: fix h_rtas parameters reading 2013-10-25 23:25:46 +02:00
spapr_iommu.c
spapr_pci.c spapr-pci: enable irqfd for INTx 2013-10-25 23:25:47 +02:00
spapr_rtas.c
spapr_vio.c
virtex_ml507.c pc,pci,virtio fixes and cleanups 2013-09-03 12:31:07 -05:00