File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1258,13 +1258,12 @@ static __always_inline bool on_vc_fallback_stack(struct pt_regs *regs)
1258
1258
DEFINE_IDTENTRY_VC_SAFE_STACK (exc_vmm_communication )
1259
1259
{
1260
1260
struct sev_es_runtime_data * data = this_cpu_read (runtime_data );
1261
+ irqentry_state_t irq_state ;
1261
1262
struct ghcb_state state ;
1262
1263
struct es_em_ctxt ctxt ;
1263
1264
enum es_result result ;
1264
1265
struct ghcb * ghcb ;
1265
1266
1266
- lockdep_assert_irqs_disabled ();
1267
-
1268
1267
/*
1269
1268
* Handle #DB before calling into !noinstr code to avoid recursive #DB.
1270
1269
*/
@@ -1273,6 +1272,8 @@ DEFINE_IDTENTRY_VC_SAFE_STACK(exc_vmm_communication)
1273
1272
return ;
1274
1273
}
1275
1274
1275
+ irq_state = irqentry_nmi_enter (regs );
1276
+ lockdep_assert_irqs_disabled ();
1276
1277
instrumentation_begin ();
1277
1278
1278
1279
/*
@@ -1335,6 +1336,7 @@ DEFINE_IDTENTRY_VC_SAFE_STACK(exc_vmm_communication)
1335
1336
1336
1337
out :
1337
1338
instrumentation_end ();
1339
+ irqentry_nmi_exit (regs , irq_state );
1338
1340
1339
1341
return ;
1340
1342
You can’t perform that action at this time.
0 commit comments