[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 5/8] memory: Allow disabling re-entrancy checking per-MR
From: |
Alexander Bulekov |
Subject: |
Re: [PATCH v8 5/8] memory: Allow disabling re-entrancy checking per-MR |
Date: |
Wed, 26 Apr 2023 11:59:18 -0400 |
On 230425 0941, Thomas Huth wrote:
> On 21/04/2023 16.27, Alexander Bulekov wrote:
> > Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
> > Reviewed-by: Thomas Huth <thuth@redhat.com>
> > Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
> > ---
> > include/exec/memory.h | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/include/exec/memory.h b/include/exec/memory.h
> > index 6c0a5e68d3..4e9531bd8a 100644
> > --- a/include/exec/memory.h
> > +++ b/include/exec/memory.h
> > @@ -793,6 +793,9 @@ struct MemoryRegion {
> > unsigned ioeventfd_nb;
> > MemoryRegionIoeventfd *ioeventfds;
> > RamDiscardManager *rdm; /* Only for RAM */
> > +
> > + /* For devices designed to perform re-entrant IO into their own IO MRs
> > */
> > + bool disable_reentrancy_guard;
> > };
> > struct IOMMUMemoryRegion {
>
> Oh, wait, that check for "!mr->disable_reentrancy_guard" has been squashed
> into the first patch now ... that's bad, I think you should squash this into
> the first patch now, too!
>
Oh.. Thanks for catching that.
- [PATCH v8 0/8] memory: prevent dma-reentracy issues, Alexander Bulekov, 2023/04/21
- [PATCH v8 1/8] memory: prevent dma-reentracy issues, Alexander Bulekov, 2023/04/21
- [PATCH v8 3/8] checkpatch: add qemu_bh_new/aio_bh_new checks, Alexander Bulekov, 2023/04/21
- [PATCH v8 2/8] async: Add an optional reentrancy guard to the BH API, Alexander Bulekov, 2023/04/21
- [PATCH v8 5/8] memory: Allow disabling re-entrancy checking per-MR, Alexander Bulekov, 2023/04/21
- [PATCH v8 4/8] hw: replace most qemu_bh_new calls with qemu_bh_new_guarded, Alexander Bulekov, 2023/04/21
- [PATCH v8 6/8] lsi53c895a: disable reentrancy detection for script RAM, Alexander Bulekov, 2023/04/21
- [PATCH v8 7/8] bcm2835_property: disable reentrancy detection for iomem, Alexander Bulekov, 2023/04/21
- [PATCH v8 8/8] memory: abort on re-entrancy in debug builds, Alexander Bulekov, 2023/04/21
- Re: [PATCH v8 0/8] memory: prevent dma-reentracy issues, Thomas Huth, 2023/04/25