Re: [PATCH 1/3] include/hw/pci: Attach BDF to Memory Attributes

2025-04-24 Thread Jason Chien
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

Re: [PATCH 1/3] include/hw/pci: Attach BDF to Memory Attributes

2025-04-14 Thread Michael S. Tsirkin
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/

Re: [PATCH 1/3] include/hw/pci: Attach BDF to Memory Attributes

2025-04-14 Thread Jason Chien
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: >>

Re: [PATCH 1/3] include/hw/pci: Attach BDF to Memory Attributes

2025-03-19 Thread Jason Chien
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

Re: [PATCH 1/3] include/hw/pci: Attach BDF to Memory Attributes

2025-03-12 Thread Jason Chien
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

Re: [PATCH 1/3] include/hw/pci: Attach BDF to Memory Attributes

2025-03-07 Thread Daniel Henrique Barboza
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 -

[PATCH 1/3] include/hw/pci: Attach BDF to Memory Attributes

2025-03-02 Thread Jason Chien
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