1. 12 11月, 2008 1 次提交
  2. 28 10月, 2008 1 次提交
  3. 15 10月, 2008 5 次提交
  4. 06 9月, 2008 1 次提交
  5. 20 7月, 2008 4 次提交
    • M
      KVM: only abort guest entry if timer count goes from 0->1 · 622395a9
      Marcelo Tosatti 提交于
      Only abort guest entry if the timer count went from 0->1, since for 1->2
      or larger the bit will either be set already or a timer irq will have
      been injected.
      
      Using atomic_inc_and_test() for it also introduces an SMP barrier
      to the LAPIC version (thought it was unecessary because of timer
      migration, but guest can be scheduled to a different pCPU between exit
      and kvm_vcpu_block(), so there is the possibility for a race).
      
      Noticed by Avi.
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      622395a9
    • L
      KVM: kvm_io_device: extend in_range() to manage len and write attribute · 92760499
      Laurent Vivier 提交于
      Modify member in_range() of structure kvm_io_device to pass length and the type
      of the I/O (write or read).
      
      This modification allows to use kvm_io_device with coalesced MMIO.
      Signed-off-by: NLaurent Vivier <Laurent.Vivier@bull.net>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      92760499
    • A
      KVM: PIT: support mode 3 · f6975545
      Aurelien Jarno 提交于
      The in-kernel PIT emulation ignores pending timers if operating
      under mode 3, which for example Hurd uses.
      
      This mode should output a square wave, high for (N+1)/2 counts and low
      for (N-1)/2 counts. As we only care about the resulting interrupts, the
      period is N, and mode 3 is the same as mode 2 with regard to
      interrupts.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      f6975545
    • H
      KVM: add statics were possible, function definition in lapic.h · 8b2cf73c
      Harvey Harrison 提交于
      Noticed by sparse:
      arch/x86/kvm/vmx.c:1583:6: warning: symbol 'vmx_disable_intercept_for_msr' was not declared. Should it be static?
      arch/x86/kvm/x86.c:3406:5: warning: symbol 'kvm_task_switch_16' was not declared. Should it be static?
      arch/x86/kvm/x86.c:3429:5: warning: symbol 'kvm_task_switch_32' was not declared. Should it be static?
      arch/x86/kvm/mmu.c:1968:6: warning: symbol 'kvm_mmu_remove_one_alloc_mmu_page' was not declared. Should it be static?
      arch/x86/kvm/mmu.c:2014:6: warning: symbol 'mmu_destroy_caches' was not declared. Should it be static?
      arch/x86/kvm/lapic.c:862:5: warning: symbol 'kvm_lapic_get_base' was not declared. Should it be static?
      arch/x86/kvm/i8254.c:94:5: warning: symbol 'pit_get_gate' was not declared. Should it be static?
      arch/x86/kvm/i8254.c:196:5: warning: symbol '__pit_timer_fn' was not declared. Should it be static?
      arch/x86/kvm/i8254.c:561:6: warning: symbol '__inject_pit_timer_intr' was not declared. Should it be static?
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      8b2cf73c
  6. 24 6月, 2008 1 次提交
  7. 07 6月, 2008 1 次提交
  8. 18 5月, 2008 1 次提交
  9. 04 5月, 2008 1 次提交
  10. 01 5月, 2008 1 次提交
    • R
      rename div64_64 to div64_u64 · 6f6d6a1a
      Roman Zippel 提交于
      Rename div64_64 to div64_u64 to make it consistent with the other divide
      functions, so it clearly includes the type of the divide.  Move its definition
      to math64.h as currently no architecture overrides the generic implementation.
       They can still override it of course, but the duplicated declarations are
      avoided.
      Signed-off-by: NRoman Zippel <zippel@linux-m68k.org>
      Cc: Avi Kivity <avi@qumranet.com>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Patrick McHardy <kaber@trash.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6f6d6a1a
  11. 27 4月, 2008 5 次提交