Adding requester_id here does not break anything, since pci_dma_map()
passes MEMTXATTRS_UNSPECIFIED to dma_memory_map() and requester_id is
unused.
I'll add the below for the comment:
Attach BDF here for use during subsequent IOMMU translation.
Michael S. Tsirkin 於 2025年4月14日 週一 下午11:28寫道:
> On
On Sun, Mar 02, 2025 at 05:12:07PM +0800, Jason Chien wrote:
> This commit adds the BDF to the memory attributes for DMA operations.
>
> Signed-off-by: Jason Chien
> ---
> include/hw/pci/pci_device.h | 10 --
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/include/hw/
Ping.
Jason Chien 於 2025年3月20日 週四 上午12:40寫道:
> Ping
>
> Jason Chien 於 2025年3月13日 週四 上午12:59寫道:
>
>> Ping.
>>
>> Michael/Marcel, would you mind taking a look? Thanks!
>>
>>
>> Jason
>>
>> Daniel Henrique Barboza 於 2025年3月7日 週五
>> 下午8:40寫道:
>>
>>>
>>>
>>> On 3/2/25 6:12 AM, Jason Chien wrote:
>>
Ping
Jason Chien 於 2025年3月13日 週四 上午12:59寫道:
> Ping.
>
> Michael/Marcel, would you mind taking a look? Thanks!
>
>
> Jason
>
> Daniel Henrique Barboza 於 2025年3月7日 週五
> 下午8:40寫道:
>
>>
>>
>> On 3/2/25 6:12 AM, Jason Chien wrote:
>> > This commit adds the BDF to the memory attributes for DMA operat
Ping.
Michael/Marcel, would you mind taking a look? Thanks!
Jason
Daniel Henrique Barboza 於 2025年3月7日 週五 下午8:40寫道:
>
>
> On 3/2/25 6:12 AM, Jason Chien wrote:
> > This commit adds the BDF to the memory attributes for DMA operations.
> >
> > Signed-off-by: Jason Chien
> > ---
>
> This looks s
On 3/2/25 6:12 AM, Jason Chien wrote:
This commit adds the BDF to the memory attributes for DMA operations.
Signed-off-by: Jason Chien
---
This looks sensible but I'll feel more comfortable if Michael/Marcel also
takes a look. Thanks,
Daniel
include/hw/pci/pci_device.h | 10 -
This commit adds the BDF to the memory attributes for DMA operations.
Signed-off-by: Jason Chien
---
include/hw/pci/pci_device.h | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/include/hw/pci/pci_device.h b/include/hw/pci/pci_device.h
index add208edfa..968f1ba3e9 1