Hi Rob,
On Wed, Jan 31, 2018 at 2:05 AM, Rob Herring wrote:
> On Wed, Jan 24, 2018 at 06:35:11PM +0800, Jeffy Chen wrote:
>> From: Tomasz Figa
>>
>> Current code relies on master driver enabling necessary clocks before
>> IOMMU is accessed, however there are
Hi Linus,
below is the update for the dma-mapping subsystem for Linux 4.16.
Except for a runtime warning fix from Christian this is all about
consolidating the direct mapping and swiotlb dma maps based on the
x86 code, which will hopefully be switched to this generic code
as well in the next
Implement the newly added IOTLB flushing interface for AMD IOMMU.
Cc: Joerg Roedel
Signed-off-by: Suravee Suthikulpanit
---
Changes from v2 (https://lkml.org/lkml/2017/12/27/44)
* Call domain_flush_complete() after domain_flush_tlb_pde().
Change iommu_unmap[_fast] interfaces return type to ssize_t since
it can also return error code.
Cc: Joerg Roedel
Cc: Alex Williamson
Suravee Suthikulpanit (2):
iommu: Fix iommu_unmap and iommu_unmap_fast return type
vfio/type1: Add iommu_unmap
Currently, iommu_unmap and iommu_unmap_fast return unmapped
pages with size_t. However, the actual value returned could
be error codes (< 0), which can be misinterpreted as large
number of unmapped pages. Therefore, change the return type to ssize_t.
Cc: Joerg Roedel
Cc: Alex
Besides zero check the number of unmapped page, also check
and handle iommu_unmap errors.
Cc: Alex Williamson
Cc: Joerg Roedel
Signed-off-by: Suravee Suthikulpanit
---
drivers/vfio/vfio_iommu_type1.c | 5 +++--
1 file
Remove printk and use a more preferable error logging function.
Signed-off-by: Gary R Hook
---
drivers/iommu/amd_iommu.c | 56 +++--
1 file changed, 29 insertions(+), 27 deletions(-)
diff --git a/drivers/iommu/amd_iommu.c
On Wed, Jan 24, 2018 at 06:35:11PM +0800, Jeffy Chen wrote:
> From: Tomasz Figa
>
> Current code relies on master driver enabling necessary clocks before
> IOMMU is accessed, however there are cases when the IOMMU should be
> accessed while the master is not running yet, for
On Wed, Jan 24, 2018 at 03:42:02PM +, Biju Das wrote:
> Add the six IPMMU instances found in the r8a7745 to DT with a disabled
> status.
>
> Signed-off-by: Biju Das
> Reviewed-by: Chris Paterson
Thanks, I have applied this after moving
On Wed, Jan 24, 2018 at 03:42:01PM +, Biju Das wrote:
> Add the six IPMMU instances found in the r8a7743 to DT with a disabled
> status.
>
> Signed-off-by: Biju Das
> Reviewed-by: Chris Paterson
> ---
> arch/arm/boot/dts/r8a7743.dtsi |
On Wed, Jan 24, 2018 at 03:42:00PM +, Biju Das wrote:
> Document r8a774[35] specific compatible strings. The Renesas RZ/G1[ME]
> (r8a774[35]) IPMMU are identical to the R-Car Gen2 family.
>
> Signed-off-by: Biju Das
> Reviewed-by: Chris Paterson
11 matches
Mail list logo