Skip to content
Snippets Groups Projects
Select Git revision
  • cfcde40e8ce3aab6f61b4998945ab19985ea852c
  • master default
  • android-container
  • nanopc-t4
  • for-kernelci
  • WIP-syscall
  • v4.16-rc5
  • v4.16-rc4
  • v4.16-rc3
  • v4.16-rc2
  • v4.16-rc1
  • v4.15
  • v4.15-rc9
  • v4.15-rc8
  • v4.15-rc7
  • v4.15-rc6
  • v4.15-rc5
  • v4.15-rc4
  • v4.15-rc3
  • v4.15-rc2
  • v4.15-rc1
  • v4.14
  • v4.14-rc8
  • v4.14-rc7
  • v4.14-rc6
  • v4.14-rc5
26 results

linux

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Michael S. Tsirkin authored
    As documented by commit b488f021 "ACPI: restore comment justifying
    'extra' P_LVLx access", Linux does an extra IO read after entering idle
    because on (some) chipsets STPCLK# doesn't get asserted in time
    to prevent further instruction processing.
    
    This can never be the case on KVM, and a timer read causes an expensive
    VM exit in turn causing useless load on host system. Detect KVM and skip
    the read.  TODO: whitelist more hypervisors?
    
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Radim Krčmář <rkrcmar@redhat.com>
    Cc: kvm@vger.kernel.org
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    cfcde40e
    History
    Name Last commit Last update