File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1248,6 +1248,8 @@ static inline int __do_essa(struct kvm_vcpu *vcpu, const int orc)
12481248
12491249static int handle_essa (struct kvm_vcpu * vcpu )
12501250{
1251+ lockdep_assert_held (& vcpu -> kvm -> srcu );
1252+
12511253 /* entries expected to be 1FF */
12521254 int entries = (vcpu -> arch .sie_block -> cbrlo & ~PAGE_MASK ) >> 3 ;
12531255 unsigned long * cbrlo ;
@@ -1297,12 +1299,8 @@ static int handle_essa(struct kvm_vcpu *vcpu)
12971299 /* Retry the ESSA instruction */
12981300 kvm_s390_retry_instr (vcpu );
12991301 } else {
1300- int srcu_idx ;
1301-
13021302 mmap_read_lock (vcpu -> kvm -> mm );
1303- srcu_idx = srcu_read_lock (& vcpu -> kvm -> srcu );
13041303 i = __do_essa (vcpu , orc );
1305- srcu_read_unlock (& vcpu -> kvm -> srcu , srcu_idx );
13061304 mmap_read_unlock (vcpu -> kvm -> mm );
13071305 if (i < 0 )
13081306 return i ;
You can’t perform that action at this time.
0 commit comments