Re: [PATCH v2] dma-mapping: benchmark: Extract a common header file for map_benchmark definition

2022-03-09 Thread Christoph Hellwig
Thanks, applied to the dma-mapping tree for Linux 5.18. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

Re: [PATCH v2 1/2] Documentation: x86: Add documenation for AMD IOMMU

2022-03-09 Thread Vasant Hegde via iommu
On 3/9/2022 11:28 PM, Alex Deucher via iommu wrote: > Add preliminary documenation for AMD IOMMU. s/documenation /documentation/ > > Signed-off-by: Alex Deucher > --- > > V2: incorporate feedback from Robin to clarify IOMMU vs DMA engine (e.g., > a device) and document proper DMA API.

Re: [PATCH 2/2] Documentation: x86: Clarify Intel IOMMU documenation

2022-03-09 Thread Dave Hansen
> -ACPI enumerates and lists the different DMA engines in the platform, and > -device scope relationships between PCI devices and which DMA engine controls > +ACPI enumerates and lists the different IOMMUs in the platform, and > +device scope relationships between PCI devices and which IOMMU

[PATCH 2/2] Documentation: x86: Clarify Intel IOMMU documenation

2022-03-09 Thread Alex Deucher via iommu
Based on feedback from Robin on the initial AMD IOMMU documentation, fix up the Intel documentation to clarify IOMMU vs device and modern DMA API. Signed-off-by: Alex Deucher --- Documentation/x86/intel-iommu.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v2 1/2] Documentation: x86: Add documenation for AMD IOMMU

2022-03-09 Thread Alex Deucher via iommu
Add preliminary documenation for AMD IOMMU. Signed-off-by: Alex Deucher --- V2: incorporate feedback from Robin to clarify IOMMU vs DMA engine (e.g., a device) and document proper DMA API. Also correct the fact that the AMD IOMMU is not limited to managing PCI devices.

RE: [PATCH] Documentation: x86: add documenation for AMD IOMMU

2022-03-09 Thread Deucher, Alexander via iommu
[Public] > -Original Message- > From: Robin Murphy > Sent: Tuesday, March 8, 2022 3:09 PM > To: Deucher, Alexander ; linux- > d...@vger.kernel.org; linux-ker...@vger.kernel.org; cor...@lwn.net; > h...@zytor.com; x...@kernel.org; dave.han...@linux.intel.com; > b...@alien8.de;

Re: [PATCH 11/12] swiotlb: merge swiotlb-xen initialization into swiotlb

2022-03-09 Thread Boris Ostrovsky
On 3/9/22 1:18 AM, Christoph Hellwig wrote: On Tue, Mar 08, 2022 at 04:38:21PM -0500, Boris Ostrovsky wrote: On 3/1/22 5:53 AM, Christoph Hellwig wrote: Allow to pass a remap argument to the swiotlb initialization functions to handle the Xen/x86 remap case. ARM/ARM64 never did any remapping

[bug report] iommu/amd: Improve amd_iommu_v2_exit()

2022-03-09 Thread Dan Carpenter
Hello Suravee Suthikulpanit, The patch d46c04558fdd: "iommu/amd: Improve amd_iommu_v2_exit()" from Mar 1, 2022, leads to the following Smatch static checker warning: drivers/iommu/amd/iommu_v2.c:133 free_device_state() warn: sleeping in atomic context

Re: [PATCH v2 1/4] dt-bindings: arm-smmu: Document nvidia,memory-controller property

2022-03-09 Thread Will Deacon
On Tue, Mar 08, 2022 at 04:59:05PM +0100, Thierry Reding wrote: > On Wed, Feb 16, 2022 at 02:25:20PM +0100, Thierry Reding wrote: > > On Thu, Dec 09, 2021 at 05:35:57PM +0100, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > On NVIDIA SoC's the ARM SMMU needs to interact with the

Re: [bug report] iommu/amd: Improve error handling for amd_iommu_init_pci

2022-03-09 Thread Vasant Hegde via iommu
On 3/9/2022 12:41 PM, Dan Carpenter wrote: > Hello Suravee Suthikulpanit, Dan, Thanks for the bug report. .../... > > 1979 pr_err("IOMMU: Failed to initialize IOMMU-API > interface (error=%d)!\n", > 1980ret); > 1981 goto