[edk2-devel] [PATCH 2/3] OvmfPkg: Add library to handle TPL from within nested interrupt handlers

Ard Biesheuvel ardb at kernel.org
Fri Dec 23 14:25:52 UTC 2022


On Wed, 21 Dec 2022 at 09:07, Laszlo Ersek <lersek at redhat.com> wrote:
>
> On 12/20/22 16:02, Michael Brown wrote:
> > On 09/12/2022 15:22, Michael Brown wrote:
> >> On 09/12/2022 15:02, Gerd Hoffmann wrote:
> >>>> Add the Nested Interrupt TPL Library (NestedInterruptTplLib) to
> >>>> provide helper functions that can be used by nested interrupt
> >>>> handlers in place of RaiseTPL()/RestoreTPL().
> >>>
> >>> <snip>
> >>
> >>> The idea looks sane to me and I couldn't spot any logic errors in
> >>> this.
> >>
> >> Great! :)
> >
> > Ping.  Is there anything else that needs to be done before this gets
> > merged?  It would be good to have the regression bug fixed.
> >
> > Thanks,
> >
> > Michael
> >
>
> series
> Acked-by: Laszlo Ersek <lersek at redhat.com>
>
> Ard, can you please help merge this?
>

Sure.

For the ARM case, it seems the situation is slightly different, given
that we reprogram the timer for the next interrupt in
TimerInterruptHandler (), so I don't think we can accumulate pending
interrupts in the same way as x86.

So i'm fine with making this fix specific to OVMF/x86.

Queued as #3829


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#97741): https://edk2.groups.io/g/devel/message/97741
Mute This Topic: https://groups.io/mt/95557698/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list