Re: [PATCH 03/17] drm/exynos: stop setting DMA_ATTR_NON_CONSISTENT

2020-09-14 Thread Sergei Shtylyov
On 9/14/20 5:44 PM, Christoph Hellwig wrote: > DMA_ATTR_NON_CONSISTENT is a no-op except on PARISC and some mips > configs, so don't set it in this ARM specific driver. Hm, PARICS and ARM capitalized but mips in lower case? :-) > Signed-off-by: Christoph Hellwig [...] MBR, Sergei

Re: [PATCH 04/12] dma-mapping: fix DMA_OPS dependencies

2020-09-08 Thread Sergei Shtylyov
Hello! On 9/8/20 7:47 PM, Christoph Hellwig wrote: > Driver that select DMA_OPS need to depend on HAS_DMA support to > work. The vop driver was missing that dependency, so add it, and also > add a nother depends in DMA_OPS itself. That won't fix the issue due Another? :-) > to how the

Re: [PATCH 8/9] dt-bindings: net: renesas,ravb: Add support for r8a774e1 SoC

2020-07-14 Thread Sergei Shtylyov
Hello! On 14.07.2020 0:35, Lad Prabhakar wrote: From: Marian-Cristian Rotariu Document RZ/G2H (R8A774E1) SoC bindings. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar Reviewed-by: Sergei Shtylyov [...] MBR, Sergei

Re: [PATCH 6/8] arm-nommu: call dma_mmap_from_dev_coherent directly

2019-08-09 Thread Sergei Shtylyov
On 08.08.2019 19:00, Christoph Hellwig wrote: Ther is no need to go through dma_common_mmap for the arm-nommu There. :-) dma mmap implementation as the only possible memory not handled above could be that from the per-device coherent pool. Signed-off-by: Christoph Hellwig [...] MBR,

Re: [PATCH 2/2] MIPS: remove support for DMA_ATTR_WRITE_COMBINE

2019-08-05 Thread Sergei Shtylyov
Hello! On 05.08.2019 11:01, Christoph Hellwig wrote: Mips uses the KSEG1 kernel memory segment do map dma coherent MIPS. s/do/to/? allocations for n on-coherent devices as uncachable, and does not have Uncacheable? any kind of special support for DMA_ATTR_WRITE_COMBINE in the

Re: [PATCH v8 2/5] iommu/dma: Add a new dma_map_ops of get_merge_boundary()

2019-07-23 Thread Sergei Shtylyov
Hello! On 23.07.2019 8:26, Yoshihiro Shimoda wrote: This patch adds a new dma_map_ops of get_merge_boundary() to expose the DMA merge boundary if the domain type is IOMMU_DOMAIN_DMA. Signed-off-by: Yoshihiro Shimoda --- drivers/iommu/dma-iommu.c | 11 +++ 1 file changed, 11

Re: [RFC PATCH v5 3/8] iommu: add a new capable IOMMU_CAP_MERGING

2019-06-05 Thread Sergei Shtylyov
On 06/05/2019 02:11 PM, Yoshihiro Shimoda wrote: > This patch adds a new capable IOMMU_CAP_MERGING to check whether > the IOVA would be contiguous strictly if a device requires and > the IOMMU driver has the capable. s/has/is/? Or capable what? > Signed-off-by: Yoshihiro Shimoda > --- >

Re: [PATCH 1/6] driver core: Introduce device_iommu_mapped() function

2018-12-11 Thread Sergei Shtylyov
Hello! On 12/11/2018 04:43 PM, Joerg Roedel wrote: > From: Joerg Roedel > > Some places in the kernel check the iommu_group pointer in > 'struct device' in order to find ot whether a device is > mapped by an IOMMU. > > This is not good way to make this check, as the pointer will > be moved to

Re: [PATCH] iommu/ipmmu-vmsa: Hook up r8a77990 DT matching code

2018-10-15 Thread Sergei Shtylyov
Hello! On 10/15/2018 12:55 PM, Simon Horman wrote: > From: Hai Nguyen Pham > > Support the r8a77990 IPMMU and update IPMMU_OF_DECLARE to hook up That macro is gone, you need to update the description. > the updated compat string. > > Signed-off-by: Hai Nguyen Pham > Signed-off-by:

Re: [PATCH 1/2] swiotlb: Rate-limit printing when running out of SW-IOMMU space

2016-10-31 Thread Sergei Shtylyov
On 10/31/2016 06:45 PM, Geert Uytterhoeven wrote: If the system runs out of SW-IOMMU space, changes are high successive s/changes/chances/? requests will fail, too, flooding the kernel log. This is true especially for streaming DMA, which is typically used repeatedly outside the

Re: [PATCH 2/3] iommu/ipmmu-vmsa: Increase maximum micro-TLBS to 48

2016-06-07 Thread Sergei Shtylyov
Hello. On 6/7/2016 6:39 AM, Magnus Damm wrote: From: Magnus Damm Bump up the maximum numbers of micro-TLBS to 48. Each IPMMU device instance get micro-TLB assignment via the "iommus" property in DT. Older SoCs tend to use a maximum number of 32 micro-TLBd per

Re: [PATCH 13/13] iommu/arm-smmu: Treat unknown OAS as 48-bit

2015-08-03 Thread Sergei Shtylyov
Hello. On 08/03/2015 04:25 PM, Will Deacon wrote: A late change to the SMMUv3 architecture ensures that the OAS field will be monotonically increasing, so we can assume that an unknown OAS is at least 48-bit and use that, rather than fail the device probe. Signed-off-by: Will Deacon

Re: [PATCH 3/5] dt-bindings: mediatek: Add smi dts binding

2015-03-06 Thread Sergei Shtylyov
Hello. On 3/6/2015 1:48 PM, wrote: From: Yong Wu This patch add smi binding document. Signed-off-by: Yong Wu --- .../devicetree/bindings/soc/mediatek/mediatek,smi.txt | 17 + 1 file changed, 17

Re: [PATCH v1 15/21] Powerpc/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-05 Thread Sergei Shtylyov
Hello. On 9/5/2014 2:10 PM, Yijing Wang wrote: Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/powerpc/kernel/msi.c | 14 -- 1

Re: [PATCH 2/5] iommu/ipmmu-vmsa: Add device tree bindings documentation

2014-03-29 Thread Sergei Shtylyov
Hello. On 03/29/2014 02:36 AM, Laurent Pinchart wrote: Cc: Cc: Will Deacon Signed-off-by: Laurent Pinchart --- .../bindings/iommu/renesas,ipmmu-vmsa.txt | 35 ++ 1 file

Re: [PATCH 3/5] documentation/iommu: update description of ARM System MMU binding

2014-02-21 Thread Sergei Shtylyov
Hello. On 02/21/2014 08:16 PM, Will Deacon wrote: From: Andreas Herrmann This patch adds descriptions for new properties of the device tree binding for the ARM SMMU architecture. These properties control arm-smmu driver options. Cc: Grant Likely

Re: [PATCH 1/2] iommu/exynos: fix runtime pm support

2012-04-11 Thread Sergei Shtylyov
Hello. Marek Szyprowski wrote: Fix registration to runtime pw and add missing resume callback. Signed-off-by: Marek Szyprowski Acked-by: Kyungmin Park --- drivers/iommu/exynos-iommu.c | 20 ++-- 1 files changed, 18