On 211217 1625, Philippe Mathieu-Daudé wrote:
> On 12/17/21 15:30, Alexander Bulekov wrote:
> > On 211217 1458, Philippe Mathieu-Daudé wrote:
> >> On 12/17/21 04:08, Alexander Bulekov wrote:
> >>> Here's my shot at fixing dma-reentracy issues. This patch adds a flag to
> >>> the DeviceState, which
On 12/17/21 15:30, Alexander Bulekov wrote:
> On 211217 1458, Philippe Mathieu-Daudé wrote:
>> On 12/17/21 04:08, Alexander Bulekov wrote:
>>> Here's my shot at fixing dma-reentracy issues. This patch adds a flag to
>>> the DeviceState, which is set/checked when we call an accessor
>>> associated w
On 211217 1458, Philippe Mathieu-Daudé wrote:
> On 12/17/21 04:08, Alexander Bulekov wrote:
> > Here's my shot at fixing dma-reentracy issues. This patch adds a flag to
> > the DeviceState, which is set/checked when we call an accessor
> > associated with the device's IO MRs.
>
> Your approach is
gt; ; David Hildenbrand ; Gerd Hoffmann
> ; Peter Maydell ; Li Qiang
> ; Thomas Huth ; Laurent Vivier
> ; Bandan Das ; Edgar E . Iglesias
> ; Darren Kenny ; Bin Meng
> ; Paolo Bonzini ; Stefan
> Hajnoczi ; Daniel P. Berrangé ;
> Eduardo Habkost
> Subject: [RFC PATCH]
On 12/17/21 04:08, Alexander Bulekov wrote:
> Here's my shot at fixing dma-reentracy issues. This patch adds a flag to
> the DeviceState, which is set/checked when we call an accessor
> associated with the device's IO MRs.
Your approach is exactly what Gerd suggested:
https://www.mail-archive.com/
On Fri, Dec 17, 2021 at 7:28 AM Qiuhao Li wrote:
>
> Thanks Alex. It seems this patch sets and checks if the destination device is
> busy. But how about the data transfers not triggered directly by PMIO/MMIO
> handlers? For example:
>
> 1. Device A Timer's callback -> Device A MMIO handler
> 2.
Eduardo Habkost; Darren Kenny; Bandan
Das; Gerd Hoffmann; Stefan Hajnoczi; Paolo Bonzini; Edgar E . Iglesias;
Philippe Mathieu-Daudé
Subject: Re: [RFC PATCH] memory: Fix dma-reentrancy issues at the MMIO level
On Dec 17 06:27, Qiuhao Li wrote:
> Thanks Alex. It seems this patch sets and checks
On Dec 17 06:27, Qiuhao Li wrote:
> Thanks Alex. It seems this patch sets and checks if the destination device is
> busy. But how about the data transfers not triggered directly by PMIO/MMIO
> handlers? For example:
>
> 1. Device A Timer's callback -> Device A MMIO handler
> 2. Device A BH's cal
ascella ; Qiuhao Li
; Peter Xu ; Jason Wang
; David Hildenbrand ; Gerd Hoffmann
; Peter Maydell ; Li Qiang
; Thomas Huth ; Laurent Vivier
; Bandan Das ; Edgar E . Iglesias
; Darren Kenny ; Bin Meng
; Paolo Bonzini ; Stefan Hajnoczi
; Daniel P. Berrangé ; Eduardo
Habkost
Subject: [RFC PATC
Here's my shot at fixing dma-reentracy issues. This patch adds a flag to
the DeviceState, which is set/checked when we call an accessor
associated with the device's IO MRs.
The problem, in short, as I understand it: For the vast majority of
cases, we want to prevent a device from accessing it's ow
10 matches
Mail list logo