1. 25 Oct, 2019 1 commit
    • Yin Fengwei's avatar
      ACPI: processor_idle: Skip dummy wait if kernel is in guest · fa583f71
      Yin Fengwei authored
      In function acpi_idle_do_entry(), an ioport access is used for
      dummy wait to guarantee hardware behavior. But it could trigger
      unnecessary VMexit if kernel is running as guest in virtualization
      environment.
      
      If it's in virtualization environment, the deeper C state enter
      operation (inb()) will trap to hypervisor. It's not needed to do
      dummy wait after the inb() call. So we could just remove the
      dummy io port access to avoid unnecessary VMexit.
      
      And keep dummy io port access to maintain timing for native
      environment.
      Signed-off-by: default avatarYin Fengwei <fengwei.yin@intel.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      fa583f71
  2. 24 Oct, 2019 2 commits
  3. 22 Oct, 2019 1 commit
  4. 20 Oct, 2019 6 commits
  5. 19 Oct, 2019 30 commits