Re: [PATCH v6 0/4] memory: prevent dma-reentracy issues

2023-03-01 Thread Michael S. Tsirkin
On Sat, Feb 04, 2023 at 11:07:33PM -0500, Alexander Bulekov wrote: > These patches aim to solve two types of DMA-reentrancy issues: > > 1.) mmio -> dma -> mmio case > To solve this, we track whether the device is engaged in io by > checking/setting a reentrancy-guard within APIs used for MMIO

Re: [PATCH v6 0/4] memory: prevent dma-reentracy issues

2023-02-28 Thread Peter Xu
On Tue, Feb 28, 2023 at 11:07:14AM -0500, Alexander Bulekov wrote: > On 230216 1214, Thomas Huth wrote: > > On 13/02/2023 03.11, Alexander Bulekov wrote: > > > ping > > > > I think it would be really good to finally get these dma-reentrancy issues > > fixed! Who's supposed to pick up these

Re: [PATCH v6 0/4] memory: prevent dma-reentracy issues

2023-02-28 Thread Alexander Bulekov
On 230216 1214, Thomas Huth wrote: > On 13/02/2023 03.11, Alexander Bulekov wrote: > > ping > > I think it would be really good to finally get these dma-reentrancy issues > fixed! Who's supposed to pick up these patches? Paolo? David? Peter? Ping > > Thomas

Re: [PATCH v6 0/4] memory: prevent dma-reentracy issues

2023-02-22 Thread Stefan Hajnoczi
On Sat, Feb 04, 2023 at 11:07:33PM -0500, Alexander Bulekov wrote: > These patches aim to solve two types of DMA-reentrancy issues: > > 1.) mmio -> dma -> mmio case > To solve this, we track whether the device is engaged in io by > checking/setting a reentrancy-guard within APIs used for MMIO

Re: [PATCH v6 0/4] memory: prevent dma-reentracy issues

2023-02-16 Thread Thomas Huth
On 13/02/2023 03.11, Alexander Bulekov wrote: ping I think it would be really good to finally get these dma-reentrancy issues fixed! Who's supposed to pick up these patches? Paolo? David? Peter? Thomas On 230204 2307, Alexander Bulekov wrote: These patches aim to solve two types of

Re: [PATCH v6 0/4] memory: prevent dma-reentracy issues

2023-02-13 Thread Michael S. Tsirkin
On Sun, Feb 12, 2023 at 09:11:41PM -0500, Alexander Bulekov wrote: > ping > > On 230204 2307, Alexander Bulekov wrote: > > These patches aim to solve two types of DMA-reentrancy issues: > > > > 1.) mmio -> dma -> mmio case > > To solve this, we track whether the device is engaged in io by > >

Re: [PATCH v6 0/4] memory: prevent dma-reentracy issues

2023-02-13 Thread Darren Kenny
Hi Alex, Everything looks good to me, I don't have anything else to add: Reviewed-by: Darren Kenny Thanks, Darren. On Saturday, 2023-02-04 at 23:07:33 -05, Alexander Bulekov wrote: > These patches aim to solve two types of DMA-reentrancy issues: > > 1.) mmio -> dma -> mmio case > To solve

Re: [PATCH v6 0/4] memory: prevent dma-reentracy issues

2023-02-12 Thread Alexander Bulekov
ping On 230204 2307, Alexander Bulekov wrote: > These patches aim to solve two types of DMA-reentrancy issues: > > 1.) mmio -> dma -> mmio case > To solve this, we track whether the device is engaged in io by > checking/setting a reentrancy-guard within APIs used for MMIO access. > > 2.) bh

[PATCH v6 0/4] memory: prevent dma-reentracy issues

2023-02-04 Thread Alexander Bulekov
These patches aim to solve two types of DMA-reentrancy issues: 1.) mmio -> dma -> mmio case To solve this, we track whether the device is engaged in io by checking/setting a reentrancy-guard within APIs used for MMIO access. 2.) bh -> dma write -> mmio case This case is trickier, since we