-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rMerge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull KVM fixes from Radim Krčmář: "ARM: - PSCI selection API, a leftover from 4.16 (for stable) - Kick vcpu on active interrupt affinity change - Plug a VMID allocation race on oversubscribed systems - Silence debug messages - Update Christoffer's email address (linaro -> arm) x86: - Expose userspace-relevant bits of a newly added feature - Fix TLB flushing on VMX with VPID, but without EPT" * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: x86/headers/UAPI: Move DISABLE_EXITS KVM capability bits to the UAPI kvm: apic: Flush TLB after APIC mode/address change if VPIDs are in use arm/arm64: KVM: Add PSCI version selection API KVM: arm/arm64: vgic: Kick new VCPU on interrupt migration arm64: KVM: Demote SVE and LORegion warnings to debug only MAINTAINERS: Update e-mail address for Christoffer Dall KVM: arm/arm64: Close VMID generation race
- Loading branch information
Showing
17 changed files
with
189 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
KVM implements the PSCI (Power State Coordination Interface) | ||
specification in order to provide services such as CPU on/off, reset | ||
and power-off to the guest. | ||
|
||
The PSCI specification is regularly updated to provide new features, | ||
and KVM implements these updates if they make sense from a virtualization | ||
point of view. | ||
|
||
This means that a guest booted on two different versions of KVM can | ||
observe two different "firmware" revisions. This could cause issues if | ||
a given guest is tied to a particular PSCI revision (unlikely), or if | ||
a migration causes a different PSCI version to be exposed out of the | ||
blue to an unsuspecting guest. | ||
|
||
In order to remedy this situation, KVM exposes a set of "firmware | ||
pseudo-registers" that can be manipulated using the GET/SET_ONE_REG | ||
interface. These registers can be saved/restored by userspace, and set | ||
to a convenient value if required. | ||
|
||
The following register is defined: | ||
|
||
* KVM_REG_ARM_PSCI_VERSION: | ||
|
||
- Only valid if the vcpu has the KVM_ARM_VCPU_PSCI_0_2 feature set | ||
(and thus has already been initialized) | ||
- Returns the current PSCI version on GET_ONE_REG (defaulting to the | ||
highest PSCI version implemented by KVM and compatible with v0.2) | ||
- Allows any PSCI version implemented by KVM and compatible with | ||
v0.2 to be set with SET_ONE_REG | ||
- Affects the whole VM (even if the register view is per-vcpu) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7744,7 +7744,7 @@ F: arch/x86/include/asm/svm.h | |
F: arch/x86/kvm/svm.c | ||
|
||
KERNEL VIRTUAL MACHINE FOR ARM (KVM/arm) | ||
M: Christoffer Dall <christoffer.dall@linaro.org> | ||
M: Christoffer Dall <christoffer.dall@arm.com> | ||
M: Marc Zyngier <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
|
@@ -7758,7 +7758,7 @@ F: virt/kvm/arm/ | |
F: include/kvm/arm_* | ||
|
||
KERNEL VIRTUAL MACHINE FOR ARM64 (KVM/arm64) | ||
M: Christoffer Dall <christoffer.dall@linaro.org> | ||
M: Christoffer Dall <christoffer.dall@arm.com> | ||
M: Marc Zyngier <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.