File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4090,16 +4090,20 @@ int kvmhv_run_single_vcpu(struct kvm_run *kvm_run,
4090
4090
kvmppc_check_need_tlb_flush (kvm , pcpu , nested );
4091
4091
}
4092
4092
4093
- trace_hardirqs_on ();
4094
4093
guest_enter_irqoff ();
4095
4094
4096
4095
srcu_idx = srcu_read_lock (& kvm -> srcu );
4097
4096
4098
4097
this_cpu_disable_ftrace ();
4099
4098
4099
+ /* Tell lockdep that we're about to enable interrupts */
4100
+ trace_hardirqs_on ();
4101
+
4100
4102
trap = kvmhv_p9_guest_entry (vcpu , time_limit , lpcr );
4101
4103
vcpu -> arch .trap = trap ;
4102
4104
4105
+ trace_hardirqs_off ();
4106
+
4103
4107
this_cpu_enable_ftrace ();
4104
4108
4105
4109
srcu_read_unlock (& kvm -> srcu , srcu_idx );
@@ -4109,7 +4113,6 @@ int kvmhv_run_single_vcpu(struct kvm_run *kvm_run,
4109
4113
isync ();
4110
4114
}
4111
4115
4112
- trace_hardirqs_off ();
4113
4116
set_irq_happened (trap );
4114
4117
4115
4118
kvmppc_set_host_core (pcpu );
You can’t perform that action at this time.
0 commit comments