projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f458d03
)
KVM: SVM: allow AVIC without split irqchip
author
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 22 Jan 2020 16:02:36 +0000
(17:02 +0100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 5 Feb 2020 14:17:44 +0000
(15:17 +0100)
SVM is now able to disable AVIC dynamically whenever the in-kernel PIT sets
up an ack notifier, so we can enable it even if in-kernel IOAPIC/PIC/PIT
are in use.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/svm.c
b/arch/x86/kvm/svm.c
index
0b05967
..
bf05565
100644
(file)
--- a/
arch/x86/kvm/svm.c
+++ b/
arch/x86/kvm/svm.c
@@
-2073,7
+2073,7
@@
static int svm_vm_init(struct kvm *kvm)
return ret;
}
- kvm_apicv_init(kvm, avic
&& irqchip_split(kvm)
);
+ kvm_apicv_init(kvm, avic);
return 0;
}