1. 10 12月, 2013 16 次提交
  2. 26 11月, 2013 3 次提交
    • A
      PPC: BookE: Make FIT/WDT timers at best millisecond grained · 84dc96e1
      Alexander Graf 提交于
      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: NAlexander Graf <agraf@suse.de>
      Message-id: 1385416015-22775-3-git-send-email-agraf@suse.de
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      84dc96e1
    • A
      PPC: Make BookE FIT/WDT timers more lazy · 455df3f3
      Alexander Graf 提交于
      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: NAlexander Graf <agraf@suse.de>
      Message-id: 1385416015-22775-2-git-send-email-agraf@suse.de
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      455df3f3
    • M
      acpi-build: fix support for glib < 2.22 · 134d42d6
      Michael S. Tsirkin 提交于
      glib < 2.22 does not have g_array_get_element_size,
      limit it's use (to check all elements are 1 byte
      in size) to newer glib.
      
      This fixes build on RHEL 5.3.
      Reported-by: NRichard Henderson <rth@redhat.com>
      Reported-by: NErik Rull <erik.rull@rdsoftware.de>
      Tested-by: NRichard Henderson <rth@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Message-id: 20131125220039.GA16386@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      134d42d6
  3. 22 11月, 2013 6 次提交
  4. 21 11月, 2013 10 次提交
  5. 20 11月, 2013 1 次提交
  6. 19 11月, 2013 1 次提交
  7. 17 11月, 2013 1 次提交
  8. 15 11月, 2013 1 次提交
  9. 14 11月, 2013 1 次提交