Commit 01528db
committed
KVM: Drop hack that "manually" informs lockdep of kvm->lock vs. vcpu->mutex
Now that KVM takes vcpu->mutex inside kvm->lock when creating a vCPU, drop
the hack to manually inform lockdep of the kvm->lock => vcpu->mutex
ordering.
This effectively reverts commit 42a9000 ("KVM: Ensure lockdep knows
about kvm->lock vs. vcpu->mutex ordering rule").
Cc: Oliver Upton <oliver.upton@linux.dev>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20241009150455.1057573-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent e53dc37 commit 01528db
1 file changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4116 | 4116 | | |
4117 | 4117 | | |
4118 | 4118 | | |
4119 | | - | |
4120 | | - | |
4121 | | - | |
4122 | | - | |
4123 | | - | |
4124 | | - | |
4125 | 4119 | | |
4126 | 4120 | | |
4127 | 4121 | | |
| |||
4138 | 4132 | | |
4139 | 4133 | | |
4140 | 4134 | | |
4141 | | - | |
| 4135 | + | |
| 4136 | + | |
4142 | 4137 | | |
4143 | 4138 | | |
4144 | 4139 | | |
| |||
0 commit comments