Skip to content
  1. Sep 27, 2017
  2. Sep 20, 2017
  3. Sep 15, 2017
  4. Sep 12, 2017
  5. Aug 25, 2017
  6. Aug 24, 2017
  7. Aug 17, 2017
  8. Aug 10, 2017
  9. Aug 03, 2017
  10. Aug 02, 2017
  11. Jul 26, 2017
  12. Jul 24, 2017
    • Christoffer Dall's avatar
      arm64: timer: Add support for phys timer testing · 0b41d18b
      Christoffer Dall authored
      
      
      Rearrange the code to be able to reuse as much as posible and add
      support for testing the physical timer as well.
      
      Also change the default unittests configuration to run a separate vtimer
      and ptimer test so that older kernels without ptimer support just show a
      failure.
      
      Signed-off-by: default avatarChristoffer Dall <cdall@linaro.org>
      Message-Id: <20170713192009.10069-4-cdall@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      0b41d18b
    • Christoffer Dall's avatar
      arm64: timer: Fix test on APM X-Gene · e5d789d1
      Christoffer Dall authored
      
      
      When running the vtimer test on an APM X-Gene, setting the timer value
      to (2^64 - 1) apparently results in the timer always firing, even
      thought the counter is mich lower than the cval.
      
      Since the idea of the code is to set everything up and schedule the
      timer for some time very far in the future, take a pragmatic approach
      and just add 10s worth of delay instead.
      
      Signed-off-by: default avatarChristoffer Dall <cdall@linaro.org>
      Message-Id: <20170713192009.10069-3-cdall@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      e5d789d1
    • Christoffer Dall's avatar
      arm64: timer: Fix vtimer interrupt test · 3c58864d
      Christoffer Dall authored
      
      
      The timer irq_handler is supposed to mask the timer signal, but unfortunately
      also disables the timer at the same time, even though we loop and wait on
      ISTATUS to become set.
      
      According to the ARM ARM, "When the value of the ENABLE bit is 0, the
      ISTATUS field is UNKNOWN."  This test happens to work on AMD Seattle, but
      doesn't work on Mustang or on QEMU with TCG.
      
      Fix the problem by preserving the enable bit in the irq handler.
      
      Signed-off-by: default avatarChristoffer Dall <cdall@linaro.org>
      Message-Id: <20170713192009.10069-2-cdall@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      3c58864d
  13. Jul 21, 2017
    • Roman Kagan's avatar
      x86: hyperv_stimer: add test for busy message slot · cf12f77a
      Roman Kagan authored
      
      
      When a SynIC timer expires it attempts to deliver a message to the
      corresponding slot, which may be busy (e.g. because the guest hasn't yet
      processed the previous message).
      
      KVM used to livelock here, endlessly retrying message delivery without
      letting the guest to run and release the slot (a patch fixing that has
      been posted to KVM ml).
      
      Add a testcase for this scenario.
      
      Signed-off-by: default avatarRoman Kagan <rkagan@virtuozzo.com>
      cf12f77a
    • Jim Mattson's avatar
      Test VM-entry in MOVSS shadow · 45e10b81
      Jim Mattson authored
      
      
      VM-entry is disallowed in the shadow of a MOV-to-SS instruction. When
      the current-VMCS is valid, check that the instruction pointer falls
      through to the next instruction, the ALU flags are set to ZF
      (VMfailValid), and the VM-instruction error field contains 26 ("VM
      entry with events blocked by MOV SS.").
      
      Signed-off-by: default avatarJim Mattson <jmattson@google.com>
      Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
      45e10b81
  14. Jul 19, 2017
  15. Jul 13, 2017
  16. Jul 11, 2017
  17. Jul 04, 2017
Loading