Re: [PATCH v8 4/9] of/iommu: Support dma-can-stall property

2020-12-17 Thread Zhangfei Gao
On 2020/12/14 下午8:51, Jean-Philippe Brucker wrote: On Thu, Nov 26, 2020 at 06:09:26PM +, Robin Murphy wrote: On 2020-11-12 12:55, Jean-Philippe Brucker wrote: Copy the dma-can-stall property into the fwspec structure. Can't we just handle this as a regular device property? It's not part

Re: swiotlb/virtio: unchecked device dma address and length

2020-12-17 Thread Ashish Kalra
On Wed, Dec 16, 2020 at 10:07:31PM +, Radev, Martin wrote: > Hello everybody, > > I will try help clarify some things. > > > On a DMA unmap SWIOTLB (when force is used) it trusts the driver from > > providing > > the correct DMA address and length which SWIOTLB uses to match to its > >

Re: swiotlb/virtio: unchecked device dma address and length

2020-12-17 Thread Ashish Kalra
On Thu, Dec 17, 2020 at 12:19:16PM +0800, Jason Wang wrote: > > On 2020/12/16 下午9:04, Konrad Rzeszutek Wilk wrote: > > On December 16, 2020 1:41:48 AM EST, Jason Wang wrote: > > > > > > - Original Message - > > > > > > > > - Original Message - > > > > > .snip. > > > > > > > >

Re: [PATCH 0/2] Introduce PCI_FIXUP_IOMMU

2020-12-17 Thread Bjorn Helgaas
On Wed, Dec 16, 2020 at 07:24:30PM +0800, Zhou Wang wrote: > On 2020/6/23 23:04, Bjorn Helgaas wrote: > > On Fri, Jun 19, 2020 at 10:26:54AM +0800, Zhangfei Gao wrote: > >> Have studied _DSM method, two issues we met comparing using quirk. > >> > >> 1. Need change definition of either

Re: [RFC PATCH v2 0/8] ACPI/IORT: Support for IORT RMR node

2020-12-17 Thread Jon Nettleton
On Thu, Dec 17, 2020 at 4:42 PM Shameerali Kolothum Thodi wrote: > > > > > -Original Message- > > From: Jon Nettleton [mailto:j...@solid-run.com] > > Sent: 17 December 2020 14:48 > > To: Shameerali Kolothum Thodi > > Cc: Steven Price ; Robin Murphy > > ;

RE: [RFC PATCH v2 0/8] ACPI/IORT: Support for IORT RMR node

2020-12-17 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Jon Nettleton [mailto:j...@solid-run.com] > Sent: 17 December 2020 14:48 > To: Shameerali Kolothum Thodi > Cc: Steven Price ; Robin Murphy > ; linux-arm-ker...@lists.infradead.org; > linux-a...@vger.kernel.org; iommu@lists.linux-foundation.org; >

Re: [PATCH v2 1/4] dt-bindings: reserved-memory: Document "active" property

2020-12-17 Thread Thierry Reding
On Tue, Nov 10, 2020 at 08:33:09PM +0100, Thierry Reding wrote: > On Fri, Nov 06, 2020 at 04:25:48PM +0100, Thierry Reding wrote: > > On Thu, Nov 05, 2020 at 05:47:21PM +, Robin Murphy wrote: > > > On 2020-11-05 16:43, Thierry Reding wrote: > > > > On Thu, Sep 24, 2020 at 01:27:25PM +0200,

Re: [RFC PATCH v2 0/8] ACPI/IORT: Support for IORT RMR node

2020-12-17 Thread Jon Nettleton
On Mon, Dec 14, 2020 at 3:48 PM Shameerali Kolothum Thodi wrote: > > > > > -Original Message- > > From: Steven Price [mailto:steven.pr...@arm.com] > > Sent: 14 December 2020 13:43 > > To: Robin Murphy ; Shameerali Kolothum Thodi > > ; > > linux-arm-ker...@lists.infradead.org;

Re: [PATCH v11 04/13] vfio/pci: Add VFIO_REGION_TYPE_NESTED region type

2020-12-17 Thread Kunkun Jiang
Hi Eric, On 2020/11/16 19:00, Eric Auger wrote: Add a new specific DMA_FAULT region aiming to exposed nested mode translation faults. This region only is exposed if the device is attached to a nested domain. The region has a ring buffer that contains the actual fault records plus a header