[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210806100710.2425336-1-hikalium@chromium.org>
Date: Fri, 6 Aug 2021 19:07:06 +0900
From: Hikaru Nishida <hikalium@...omium.org>
To: linux-kernel@...r.kernel.org, dme@....org, tglx@...utronix.de,
mlevitsk@...hat.com
Cc: suleiman@...gle.com, Hikaru Nishida <hikalium@...omium.org>,
Andy Lutomirski <luto@...nel.org>,
Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...hat.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>,
John Stultz <john.stultz@...aro.org>,
Jonathan Corbet <corbet@....net>,
Juergen Gross <jgross@...e.com>,
Lai Jiangshan <laijs@...ux.alibaba.com>,
Mike Travis <mike.travis@....com>,
Paolo Bonzini <pbonzini@...hat.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Sean Christopherson <seanjc@...gle.com>,
Stephen Boyd <sboyd@...nel.org>,
Steve Wahl <steve.wahl@....com>,
Tom Lendacky <thomas.lendacky@....com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>, kvm@...r.kernel.org,
linux-doc@...r.kernel.org, x86@...nel.org
Subject: [v2 PATCH 0/4] x86/kvm: Virtual suspend time injection support
Hi,
This patch series adds virtual suspend time injection support to KVM.
(It is an updated version of the following series.)
https://lore.kernel.org/kvm/20210426090644.2218834-1-hikalium@chromium.org/
Changes to v1:
- Using IRQ instead of polling to detect the host's suspension.
- Removed unused arg "updated" from kvm_write_suspend_time()
- Improved comments and commit messages.
Please take a look again.
Thanks,
Hikaru Nishida
Hikaru Nishida (4):
x86/kvm: Reserve KVM_FEATURE_HOST_SUSPEND_TIME and
MSR_KVM_HOST_SUSPEND_TIME
x86/kvm: Add definitions for virtual suspend time injection
x86/kvm: Add host side support for virtual suspend time injection
x86/kvm: Add guest side support for virtual suspend time injection
Documentation/virt/kvm/cpuid.rst | 3 +
Documentation/virt/kvm/msr.rst | 30 ++++++++
arch/x86/Kconfig | 13 ++++
arch/x86/include/asm/idtentry.h | 4 +
arch/x86/include/asm/irq_vectors.h | 7 +-
arch/x86/include/asm/kvm_host.h | 5 ++
arch/x86/include/asm/kvm_para.h | 9 +++
arch/x86/include/uapi/asm/kvm_para.h | 6 ++
arch/x86/kernel/kvmclock.c | 40 ++++++++++
arch/x86/kvm/Kconfig | 13 ++++
arch/x86/kvm/cpuid.c | 4 +
arch/x86/kvm/x86.c | 109 ++++++++++++++++++++++++++-
include/linux/kvm_host.h | 8 ++
include/linux/timekeeper_internal.h | 4 +
kernel/time/timekeeping.c | 37 +++++++++
15 files changed, 290 insertions(+), 2 deletions(-)
--
2.32.0.605.g8dce9f2422-goog
Powered by blists - more mailing lists