lkml.org 
[lkml]   [2022]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 4/7] kvm/mips: rework guest entry logic
From
On 1/19/22 11:58, Mark Rutland wrote:
> + * TODO: is there a barrier which ensures that pending interrupts are
> + * recognised? Currently this just hopes that the CPU takes any pending
> + * interrupts between the enable and disable.
> + */
> + local_irq_enable();
> + local_irq_disable();
>

It's okay, there is irq_enable_hazard() but it's automatically included
in arch_local_irq_enable().

Paolo

\
 
 \ /
  Last update: 2022-01-20 12:11    [W:0.193 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site